#C8AB47#C8AB47
#C8AB47 is a light, vivid yellow. Relative luminance 0.419; OKLCH L 74.8% C 0.123 H 93.0°. Best body text is #000000 at 9.37:1 contrast (WCAG AA passes).
Color values
| HEX | #C8AB47 |
|---|---|
| RGB | rgb(200, 171, 71) |
| HSL | hsl(47, 54%, 53%) |
| HSV | hsv(47, 65%, 78%) |
| CMYK | cmyk(0%, 14.5%, 64.5%, 21.6%) |
| CIE-LAB | lab(70.78, -0.84, 53.83) |
| CIE-LCH | lch(70.78, 53.84, 90.89°) |
| OKLab | oklab(74.79% -0.0063 0.1226) |
| OKLCH | oklch(74.79% 0.123 93) |
| XYZ | xyz(39.5215, 41.8622, 11.9585) |
| Luminance | 0.4186 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 3.84
Mustard
#DBB42C
ΔE00 5.14
Sandy Brown
#C4A661
ΔE00 5.22
Burnt Yellow
#D5AB09
ΔE00 5.57
Brownish Yellow
#C9B003
ΔE00 5.69
Ocher
#BF9B0C
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C8AB47 #4764C8
analogous
#C86A47 #C8AB47 #A4C847
triadic
#C8AB47 #47C8AB #AB47C8
tetradic
#C8AB47 #47C86A #4764C8 #C847A4
square
#C8AB47 #47C86A #4764C8 #C847A4
split-complementary
#C8AB47 #47A4C8 #6A47C8
monochromatic
#726022 #A28830 #C8AB47 #D6C176 #E4D6A5
Accessibility & contrast
On white
2.24
#C8AB47 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.37
#C8AB47 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C8AB47
9.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C8AB47 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C8AB47 | 1.00 | 2.24 | 9.37 | 9.37 |
| #FFFFFF | 2.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BCA83B
Deuteranopia (green-blind)
#C3B14C
Tritanopia (blue-blind)
#D79E96
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #c8ab47; /* rgb */ color: rgb(200, 171, 71); /* oklch */ color: oklch(74.8% 0.123 93.0);
Tailwind
colors: {
custom: {
50: '#dcc37f',
500: '#c8ab47',
950: '#000000',
},
}SCSS
$custom: #c8ab47; $custom-light: #dcc37f; $custom-dark: #000000;
JSON
{
"hex": "#c8ab47",
"rgb": {
"r": 200,
"g": 171,
"b": 71
},
"hsl": {
"h": 46.512,
"s": 53.975,
"l": 53.137
},
"oklch": {
"l": 0.74786,
"c": 0.12279,
"h": 93
},
"luminance": 0.4186
}Semantic roles & 50–950 ramp
primary
#C8AB47
secondary
#9AA6D1
accent
#6BDD4A
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#15120A
muted
#83817C