#cec12e ≈ Old Gold
#cec12e is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 80.78% red, 75.69% green and 18.04% blue; printed in CMYK it uses 0% cyan, 6.31% magenta, 77.67% yellow and 19.22% black. Its hue angle is 55.13°, 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.29:1 (WCAG AAA). The closest named color is Old Gold (#cfb53b), ΔE 4.82.
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.5146 |
Shades
#cec12e mixed progressively with black.
Tints
#cec12e mixed progressively with white.
Tones
#cec12e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cec12e {
color: #cec12e;
}
.bg-cec12e {
background-color: #cec12e;
color: #000000;
}
.border-cec12e {
border: 2px solid #cec12e;
}
:root {
--color-primary: #cec12e;
--color-primary-rgb: 206 193 46;
--color-primary-hsl: 55 63% 49%;
}
.gradient-cec12e {
background: linear-gradient(135deg, #cec12e, #8bce2e);
}
.shadow-cec12e {
box-shadow: 0 8px 24px rgb(206 193 46 / 0.35);
}
Old Gold
#cec12e rgb(206, 193, 46) hsl(55, 63%, 49%) Old Gold
#2e3bce rgb(46, 59, 206) hsl(235, 63%, 49%) Persian Blue
#2ecec1 rgb(46, 206, 193) hsl(175, 63%, 49%) Medium Turquoise
#c12ece rgb(193, 46, 206) hsl(295, 63%, 49%) Medium Orchid