#CBAA3A#CBAA3A
#CBAA3A is a light, vivid yellow. Relative luminance 0.418; OKLCH L 74.8% C 0.132 H 92.1°. Best body text is #000000 at 9.35:1 contrast (WCAG AA passes).
Color values
| HEX | #CBAA3A |
|---|---|
| RGB | rgb(203, 170, 58) |
| HSL | hsl(46, 58%, 51%) |
| HSV | hsv(46, 71%, 80%) |
| CMYK | cmyk(0%, 16.3%, 71.4%, 20.4%) |
| CIE-LAB | lab(70.70, 0.26, 59.35) |
| CIE-LCH | lch(70.70, 59.35, 89.75°) |
| OKLab | oklab(74.76% -0.0049 0.132) |
| OKLCH | oklch(74.76% 0.132 92.1) |
| XYZ | xyz(39.7692, 41.7538, 9.9667) |
| Luminance | 0.4175 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Burnt Yellow
#D5AB09
ΔE00 3.90
Mustard
#DBB42C
ΔE00 3.93
Ocher
#BF9B0C
ΔE00 4.76
Ocre
#C69C04
ΔE00 4.84
Brownish Yellow
#C9B003
ΔE00 4.85
Gold (survey)
#DBB40C
ΔE00 5.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CBAA3A #3A5BCB
analogous
#CB613A #CBAA3A #A3CB3A
triadic
#CBAA3A #3ACBAA #AA3ACB
tetradic
#CBAA3A #3ACB61 #3A5BCB #CB3AA3
square
#CBAA3A #3ACB61 #3A5BCB #CB3AA3
split-complementary
#CBAA3A #3AA3CB #613ACB
monochromatic
#6E5B1D #9E842A #CBAA3A #D8BF6A #E5D49B
Accessibility & contrast
On white
2.25
#CBAA3A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.35
#CBAA3A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CBAA3A
9.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CBAA3A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CBAA3A | 1.00 | 2.25 | 9.35 | 9.35 |
| #FFFFFF | 2.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BCA72A
Deuteranopia (green-blind)
#C5B140
Tritanopia (blue-blind)
#DB9C93
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #cbaa3a; /* rgb */ color: rgb(203, 170, 58); /* oklch */ color: oklch(74.8% 0.132 92.1);
Tailwind
colors: {
custom: {
50: '#dfc277',
500: '#cbaa3a',
950: '#000000',
},
}SCSS
$custom: #cbaa3a; $custom-light: #dfc277; $custom-dark: #000000;
JSON
{
"hex": "#cbaa3a",
"rgb": {
"r": 203,
"g": 170,
"b": 58
},
"hsl": {
"h": 46.345,
"s": 58.233,
"l": 51.176
},
"oklch": {
"l": 0.7476,
"c": 0.13212,
"h": 92.1
},
"luminance": 0.41751
}Semantic roles & 50–950 ramp
primary
#CBAA3A
secondary
#909FD0
accent
#6AE146
background
#FEFBF7
surface
#FCF7ED
border
#D5D0C8
text
#161209
muted
#84817B