#cdcd08 ≈ Citrine
#cdcd08 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 80.39% red, 80.39% green and 3.14% blue; printed in CMYK it uses 0% cyan, 0% magenta, 96.1% yellow and 19.61% black. Its hue angle is 60°, with 92.49% saturation and 41.76% 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.33:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 4.99.
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.5666 |
Shades
#cdcd08 mixed progressively with black.
Tints
#cdcd08 mixed progressively with white.
Tones
#cdcd08 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cdcd08 {
color: #cdcd08;
}
.bg-cdcd08 {
background-color: #cdcd08;
color: #000000;
}
.border-cdcd08 {
border: 2px solid #cdcd08;
}
:root {
--color-primary: #cdcd08;
--color-primary-rgb: 205 205 8;
--color-primary-hsl: 60 92% 42%;
}
.gradient-cdcd08 {
background: linear-gradient(135deg, #cdcd08, #6acd08);
}
.shadow-cdcd08 {
box-shadow: 0 8px 24px rgb(205 205 8 / 0.35);
}
Citrine
#cdcd08 rgb(205, 205, 8) hsl(60, 92%, 42%) Citrine
#0808cd rgb(8, 8, 205) hsl(240, 92%, 42%) Medium Blue
#08cdcd rgb(8, 205, 205) hsl(180, 92%, 42%) Robin Egg Blue
#cd08cd rgb(205, 8, 205) hsl(300, 92%, 42%) Electric Purple