#cdca0b ≈ Citrine
#cdca0b is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 80.39% red, 79.22% green and 4.31% blue; printed in CMYK it uses 0% cyan, 1.46% magenta, 94.63% yellow and 19.61% black. Its hue angle is 59.07°, with 89.81% saturation and 42.35% 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 12.05:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 4.64.
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.5524 |
Shades
#cdca0b mixed progressively with black.
Tints
#cdca0b mixed progressively with white.
Tones
#cdca0b mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cdca0b {
color: #cdca0b;
}
.bg-cdca0b {
background-color: #cdca0b;
color: #000000;
}
.border-cdca0b {
border: 2px solid #cdca0b;
}
:root {
--color-primary: #cdca0b;
--color-primary-rgb: 205 202 11;
--color-primary-hsl: 59 90% 42%;
}
.gradient-cdca0b {
background: linear-gradient(135deg, #cdca0b, #6fcd0b);
}
.shadow-cdca0b {
box-shadow: 0 8px 24px rgb(205 202 11 / 0.35);
}
Citrine
#cdca0b rgb(205, 202, 11) hsl(59, 90%, 42%) Citrine
#0b0ecd rgb(11, 14, 205) hsl(239, 90%, 42%) Medium Blue
#0bcdca rgb(11, 205, 202) hsl(179, 90%, 42%) Robin Egg Blue
#ca0bcd rgb(202, 11, 205) hsl(299, 90%, 42%) Electric Purple