#beb40c ≈ Old Gold
#beb40c is a color from the yellow family, with low lightness and strong saturation. In the RGB model it is made of 74.51% red, 70.59% green and 4.71% blue; printed in CMYK it uses 0% cyan, 5.26% magenta, 93.68% yellow and 25.49% black. Its hue angle is 56.63°, with 88.12% saturation and 39.61% 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 call-to-action buttons. Black text on this color reaches a contrast ratio of 9.72:1 (WCAG AAA). The closest named color is Old Gold (#cfb53b), ΔE 5.22.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cccc00 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.4362 |
Shades
#beb40c mixed progressively with black.
Tints
#beb40c mixed progressively with white.
Tones
#beb40c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-beb40c {
color: #beb40c;
}
.bg-beb40c {
background-color: #beb40c;
color: #000000;
}
.border-beb40c {
border: 2px solid #beb40c;
}
:root {
--color-primary: #beb40c;
--color-primary-rgb: 190 180 12;
--color-primary-hsl: 57 88% 40%;
}
.gradient-beb40c {
background: linear-gradient(135deg, #beb40c, #6fbe0c);
}
.shadow-beb40c {
box-shadow: 0 8px 24px rgb(190 180 12 / 0.35);
}
Old Gold
#beb40c rgb(190, 180, 12) hsl(57, 88%, 40%) Old Gold
#0c16be rgb(12, 22, 190) hsl(237, 88%, 40%) Medium Blue
#0cbeb4 rgb(12, 190, 180) hsl(177, 88%, 40%) Tiffany Blue
#b40cbe rgb(180, 12, 190) hsl(297, 88%, 40%) Dark Orchid