#d4c00a ≈ Citrine
#d4c00a is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 83.14% red, 75.29% green and 3.92% blue; printed in CMYK it uses 0% cyan, 9.43% magenta, 95.28% yellow and 16.86% black. Its hue angle is 54.06°, with 90.99% saturation and 43.53% 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 11.34:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 4.04.
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.5172 |
Shades
#d4c00a mixed progressively with black.
Tints
#d4c00a mixed progressively with white.
Tones
#d4c00a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d4c00a {
color: #d4c00a;
}
.bg-d4c00a {
background-color: #d4c00a;
color: #000000;
}
.border-d4c00a {
border: 2px solid #d4c00a;
}
:root {
--color-primary: #d4c00a;
--color-primary-rgb: 212 192 10;
--color-primary-hsl: 54 91% 44%;
}
.gradient-d4c00a {
background: linear-gradient(135deg, #d4c00a, #83d40a);
}
.shadow-d4c00a {
box-shadow: 0 8px 24px rgb(212 192 10 / 0.35);
}
Citrine
#d4c00a rgb(212, 192, 10) hsl(54, 91%, 44%) Citrine
#0a1ed4 rgb(10, 30, 212) hsl(234, 91%, 44%) Medium Blue
#0ad4c0 rgb(10, 212, 192) hsl(174, 91%, 44%) Turquoise
#c00ad4 rgb(192, 10, 212) hsl(294, 91%, 44%) Electric Purple