#d4c71d ≈ Citrine
#d4c71d is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 83.14% red, 78.04% green and 11.37% blue; printed in CMYK it uses 0% cyan, 6.13% magenta, 86.32% yellow and 16.86% black. Its hue angle is 55.74°, with 75.93% saturation and 47.25% 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 11.99:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 3.26.
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.5493 |
Shades
#d4c71d mixed progressively with black.
Tints
#d4c71d mixed progressively with white.
Tones
#d4c71d mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d4c71d {
color: #d4c71d;
}
.bg-d4c71d {
background-color: #d4c71d;
color: #000000;
}
.border-d4c71d {
border: 2px solid #d4c71d;
}
:root {
--color-primary: #d4c71d;
--color-primary-rgb: 212 199 29;
--color-primary-hsl: 56 76% 47%;
}
.gradient-d4c71d {
background: linear-gradient(135deg, #d4c71d, #85d41d);
}
.shadow-d4c71d {
box-shadow: 0 8px 24px rgb(212 199 29 / 0.35);
}
Citrine
#d4c71d rgb(212, 199, 29) hsl(56, 76%, 47%) Citrine
#1d2ad4 rgb(29, 42, 212) hsl(236, 76%, 47%) Persian Blue
#1dd4c7 rgb(29, 212, 199) hsl(176, 76%, 47%) Turquoise
#c71dd4 rgb(199, 29, 212) hsl(296, 76%, 47%) Electric Purple