#cec302 ≈ Citrine
#cec302 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 80.78% red, 76.47% green and 0.78% blue; printed in CMYK it uses 0% cyan, 5.34% magenta, 99.03% yellow and 19.22% black. Its hue angle is 56.76°, with 98.08% saturation and 40.78% 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.43:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 4.23.
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.5216 |
Shades
#cec302 mixed progressively with black.
Tints
#cec302 mixed progressively with white.
Tones
#cec302 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cec302 {
color: #cec302;
}
.bg-cec302 {
background-color: #cec302;
color: #000000;
}
.border-cec302 {
border: 2px solid #cec302;
}
:root {
--color-primary: #cec302;
--color-primary-rgb: 206 195 2;
--color-primary-hsl: 57 98% 41%;
}
.gradient-cec302 {
background: linear-gradient(135deg, #cec302, #73ce02);
}
.shadow-cec302 {
box-shadow: 0 8px 24px rgb(206 195 2 / 0.35);
}
Citrine
#cec302 rgb(206, 195, 2) hsl(57, 98%, 41%) Citrine
#020dce rgb(2, 13, 206) hsl(237, 98%, 41%) Medium Blue
#02cec3 rgb(2, 206, 195) hsl(177, 98%, 41%) Medium Turquoise
#c302ce rgb(195, 2, 206) hsl(297, 98%, 41%) Electric Purple