#d4cd18 ≈ Citrine
#d4cd18 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 83.14% red, 80.39% green and 9.41% blue; printed in CMYK it uses 0% cyan, 3.3% magenta, 88.68% yellow and 16.86% black. Its hue angle is 57.77°, with 79.66% saturation and 46.27% 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.55:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 3.47.
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.5773 |
Shades
#d4cd18 mixed progressively with black.
Tints
#d4cd18 mixed progressively with white.
Tones
#d4cd18 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d4cd18 {
color: #d4cd18;
}
.bg-d4cd18 {
background-color: #d4cd18;
color: #000000;
}
.border-d4cd18 {
border: 2px solid #d4cd18;
}
:root {
--color-primary: #d4cd18;
--color-primary-rgb: 212 205 24;
--color-primary-hsl: 58 80% 46%;
}
.gradient-d4cd18 {
background: linear-gradient(135deg, #d4cd18, #7dd418);
}
.shadow-d4cd18 {
box-shadow: 0 8px 24px rgb(212 205 24 / 0.35);
}
Citrine
#d4cd18 rgb(212, 205, 24) hsl(58, 80%, 46%) Citrine
#181fd4 rgb(24, 31, 212) hsl(238, 80%, 46%) Medium Blue
#18d4cd rgb(24, 212, 205) hsl(178, 80%, 46%) Medium Turquoise
#cd18d4 rgb(205, 24, 212) hsl(298, 80%, 46%) Electric Purple