#decd1f ≈ Citrine
#decd1f is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 87.06% red, 80.39% green and 12.16% blue; printed in CMYK it uses 0% cyan, 7.66% magenta, 86.04% yellow and 12.94% black. Its hue angle is 54.66°, with 75.49% saturation and 49.61% 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.86:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 1.42.
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.5929 |
Shades
#decd1f mixed progressively with black.
Tints
#decd1f mixed progressively with white.
Tones
#decd1f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-decd1f {
color: #decd1f;
}
.bg-decd1f {
background-color: #decd1f;
color: #000000;
}
.border-decd1f {
border: 2px solid #decd1f;
}
:root {
--color-primary: #decd1f;
--color-primary-rgb: 222 205 31;
--color-primary-hsl: 55 75% 50%;
}
.gradient-decd1f {
background: linear-gradient(135deg, #decd1f, #90de1f);
}
.shadow-decd1f {
box-shadow: 0 8px 24px rgb(222 205 31 / 0.35);
}
Citrine
#decd1f rgb(222, 205, 31) hsl(55, 75%, 50%) Citrine
#1f30de rgb(31, 48, 222) hsl(235, 75%, 50%) Persian Blue
#1fdecd rgb(31, 222, 205) hsl(175, 75%, 50%) Turquoise
#cd1fde rgb(205, 31, 222) hsl(295, 75%, 50%) Electric Purple