#cab940 ≈ Old Gold
#cab940 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 79.22% red, 72.55% green and 25.1% blue; printed in CMYK it uses 0% cyan, 8.42% magenta, 68.32% yellow and 20.78% black. Its hue angle is 52.61°, with 56.56% saturation and 52.16% 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.52:1 (WCAG AAA). The closest named color is Old Gold (#cfb53b), ΔE 2.59.
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.4762 |
Shades
#cab940 mixed progressively with black.
Tints
#cab940 mixed progressively with white.
Tones
#cab940 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cab940 {
color: #cab940;
}
.bg-cab940 {
background-color: #cab940;
color: #000000;
}
.border-cab940 {
border: 2px solid #cab940;
}
:root {
--color-primary: #cab940;
--color-primary-rgb: 202 185 64;
--color-primary-hsl: 53 57% 52%;
}
.gradient-cab940 {
background: linear-gradient(135deg, #cab940, #96ca40);
}
.shadow-cab940 {
box-shadow: 0 8px 24px rgb(202 185 64 / 0.35);
}
Old Gold
#cab940 rgb(202, 185, 64) hsl(53, 57%, 52%) Old Gold
#4051ca rgb(64, 81, 202) hsl(233, 57%, 52%) Iris
#40cab9 rgb(64, 202, 185) hsl(173, 57%, 52%) Medium Turquoise
#b940ca rgb(185, 64, 202) hsl(293, 57%, 52%) Medium Orchid