#cdca18 ≈ Citrine
#cdca18 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 80.39% red, 79.22% green and 9.41% blue; printed in CMYK it uses 0% cyan, 1.46% magenta, 88.29% yellow and 19.61% black. Its hue angle is 59.01°, with 79.04% saturation and 44.9% 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.06:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 4.75.
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.5529 |
Shades
#cdca18 mixed progressively with black.
Tints
#cdca18 mixed progressively with white.
Tones
#cdca18 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cdca18 {
color: #cdca18;
}
.bg-cdca18 {
background-color: #cdca18;
color: #000000;
}
.border-cdca18 {
border: 2px solid #cdca18;
}
:root {
--color-primary: #cdca18;
--color-primary-rgb: 205 202 24;
--color-primary-hsl: 59 79% 45%;
}
.gradient-cdca18 {
background: linear-gradient(135deg, #cdca18, #75cd18);
}
.shadow-cdca18 {
box-shadow: 0 8px 24px rgb(205 202 24 / 0.35);
}
Citrine
#cdca18 rgb(205, 202, 24) hsl(59, 79%, 45%) Citrine
#181bcd rgb(24, 27, 205) hsl(239, 79%, 45%) Medium Blue
#18cdca rgb(24, 205, 202) hsl(179, 79%, 45%) Robin Egg Blue
#ca18cd rgb(202, 24, 205) hsl(299, 79%, 45%) Medium Orchid