#ddcd0c ≈ Citrine
#ddcd0c is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 86.67% red, 80.39% green and 4.71% blue; printed in CMYK it uses 0% cyan, 7.24% magenta, 94.57% yellow and 13.33% black. Its hue angle is 55.41°, with 89.7% saturation and 45.69% 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 call-to-action buttons. Black text on this color reaches a contrast ratio of 12.81:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 1.33.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cccc00 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.5906 |
Shades
#ddcd0c mixed progressively with black.
Tints
#ddcd0c mixed progressively with white.
Tones
#ddcd0c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ddcd0c {
color: #ddcd0c;
}
.bg-ddcd0c {
background-color: #ddcd0c;
color: #000000;
}
.border-ddcd0c {
border: 2px solid #ddcd0c;
}
:root {
--color-primary: #ddcd0c;
--color-primary-rgb: 221 205 12;
--color-primary-hsl: 55 90% 46%;
}
.gradient-ddcd0c {
background: linear-gradient(135deg, #ddcd0c, #84dd0c);
}
.shadow-ddcd0c {
box-shadow: 0 8px 24px rgb(221 205 12 / 0.35);
}
Citrine
#ddcd0c rgb(221, 205, 12) hsl(55, 90%, 46%) Citrine
#0c1cdd rgb(12, 28, 221) hsl(235, 90%, 46%) Blue
#0cddcd rgb(12, 221, 205) hsl(175, 90%, 46%) Turquoise
#cd0cdd rgb(205, 12, 221) hsl(295, 90%, 46%) Electric Purple