#dfd042 ≈ Citrine
#dfd042 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.57% green and 25.88% blue; printed in CMYK it uses 0% cyan, 6.73% magenta, 70.4% yellow and 12.55% black. Its hue angle is 54.27°, with 71.04% saturation and 56.67% 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.24:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 3.31.
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.6119 |
Shades
#dfd042 mixed progressively with black.
Tints
#dfd042 mixed progressively with white.
Tones
#dfd042 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dfd042 {
color: #dfd042;
}
.bg-dfd042 {
background-color: #dfd042;
color: #000000;
}
.border-dfd042 {
border: 2px solid #dfd042;
}
:root {
--color-primary: #dfd042;
--color-primary-rgb: 223 208 66;
--color-primary-hsl: 54 71% 57%;
}
.gradient-dfd042 {
background: linear-gradient(135deg, #dfd042, #a0df42);
}
.shadow-dfd042 {
box-shadow: 0 8px 24px rgb(223 208 66 / 0.35);
}
Citrine
#dfd042 rgb(223, 208, 66) hsl(54, 71%, 57%) Citrine
#4251df rgb(66, 81, 223) hsl(234, 71%, 57%) Iris
#42dfd0 rgb(66, 223, 208) hsl(174, 71%, 57%) Turquoise
#d042df rgb(208, 66, 223) hsl(294, 71%, 57%) Medium Orchid