#CBAB49#CBAB49
#CBAB49 is a light, vivid yellow. Relative luminance 0.423; OKLCH L 75.1% C 0.122 H 91.0°. Best body text is #000000 at 9.46:1 contrast (WCAG AA passes).
Color values
| HEX | #CBAB49 |
|---|---|
| RGB | rgb(203, 171, 73) |
| HSL | hsl(45, 56%, 54%) |
| HSV | hsv(45, 64%, 80%) |
| CMYK | cmyk(0%, 15.8%, 64%, 20.4%) |
| CIE-LAB | lab(71.08, 0.58, 53.35) |
| CIE-LCH | lch(71.08, 53.36, 89.38°) |
| OKLab | oklab(75.1% -0.0022 0.1218) |
| OKLCH | oklch(75.1% 0.122 91) |
| XYZ | xyz(40.3961, 42.3056, 12.3401) |
| Luminance | 0.4230 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 3.33
Sandy Brown
#C4A661
ΔE00 4.83
Mustard
#DBB42C
ΔE00 4.95
Burnt Yellow
#D5AB09
ΔE00 5.38
Tan (survey)
#D1B26F
ΔE00 5.60
Sand Brown
#CBA560
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CBAB49 #4969CB
analogous
#CB6A49 #CBAB49 #AACB49
triadic
#CBAB49 #49CBAB #AB49CB
tetradic
#CBAB49 #49CB6A #4969CB #CB49AA
square
#CBAB49 #49CB6A #4969CB #CB49AA
split-complementary
#CBAB49 #49AACB #6A49CB
monochromatic
#776222 #A78A30 #CBAB49 #D9C179 #E6D7A8
Accessibility & contrast
On white
2.22
#CBAB49 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.46
#CBAB49 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CBAB49
9.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CBAB49 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CBAB49 | 1.00 | 2.22 | 9.46 | 9.46 |
| #FFFFFF | 2.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BDA93E
Deuteranopia (green-blind)
#C4B24D
Tritanopia (blue-blind)
#DB9E96
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #cbab49; /* rgb */ color: rgb(203, 171, 73); /* oklch */ color: oklch(75.1% 0.122 91.0);
Tailwind
colors: {
custom: {
50: '#dec380',
500: '#cbab49',
950: '#000000',
},
}SCSS
$custom: #cbab49; $custom-light: #dec380; $custom-dark: #000000;
JSON
{
"hex": "#cbab49",
"rgb": {
"r": 203,
"g": 171,
"b": 73
},
"hsl": {
"h": 45.231,
"s": 55.556,
"l": 54.118
},
"oklch": {
"l": 0.75099,
"c": 0.12184,
"h": 91
},
"luminance": 0.42303
}Semantic roles & 50–950 ramp
primary
#CBAB49
secondary
#9CAAD4
accent
#6EDF49
background
#FEFBF8
surface
#FCF7EF
border
#D5D0CA
text
#16120A
muted
#84817C