#cdcd06 ≈ Citrine
#cdcd06 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 2.35% blue; printed in CMYK it uses 0% cyan, 0% magenta, 97.07% yellow and 19.61% black. Its hue angle is 60°, with 94.31% saturation and 41.37% 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.98.
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.5665 |
Shades
#cdcd06 mixed progressively with black.
Tints
#cdcd06 mixed progressively with white.
Tones
#cdcd06 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cdcd06 {
color: #cdcd06;
}
.bg-cdcd06 {
background-color: #cdcd06;
color: #000000;
}
.border-cdcd06 {
border: 2px solid #cdcd06;
}
:root {
--color-primary: #cdcd06;
--color-primary-rgb: 205 205 6;
--color-primary-hsl: 60 94% 41%;
}
.gradient-cdcd06 {
background: linear-gradient(135deg, #cdcd06, #69cd06);
}
.shadow-cdcd06 {
box-shadow: 0 8px 24px rgb(205 205 6 / 0.35);
}
Citrine
#cdcd06 rgb(205, 205, 6) hsl(60, 94%, 41%) Citrine
#0606cd rgb(6, 6, 205) hsl(240, 94%, 41%) Medium Blue
#06cdcd rgb(6, 205, 205) hsl(180, 94%, 41%) Robin Egg Blue
#cd06cd rgb(205, 6, 205) hsl(300, 94%, 41%) Electric Purple