#ceb81f ≈ Old Gold
#ceb81f is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 80.78% red, 72.16% green and 12.16% blue; printed in CMYK it uses 0% cyan, 10.68% magenta, 84.95% yellow and 19.22% black. Its hue angle is 52.46°, 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.5:1 (WCAG AAA). The closest named color is Old Gold (#cfb53b), ΔE 2.76.
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.475 |
Shades
#ceb81f mixed progressively with black.
Tints
#ceb81f mixed progressively with white.
Tones
#ceb81f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ceb81f {
color: #ceb81f;
}
.bg-ceb81f {
background-color: #ceb81f;
color: #000000;
}
.border-ceb81f {
border: 2px solid #ceb81f;
}
:root {
--color-primary: #ceb81f;
--color-primary-rgb: 206 184 31;
--color-primary-hsl: 52 74% 46%;
}
.gradient-ceb81f {
background: linear-gradient(135deg, #ceb81f, #8cce1f);
}
.shadow-ceb81f {
box-shadow: 0 8px 24px rgb(206 184 31 / 0.35);
}
Old Gold
#ceb81f rgb(206, 184, 31) hsl(52, 74%, 46%) Old Gold
#1f35ce rgb(31, 53, 206) hsl(232, 74%, 46%) Persian Blue
#1fceb8 rgb(31, 206, 184) hsl(172, 74%, 46%) Turquoise
#b81fce rgb(184, 31, 206) hsl(292, 74%, 46%) Dark Orchid