#CBAA3F#CBAA3F
#CBAA3F is a light, vivid yellow. Relative luminance 0.418; OKLCH L 74.8% C 0.129 H 91.6°. Best body text is #000000 at 9.36:1 contrast (WCAG AA passes).
Color values
| HEX | #CBAA3F |
|---|---|
| RGB | rgb(203, 170, 63) |
| HSL | hsl(46, 57%, 52%) |
| HSV | hsv(46, 69%, 80%) |
| CMYK | cmyk(0%, 16.3%, 69%, 20.4%) |
| CIE-LAB | lab(70.74, 0.52, 57.34) |
| CIE-LCH | lch(70.74, 57.34, 89.48°) |
| OKLab | oklab(74.8% -0.0036 0.1287) |
| OKLCH | oklch(74.8% 0.129 91.6) |
| XYZ | xyz(39.9026, 41.8072, 10.6695) |
| Luminance | 0.4180 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 4.24
Burnt Yellow
#D5AB09
ΔE00 4.34
Desert
#CCAD60
ΔE00 4.48
Ocher
#BF9B0C
ΔE00 5.03
Ocre
#C69C04
ΔE00 5.10
Yellow Ochre
#CB9D06
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CBAA3F #3F60CB
analogous
#CB643F #CBAA3F #A6CB3F
triadic
#CBAA3F #3FCBAA #AA3FCB
tetradic
#CBAA3F #3FCB64 #3F60CB #CB3FA6
square
#CBAA3F #3FCB64 #3F60CB #CB3FA6
split-complementary
#CBAA3F #3FA6CB #643FCB
monochromatic
#715E1F #A1852C #CBAA3F #D8BF6F #E5D59F
Accessibility & contrast
On white
2.24
#CBAA3F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.36
#CBAA3F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CBAA3F
9.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CBAA3F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CBAA3F | 1.00 | 2.24 | 9.36 | 9.36 |
| #FFFFFF | 2.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BCA831
Deuteranopia (green-blind)
#C4B144
Tritanopia (blue-blind)
#DB9C94
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #cbaa3f; /* rgb */ color: rgb(203, 170, 63); /* oklch */ color: oklch(74.8% 0.129 91.6);
Tailwind
colors: {
custom: {
50: '#dfc27a',
500: '#cbaa3f',
950: '#000000',
},
}SCSS
$custom: #cbaa3f; $custom-light: #dfc27a; $custom-dark: #000000;
JSON
{
"hex": "#cbaa3f",
"rgb": {
"r": 203,
"g": 170,
"b": 63
},
"hsl": {
"h": 45.857,
"s": 57.377,
"l": 52.157
},
"oklch": {
"l": 0.74801,
"c": 0.12872,
"h": 91.6
},
"luminance": 0.41805
}Semantic roles & 50–950 ramp
primary
#CBAA3F
secondary
#94A3D1
accent
#6BE147
background
#FEFBF7
surface
#FCF7EE
border
#D5D0C9
text
#161209
muted
#84817B