#cebc1f ≈ Old Gold
#cebc1f is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 80.78% red, 73.73% green and 12.16% blue; printed in CMYK it uses 0% cyan, 8.74% magenta, 84.95% yellow and 19.22% black. Its hue angle is 53.83°, 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 10.84:1 (WCAG AAA). The closest named color is Old Gold (#cfb53b), ΔE 3.78.
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.4919 |
Shades
#cebc1f mixed progressively with black.
Tints
#cebc1f mixed progressively with white.
Tones
#cebc1f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cebc1f {
color: #cebc1f;
}
.bg-cebc1f {
background-color: #cebc1f;
color: #000000;
}
.border-cebc1f {
border: 2px solid #cebc1f;
}
:root {
--color-primary: #cebc1f;
--color-primary-rgb: 206 188 31;
--color-primary-hsl: 54 74% 46%;
}
.gradient-cebc1f {
background: linear-gradient(135deg, #cebc1f, #88ce1f);
}
.shadow-cebc1f {
box-shadow: 0 8px 24px rgb(206 188 31 / 0.35);
}
Old Gold
#cebc1f rgb(206, 188, 31) hsl(54, 74%, 46%) Old Gold
#1f31ce rgb(31, 49, 206) hsl(234, 74%, 46%) Persian Blue
#1fcebc rgb(31, 206, 188) hsl(174, 74%, 46%) Turquoise
#bc1fce rgb(188, 31, 206) hsl(294, 74%, 46%) Dark Orchid