#dfd12e ≈ Citrine
#dfd12e is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 87.45% red, 81.96% green and 18.04% blue; printed in CMYK it uses 0% cyan, 6.28% magenta, 79.37% yellow and 12.55% black. Its hue angle is 55.25°, with 73.44% saturation and 52.75% 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 13.3:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 2.12.
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.6149 |
Shades
#dfd12e mixed progressively with black.
Tints
#dfd12e mixed progressively with white.
Tones
#dfd12e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dfd12e {
color: #dfd12e;
}
.bg-dfd12e {
background-color: #dfd12e;
color: #000000;
}
.border-dfd12e {
border: 2px solid #dfd12e;
}
:root {
--color-primary: #dfd12e;
--color-primary-rgb: 223 209 46;
--color-primary-hsl: 55 73% 53%;
}
.gradient-dfd12e {
background: linear-gradient(135deg, #dfd12e, #95df2e);
}
.shadow-dfd12e {
box-shadow: 0 8px 24px rgb(223 209 46 / 0.35);
}
Citrine
#dfd12e rgb(223, 209, 46) hsl(55, 73%, 53%) Citrine
#2e3cdf rgb(46, 60, 223) hsl(235, 73%, 53%) Persian Blue
#2edfd1 rgb(46, 223, 209) hsl(175, 73%, 53%) Turquoise
#d12edf rgb(209, 46, 223) hsl(295, 73%, 53%) Medium Orchid