#dfcd2d ≈ Citrine
#dfcd2d is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 87.45% red, 80.39% green and 17.65% blue; printed in CMYK it uses 0% cyan, 8.07% magenta, 79.82% yellow and 12.55% black. Its hue angle is 53.93°, with 73.55% saturation and 52.55% lightness in HSL. It is a warm color, often associated with optimism, attention and joy. Designers typically use it for highlights and warnings, children's products and brand accents. Black text on this color reaches a contrast ratio of 12.91:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 1.88.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cccc33 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.5954 |
Shades
#dfcd2d mixed progressively with black.
Tints
#dfcd2d mixed progressively with white.
Tones
#dfcd2d mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dfcd2d {
color: #dfcd2d;
}
.bg-dfcd2d {
background-color: #dfcd2d;
color: #000000;
}
.border-dfcd2d {
border: 2px solid #dfcd2d;
}
:root {
--color-primary: #dfcd2d;
--color-primary-rgb: 223 205 45;
--color-primary-hsl: 54 74% 53%;
}
.gradient-dfcd2d {
background: linear-gradient(135deg, #dfcd2d, #98df2d);
}
.shadow-dfcd2d {
box-shadow: 0 8px 24px rgb(223 205 45 / 0.35);
}
Citrine
#dfcd2d rgb(223, 205, 45) hsl(54, 74%, 53%) Citrine
#2d3fdf rgb(45, 63, 223) hsl(234, 74%, 53%) Persian Blue
#2ddfcd rgb(45, 223, 205) hsl(174, 74%, 53%) Turquoise
#cd2ddf rgb(205, 45, 223) hsl(294, 74%, 53%) Medium Orchid