#d9cd31 ≈ Citrine
#d9cd31 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 85.1% red, 80.39% green and 19.22% blue; printed in CMYK it uses 0% cyan, 5.53% magenta, 77.42% yellow and 14.9% black. Its hue angle is 55.71°, with 68.85% saturation and 52.16% 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.73: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.5864 |
Shades
#d9cd31 mixed progressively with black.
Tints
#d9cd31 mixed progressively with white.
Tones
#d9cd31 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d9cd31 {
color: #d9cd31;
}
.bg-d9cd31 {
background-color: #d9cd31;
color: #000000;
}
.border-d9cd31 {
border: 2px solid #d9cd31;
}
:root {
--color-primary: #d9cd31;
--color-primary-rgb: 217 205 49;
--color-primary-hsl: 56 69% 52%;
}
.gradient-d9cd31 {
background: linear-gradient(135deg, #d9cd31, #91d931);
}
.shadow-d9cd31 {
box-shadow: 0 8px 24px rgb(217 205 49 / 0.35);
}
Citrine
#d9cd31 rgb(217, 205, 49) hsl(56, 69%, 52%) Citrine
#313dd9 rgb(49, 61, 217) hsl(236, 69%, 52%) Persian Blue
#31d9cd rgb(49, 217, 205) hsl(176, 69%, 52%) Turquoise
#cd31d9 rgb(205, 49, 217) hsl(296, 69%, 52%) Medium Orchid