#c7be21 ≈ Old Gold
#c7be21 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 78.04% red, 74.51% green and 12.94% blue; printed in CMYK it uses 0% cyan, 4.52% magenta, 83.42% yellow and 21.96% black. Its hue angle is 56.75°, with 71.55% saturation and 45.49% 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.82:1 (WCAG AAA). The closest named color is Old Gold (#cfb53b), ΔE 5.45.
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.4908 |
Shades
#c7be21 mixed progressively with black.
Tints
#c7be21 mixed progressively with white.
Tones
#c7be21 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-c7be21 {
color: #c7be21;
}
.bg-c7be21 {
background-color: #c7be21;
color: #000000;
}
.border-c7be21 {
border: 2px solid #c7be21;
}
:root {
--color-primary: #c7be21;
--color-primary-rgb: 199 190 33;
--color-primary-hsl: 57 72% 45%;
}
.gradient-c7be21 {
background: linear-gradient(135deg, #c7be21, #7dc721);
}
.shadow-c7be21 {
box-shadow: 0 8px 24px rgb(199 190 33 / 0.35);
}
Old Gold
#c7be21 rgb(199, 190, 33) hsl(57, 72%, 45%) Old Gold
#212ac7 rgb(33, 42, 199) hsl(237, 72%, 45%) Persian Blue
#21c7be rgb(33, 199, 190) hsl(177, 72%, 45%) Robin Egg Blue
#be21c7 rgb(190, 33, 199) hsl(297, 72%, 45%) Dark Orchid