#decd2a ≈ Citrine
#decd2a 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 16.47% blue; printed in CMYK it uses 0% cyan, 7.66% magenta, 81.08% yellow and 12.94% black. Its hue angle is 54.33°, with 73.17% saturation and 51.76% 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.87:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 1.84.
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.5936 |
Shades
#decd2a mixed progressively with black.
Tints
#decd2a mixed progressively with white.
Tones
#decd2a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-decd2a {
color: #decd2a;
}
.bg-decd2a {
background-color: #decd2a;
color: #000000;
}
.border-decd2a {
border: 2px solid #decd2a;
}
:root {
--color-primary: #decd2a;
--color-primary-rgb: 222 205 42;
--color-primary-hsl: 54 73% 52%;
}
.gradient-decd2a {
background: linear-gradient(135deg, #decd2a, #95de2a);
}
.shadow-decd2a {
box-shadow: 0 8px 24px rgb(222 205 42 / 0.35);
}
Citrine
#decd2a rgb(222, 205, 42) hsl(54, 73%, 52%) Citrine
#2a3bde rgb(42, 59, 222) hsl(234, 73%, 52%) Persian Blue
#2adecd rgb(42, 222, 205) hsl(174, 73%, 52%) Turquoise
#cd2ade rgb(205, 42, 222) hsl(294, 73%, 52%) Medium Orchid