#dfd242 ≈ Citrine
#dfd242 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 87.45% red, 82.35% green and 25.88% blue; printed in CMYK it uses 0% cyan, 5.83% magenta, 70.4% yellow and 12.55% black. Its hue angle is 55.03°, 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.43:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 3.44.
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.6217 |
Shades
#dfd242 mixed progressively with black.
Tints
#dfd242 mixed progressively with white.
Tones
#dfd242 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dfd242 {
color: #dfd242;
}
.bg-dfd242 {
background-color: #dfd242;
color: #000000;
}
.border-dfd242 {
border: 2px solid #dfd242;
}
:root {
--color-primary: #dfd242;
--color-primary-rgb: 223 210 66;
--color-primary-hsl: 55 71% 57%;
}
.gradient-dfd242 {
background: linear-gradient(135deg, #dfd242, #9edf42);
}
.shadow-dfd242 {
box-shadow: 0 8px 24px rgb(223 210 66 / 0.35);
}
Citrine
#dfd242 rgb(223, 210, 66) hsl(55, 71%, 57%) Citrine
#424fdf rgb(66, 79, 223) hsl(235, 71%, 57%) Iris
#42dfd2 rgb(66, 223, 210) hsl(175, 71%, 57%) Turquoise
#d242df rgb(210, 66, 223) hsl(295, 71%, 57%) Medium Orchid