#cec738 ≈ Citrine
#cec738 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 21.96% blue; printed in CMYK it uses 0% cyan, 3.4% magenta, 72.82% yellow and 19.22% black. Its hue angle is 57.2°, with 60.48% saturation and 51.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 brand accents. Black text on this color reaches a contrast ratio of 11.85:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 5.28.
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.5425 |
Shades
#cec738 mixed progressively with black.
Tints
#cec738 mixed progressively with white.
Tones
#cec738 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cec738 {
color: #cec738;
}
.bg-cec738 {
background-color: #cec738;
color: #000000;
}
.border-cec738 {
border: 2px solid #cec738;
}
:root {
--color-primary: #cec738;
--color-primary-rgb: 206 199 56;
--color-primary-hsl: 57 60% 51%;
}
.gradient-cec738 {
background: linear-gradient(135deg, #cec738, #8ace38);
}
.shadow-cec738 {
box-shadow: 0 8px 24px rgb(206 199 56 / 0.35);
}
Citrine
#cec738 rgb(206, 199, 56) hsl(57, 60%, 51%) Citrine
#383fce rgb(56, 63, 206) hsl(237, 60%, 51%) Persian Blue
#38cec7 rgb(56, 206, 199) hsl(177, 60%, 51%) Medium Turquoise
#c738ce rgb(199, 56, 206) hsl(297, 60%, 51%) Medium Orchid