#cdcd07 ≈ Citrine
#cdcd07 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.75% blue; printed in CMYK it uses 0% cyan, 0% magenta, 96.59% yellow and 19.61% black. Its hue angle is 60°, with 93.4% saturation and 41.57% 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.5666 |
Shades
#cdcd07 mixed progressively with black.
Tints
#cdcd07 mixed progressively with white.
Tones
#cdcd07 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cdcd07 {
color: #cdcd07;
}
.bg-cdcd07 {
background-color: #cdcd07;
color: #000000;
}
.border-cdcd07 {
border: 2px solid #cdcd07;
}
:root {
--color-primary: #cdcd07;
--color-primary-rgb: 205 205 7;
--color-primary-hsl: 60 93% 42%;
}
.gradient-cdcd07 {
background: linear-gradient(135deg, #cdcd07, #6acd07);
}
.shadow-cdcd07 {
box-shadow: 0 8px 24px rgb(205 205 7 / 0.35);
}
Citrine
#cdcd07 rgb(205, 205, 7) hsl(60, 93%, 42%) Citrine
#0707cd rgb(7, 7, 205) hsl(240, 93%, 42%) Medium Blue
#07cdcd rgb(7, 205, 205) hsl(180, 93%, 42%) Robin Egg Blue
#cd07cd rgb(205, 7, 205) hsl(300, 93%, 42%) Electric Purple