#C8AB52#C8AB52
#C8AB52 is a light, moderate yellow. Relative luminance 0.420; OKLCH L 74.9% C 0.114 H 91.4°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).
Color values
| HEX | #C8AB52 |
|---|---|
| RGB | rgb(200, 171, 82) |
| HSL | hsl(45, 52%, 55%) |
| HSV | hsv(45, 59%, 78%) |
| CMYK | cmyk(0%, 14.5%, 59%, 21.6%) |
| CIE-LAB | lab(70.88, -0.09, 48.88) |
| CIE-LCH | lch(70.88, 48.88, 90.10°) |
| OKLab | oklab(74.9% -0.0028 0.1135) |
| OKLCH | oklch(74.9% 0.114 91.4) |
| XYZ | xyz(39.9071, 42.0164, 13.9890) |
| Luminance | 0.4201 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 2.35
Sandy Brown
#C4A661
ΔE00 3.74
Tan (survey)
#D1B26F
ΔE00 4.69
Sand Brown
#CBA560
ΔE00 5.14
Sandstone
#C9AE74
ΔE00 5.77
Camel (survey)
#C69F59
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C8AB52 #526FC8
analogous
#C87052 #C8AB52 #AAC852
triadic
#C8AB52 #52C8AB #AB52C8
tetradic
#C8AB52 #52C870 #526FC8 #C852AA
square
#C8AB52 #52C870 #526FC8 #C852AA
split-complementary
#C8AB52 #52AAC8 #7052C8
monochromatic
#796527 #A88B35 #C8AB52 #D7C280 #E6D8AF
Accessibility & contrast
On white
2.23
#C8AB52 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.40
#C8AB52 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C8AB52
9.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C8AB52 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C8AB52 | 1.00 | 2.23 | 9.40 | 9.40 |
| #FFFFFF | 2.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BBA949
Deuteranopia (green-blind)
#C3B156
Tritanopia (blue-blind)
#D79F97
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #c8ab52; /* rgb */ color: rgb(200, 171, 82); /* oklch */ color: oklch(74.9% 0.114 91.4);
Tailwind
colors: {
custom: {
50: '#dbc385',
500: '#c8ab52',
950: '#000000',
},
}SCSS
$custom: #c8ab52; $custom-light: #dbc385; $custom-dark: #000000;
JSON
{
"hex": "#c8ab52",
"rgb": {
"r": 200,
"g": 171,
"b": 82
},
"hsl": {
"h": 45.254,
"s": 51.754,
"l": 55.294
},
"oklch": {
"l": 0.74904,
"c": 0.11358,
"h": 91.4
},
"luminance": 0.42014
}Semantic roles & 50–950 ramp
primary
#C8AB52
secondary
#A2AED4
accent
#70DB4D
background
#FDFBF8
surface
#FBF7EF
border
#D4D0CA
text
#15120B
muted
#83817C