#CBAB3E#CBAB3E
#CBAB3E is a light, vivid yellow. Relative luminance 0.422; OKLCH L 75.0% C 0.130 H 92.4°. Best body text is #000000 at 9.43:1 contrast (WCAG AA passes).
Color values
| HEX | #CBAB3E |
|---|---|
| RGB | rgb(203, 171, 62) |
| HSL | hsl(46, 58%, 52%) |
| HSV | hsv(46, 69%, 80%) |
| CMYK | cmyk(0%, 15.8%, 69.5%, 20.4%) |
| CIE-LAB | lab(70.99, -0.06, 58.02) |
| CIE-LCH | lch(70.99, 58.02, 90.06°) |
| OKLab | oklab(75% -0.0054 0.1299) |
| OKLCH | oklch(75% 0.13 92.4) |
| XYZ | xyz(40.0631, 42.1724, 10.5864) |
| Luminance | 0.4217 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 4.04
Burnt Yellow
#D5AB09
ΔE00 4.27
Desert
#CCAD60
ΔE00 4.71
Brownish Yellow
#C9B003
ΔE00 4.95
Ocher
#BF9B0C
ΔE00 5.16
Gold (survey)
#DBB40C
ΔE00 5.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CBAB3E #3E5ECB
analogous
#CB653E #CBAB3E #A5CB3E
triadic
#CBAB3E #3ECBAB #AB3ECB
tetradic
#CBAB3E #3ECB65 #3E5ECB #CB3EA5
square
#CBAB3E #3ECB65 #3E5ECB #CB3EA5
split-complementary
#CBAB3E #3EA5CB #653ECB
monochromatic
#705E1E #A1862B #CBAB3E #D8C06E #E5D59E
Accessibility & contrast
On white
2.23
#CBAB3E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.43
#CBAB3E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CBAB3E
9.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CBAB3E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CBAB3E | 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)
#BDA82F
Deuteranopia (green-blind)
#C5B244
Tritanopia (blue-blind)
#DB9D95
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #cbab3e; /* rgb */ color: rgb(203, 171, 62); /* oklch */ color: oklch(75.0% 0.130 92.4);
Tailwind
colors: {
custom: {
50: '#dfc379',
500: '#cbab3e',
950: '#000000',
},
}SCSS
$custom: #cbab3e; $custom-light: #dfc379; $custom-dark: #000000;
JSON
{
"hex": "#cbab3e",
"rgb": {
"r": 203,
"g": 171,
"b": 62
},
"hsl": {
"h": 46.383,
"s": 57.551,
"l": 51.961
},
"oklch": {
"l": 0.74998,
"c": 0.13004,
"h": 92.4
},
"luminance": 0.4217
}Semantic roles & 50–950 ramp
primary
#CBAB3E
secondary
#94A2D1
accent
#6AE147
background
#FEFBF7
surface
#FCF7EE
border
#D5D0C9
text
#161209
muted
#84817B