#CBAB3A#CBAB3A
#CBAB3A is a light, vivid yellow. Relative luminance 0.421; OKLCH L 75.0% C 0.133 H 92.8°. Best body text is #000000 at 9.43:1 contrast (WCAG AA passes).
Color values
| HEX | #CBAB3A |
|---|---|
| RGB | rgb(203, 171, 58) |
| HSL | hsl(47, 58%, 51%) |
| HSV | hsv(47, 71%, 80%) |
| CMYK | cmyk(0%, 15.8%, 71.4%, 20.4%) |
| CIE-LAB | lab(70.96, -0.27, 59.61) |
| CIE-LCH | lch(70.96, 59.61, 90.26°) |
| OKLab | oklab(74.97% -0.0064 0.1326) |
| OKLCH | oklch(74.97% 0.133 92.8) |
| XYZ | xyz(39.9574, 42.1301, 10.0295) |
| Luminance | 0.4213 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 3.81
Burnt Yellow
#D5AB09
ΔE00 3.95
Brownish Yellow
#C9B003
ΔE00 4.54
Mustard (survey)
#CEB301
ΔE00 4.81
Gold (survey)
#DBB40C
ΔE00 4.86
Ocher
#BF9B0C
ΔE00 4.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CBAB3A #3A5ACB
analogous
#CB623A #CBAB3A #A2CB3A
triadic
#CBAB3A #3ACBAB #AB3ACB
tetradic
#CBAB3A #3ACB62 #3A5ACB #CB3AA2
square
#CBAB3A #3ACB62 #3A5ACB #CB3AA2
split-complementary
#CBAB3A #3AA2CB #623ACB
monochromatic
#6E5C1D #9E842A #CBAB3A #D8C06A #E5D49B
Accessibility & contrast
On white
2.23
#CBAB3A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.43
#CBAB3A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CBAB3A
9.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CBAB3A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CBAB3A | 1.00 | 2.23 | 9.43 | 9.43 |
| #FFFFFF | 2.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.43 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.43 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BDA829
Deuteranopia (green-blind)
#C5B240
Tritanopia (blue-blind)
#DB9D94
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #cbab3a; /* rgb */ color: rgb(203, 171, 58); /* oklch */ color: oklch(75.0% 0.133 92.8);
Tailwind
colors: {
custom: {
50: '#dfc377',
500: '#cbab3a',
950: '#000000',
},
}SCSS
$custom: #cbab3a; $custom-light: #dfc377; $custom-dark: #000000;
JSON
{
"hex": "#cbab3a",
"rgb": {
"r": 203,
"g": 171,
"b": 58
},
"hsl": {
"h": 46.759,
"s": 58.233,
"l": 51.176
},
"oklch": {
"l": 0.74965,
"c": 0.13273,
"h": 92.8
},
"luminance": 0.42128
}Semantic roles & 50–950 ramp
primary
#CBAB3A
secondary
#909FD0
accent
#69E146
background
#FEFBF7
surface
#FCF7ED
border
#D5D0C8
text
#161209
muted
#84817B