#CBA93F#CBA93F
#CBA93F is a light, vivid yellow. Relative luminance 0.414; OKLCH L 74.6% C 0.128 H 90.9°. Best body text is #000000 at 9.29:1 contrast (WCAG AA passes).
Color values
| HEX | #CBA93F |
|---|---|
| RGB | rgb(203, 169, 63) |
| HSL | hsl(45, 57%, 52%) |
| HSV | hsv(45, 69%, 80%) |
| CMYK | cmyk(0%, 16.7%, 69%, 20.4%) |
| CIE-LAB | lab(70.48, 1.05, 57.08) |
| CIE-LCH | lch(70.48, 57.08, 88.94°) |
| OKLab | oklab(74.6% -0.0021 0.1281) |
| OKLCH | oklch(74.6% 0.128 90.9) |
| XYZ | xyz(39.7159, 41.4337, 10.6073) |
| Luminance | 0.4143 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Burnt Yellow
#D5AB09
ΔE00 4.37
Desert
#CCAD60
ΔE00 4.39
Mustard
#DBB42C
ΔE00 4.42
Ocher
#BF9B0C
ΔE00 4.88
Ocre
#C69C04
ΔE00 4.88
Yellow Ochre
#CB9D06
ΔE00 5.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CBA93F #3F61CB
analogous
#CB633F #CBA93F #A7CB3F
triadic
#CBA93F #3FCBA9 #A93FCB
tetradic
#CBA93F #3FCB63 #3F61CB #CB3FA7
square
#CBA93F #3FCB63 #3F61CB #CB3FA7
split-complementary
#CBA93F #3FA7CB #633FCB
monochromatic
#715D1F #A1852C #CBA93F #D8BF6F #E5D49F
Accessibility & contrast
On white
2.26
#CBA93F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.29
#CBA93F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CBA93F
9.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CBA93F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CBA93F | 1.00 | 2.26 | 9.29 | 9.29 |
| #FFFFFF | 2.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BBA731
Deuteranopia (green-blind)
#C4B044
Tritanopia (blue-blind)
#DB9B93
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #cba93f; /* rgb */ color: rgb(203, 169, 63); /* oklch */ color: oklch(74.6% 0.128 90.9);
Tailwind
colors: {
custom: {
50: '#dfc27a',
500: '#cba93f',
950: '#000000',
},
}SCSS
$custom: #cba93f; $custom-light: #dfc27a; $custom-dark: #000000;
JSON
{
"hex": "#cba93f",
"rgb": {
"r": 203,
"g": 169,
"b": 63
},
"hsl": {
"h": 45.429,
"s": 57.377,
"l": 52.157
},
"oklch": {
"l": 0.74597,
"c": 0.12813,
"h": 90.9
},
"luminance": 0.41431
}Semantic roles & 50–950 ramp
primary
#CBA93F
secondary
#94A3D1
accent
#6CE147
background
#FEFBF7
surface
#FCF7EE
border
#D5D0C9
text
#161209
muted
#84817B