#cec42e ≈ Citrine
#cec42e is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 80.78% red, 76.86% green and 18.04% blue; printed in CMYK it uses 0% cyan, 4.85% magenta, 77.67% yellow and 19.22% black. Its hue angle is 56.25°, with 63.49% saturation and 49.41% 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.56:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 4.87.
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.528 |
Shades
#cec42e mixed progressively with black.
Tints
#cec42e mixed progressively with white.
Tones
#cec42e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cec42e {
color: #cec42e;
}
.bg-cec42e {
background-color: #cec42e;
color: #000000;
}
.border-cec42e {
border: 2px solid #cec42e;
}
:root {
--color-primary: #cec42e;
--color-primary-rgb: 206 196 46;
--color-primary-hsl: 56 63% 49%;
}
.gradient-cec42e {
background: linear-gradient(135deg, #cec42e, #88ce2e);
}
.shadow-cec42e {
box-shadow: 0 8px 24px rgb(206 196 46 / 0.35);
}
Citrine
#cec42e rgb(206, 196, 46) hsl(56, 63%, 49%) Citrine
#2e38ce rgb(46, 56, 206) hsl(236, 63%, 49%) Persian Blue
#2ecec4 rgb(46, 206, 196) hsl(176, 63%, 49%) Medium Turquoise
#c42ece rgb(196, 46, 206) hsl(296, 63%, 49%) Medium Orchid