#d0ca18 ≈ Citrine
#d0ca18 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 81.57% red, 79.22% green and 9.41% blue; printed in CMYK it uses 0% cyan, 2.88% magenta, 88.46% yellow and 18.43% black. Its hue angle is 58.04°, with 79.31% saturation and 45.49% 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.14:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 4.07.
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.5572 |
Shades
#d0ca18 mixed progressively with black.
Tints
#d0ca18 mixed progressively with white.
Tones
#d0ca18 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d0ca18 {
color: #d0ca18;
}
.bg-d0ca18 {
background-color: #d0ca18;
color: #000000;
}
.border-d0ca18 {
border: 2px solid #d0ca18;
}
:root {
--color-primary: #d0ca18;
--color-primary-rgb: 208 202 24;
--color-primary-hsl: 58 79% 45%;
}
.gradient-d0ca18 {
background: linear-gradient(135deg, #d0ca18, #7ad018);
}
.shadow-d0ca18 {
box-shadow: 0 8px 24px rgb(208 202 24 / 0.35);
}
Citrine
#d0ca18 rgb(208, 202, 24) hsl(58, 79%, 45%) Citrine
#181ed0 rgb(24, 30, 208) hsl(238, 79%, 45%) Medium Blue
#18d0ca rgb(24, 208, 202) hsl(178, 79%, 45%) Medium Turquoise
#ca18d0 rgb(202, 24, 208) hsl(298, 79%, 45%) Electric Purple