#ddcd2c ≈ Citrine
#ddcd2c is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 86.67% red, 80.39% green and 17.25% blue; printed in CMYK it uses 0% cyan, 7.24% magenta, 80.09% yellow and 13.33% black. Its hue angle is 54.58°, with 72.24% saturation and 51.96% 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.84:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 2.08.
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.5922 |
Shades
#ddcd2c mixed progressively with black.
Tints
#ddcd2c mixed progressively with white.
Tones
#ddcd2c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ddcd2c {
color: #ddcd2c;
}
.bg-ddcd2c {
background-color: #ddcd2c;
color: #000000;
}
.border-ddcd2c {
border: 2px solid #ddcd2c;
}
:root {
--color-primary: #ddcd2c;
--color-primary-rgb: 221 205 44;
--color-primary-hsl: 55 72% 52%;
}
.gradient-ddcd2c {
background: linear-gradient(135deg, #ddcd2c, #94dd2c);
}
.shadow-ddcd2c {
box-shadow: 0 8px 24px rgb(221 205 44 / 0.35);
}
Citrine
#ddcd2c rgb(221, 205, 44) hsl(55, 72%, 52%) Citrine
#2c3cdd rgb(44, 60, 221) hsl(235, 72%, 52%) Persian Blue
#2cddcd rgb(44, 221, 205) hsl(175, 72%, 52%) Turquoise
#cd2cdd rgb(205, 44, 221) hsl(295, 72%, 52%) Medium Orchid