#ddc72f ≈ Citrine
#ddc72f is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 86.67% red, 78.04% green and 18.43% blue; printed in CMYK it uses 0% cyan, 9.95% magenta, 78.73% yellow and 13.33% black. Its hue angle is 52.41°, with 71.9% saturation and 52.55% 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.28:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 3.02.
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.5642 |
Shades
#ddc72f mixed progressively with black.
Tints
#ddc72f mixed progressively with white.
Tones
#ddc72f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ddc72f {
color: #ddc72f;
}
.bg-ddc72f {
background-color: #ddc72f;
color: #000000;
}
.border-ddc72f {
border: 2px solid #ddc72f;
}
:root {
--color-primary: #ddc72f;
--color-primary-rgb: 221 199 47;
--color-primary-hsl: 52 72% 53%;
}
.gradient-ddc72f {
background: linear-gradient(135deg, #ddc72f, #9cdd2f);
}
.shadow-ddc72f {
box-shadow: 0 8px 24px rgb(221 199 47 / 0.35);
}
Citrine
#ddc72f rgb(221, 199, 47) hsl(52, 72%, 53%) Citrine
#2f45dd rgb(47, 69, 221) hsl(232, 72%, 53%) Iris
#2fddc7 rgb(47, 221, 199) hsl(172, 72%, 53%) Turquoise
#c72fdd rgb(199, 47, 221) hsl(292, 72%, 53%) Medium Orchid