#c2b502 ≈ Old Gold
#c2b502 is a color from the yellow family, with low lightness and vivid saturation. In the RGB model it is made of 76.08% red, 70.98% green and 0.78% blue; printed in CMYK it uses 0% cyan, 6.7% magenta, 98.97% yellow and 23.92% black. Its hue angle is 55.94°, with 97.96% saturation and 38.43% 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.9:1 (WCAG AAA). The closest named color is Old Gold (#cfb53b), ΔE 4.75.
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.4452 |
Shades
#c2b502 mixed progressively with black.
Tints
#c2b502 mixed progressively with white.
Tones
#c2b502 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-c2b502 {
color: #c2b502;
}
.bg-c2b502 {
background-color: #c2b502;
color: #000000;
}
.border-c2b502 {
border: 2px solid #c2b502;
}
:root {
--color-primary: #c2b502;
--color-primary-rgb: 194 181 2;
--color-primary-hsl: 56 98% 38%;
}
.gradient-c2b502 {
background: linear-gradient(135deg, #c2b502, #6fc202);
}
.shadow-c2b502 {
box-shadow: 0 8px 24px rgb(194 181 2 / 0.35);
}
Old Gold
#c2b502 rgb(194, 181, 2) hsl(56, 98%, 38%) Old Gold
#020fc2 rgb(2, 15, 194) hsl(236, 98%, 38%) Medium Blue
#02c2b5 rgb(2, 194, 181) hsl(176, 98%, 38%) Tiffany Blue
#b502c2 rgb(181, 2, 194) hsl(296, 98%, 38%) Dark Orchid