#cdc012 ≈ Citrine
#cdc012 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 80.39% red, 75.29% green and 7.06% blue; printed in CMYK it uses 0% cyan, 6.34% magenta, 91.22% yellow and 19.61% black. Its hue angle is 55.83°, with 83.86% saturation and 43.73% 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.14:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 4.74.
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.5072 |
Shades
#cdc012 mixed progressively with black.
Tints
#cdc012 mixed progressively with white.
Tones
#cdc012 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cdc012 {
color: #cdc012;
}
.bg-cdc012 {
background-color: #cdc012;
color: #000000;
}
.border-cdc012 {
border: 2px solid #cdc012;
}
:root {
--color-primary: #cdc012;
--color-primary-rgb: 205 192 18;
--color-primary-hsl: 56 84% 44%;
}
.gradient-cdc012 {
background: linear-gradient(135deg, #cdc012, #7dcd12);
}
.shadow-cdc012 {
box-shadow: 0 8px 24px rgb(205 192 18 / 0.35);
}
Citrine
#cdc012 rgb(205, 192, 18) hsl(56, 84%, 44%) Citrine
#121fcd rgb(18, 31, 205) hsl(236, 84%, 44%) Medium Blue
#12cdc0 rgb(18, 205, 192) hsl(176, 84%, 44%) Medium Turquoise
#c012cd rgb(192, 18, 205) hsl(296, 84%, 44%) Dark Orchid