#cec71f ≈ Citrine
#cec71f is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 80.78% red, 78.04% green and 12.16% blue; printed in CMYK it uses 0% cyan, 3.4% magenta, 84.95% yellow and 19.22% black. Its hue angle is 57.6°, with 73.84% saturation and 46.47% 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 brand accents. Black text on this color reaches a contrast ratio of 11.81:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 4.45.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cccc33 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.5407 |
Shades
#cec71f mixed progressively with black.
Tints
#cec71f mixed progressively with white.
Tones
#cec71f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cec71f {
color: #cec71f;
}
.bg-cec71f {
background-color: #cec71f;
color: #000000;
}
.border-cec71f {
border: 2px solid #cec71f;
}
:root {
--color-primary: #cec71f;
--color-primary-rgb: 206 199 31;
--color-primary-hsl: 58 74% 46%;
}
.gradient-cec71f {
background: linear-gradient(135deg, #cec71f, #7dce1f);
}
.shadow-cec71f {
box-shadow: 0 8px 24px rgb(206 199 31 / 0.35);
}
Citrine
#cec71f rgb(206, 199, 31) hsl(58, 74%, 46%) Citrine
#1f26ce rgb(31, 38, 206) hsl(238, 74%, 46%) Medium Blue
#1fcec7 rgb(31, 206, 199) hsl(178, 74%, 46%) Medium Turquoise
#c71fce rgb(199, 31, 206) hsl(298, 74%, 46%) Medium Orchid