#CBAB3F#CBAB3F
#CBAB3F is a light, vivid yellow. Relative luminance 0.422; OKLCH L 75.0% C 0.129 H 92.3°. Best body text is #000000 at 9.44:1 contrast (WCAG AA passes).
Color values
| HEX | #CBAB3F |
|---|---|
| RGB | rgb(203, 171, 63) |
| HSL | hsl(46, 57%, 52%) |
| HSV | hsv(46, 69%, 80%) |
| CMYK | cmyk(0%, 15.8%, 69%, 20.4%) |
| CIE-LAB | lab(71.00, -0.01, 57.61) |
| CIE-LCH | lch(71.00, 57.61, 90.01°) |
| OKLab | oklab(75.01% -0.0051 0.1292) |
| OKLCH | oklch(75.01% 0.129 92.3) |
| XYZ | xyz(40.0908, 42.1835, 10.7322) |
| Luminance | 0.4218 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 4.11
Burnt Yellow
#D5AB09
ΔE00 4.36
Desert
#CCAD60
ΔE00 4.59
Brownish Yellow
#C9B003
ΔE00 5.06
Ocher
#BF9B0C
ΔE00 5.21
Gold (survey)
#DBB40C
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CBAB3F #3F5FCB
analogous
#CB653F #CBAB3F #A5CB3F
triadic
#CBAB3F #3FCBAB #AB3FCB
tetradic
#CBAB3F #3FCB65 #3F5FCB #CB3FA5
square
#CBAB3F #3FCB65 #3F5FCB #CB3FA5
split-complementary
#CBAB3F #3FA5CB #653FCB
monochromatic
#715E1F #A1862C #CBAB3F #D8C06F #E5D59F
Accessibility & contrast
On white
2.23
#CBAB3F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.44
#CBAB3F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CBAB3F
9.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CBAB3F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CBAB3F | 1.00 | 2.23 | 9.44 | 9.44 |
| #FFFFFF | 2.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.44 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.44 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BDA831
Deuteranopia (green-blind)
#C5B244
Tritanopia (blue-blind)
#DB9E95
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #cbab3f; /* rgb */ color: rgb(203, 171, 63); /* oklch */ color: oklch(75.0% 0.129 92.3);
Tailwind
colors: {
custom: {
50: '#dfc37a',
500: '#cbab3f',
950: '#000000',
},
}SCSS
$custom: #cbab3f; $custom-light: #dfc37a; $custom-dark: #000000;
JSON
{
"hex": "#cbab3f",
"rgb": {
"r": 203,
"g": 171,
"b": 63
},
"hsl": {
"h": 46.286,
"s": 57.377,
"l": 52.157
},
"oklch": {
"l": 0.75006,
"c": 0.12934,
"h": 92.3
},
"luminance": 0.42181
}Semantic roles & 50–950 ramp
primary
#CBAB3F
secondary
#94A2D1
accent
#6AE147
background
#FEFBF7
surface
#FCF7EE
border
#D5D0C9
text
#161209
muted
#84817B