#C8B87F#C8B87F
#C8B87F is a light, moderate yellow. Relative luminance 0.481; OKLCH L 78.3% C 0.077 H 94.3°. Best body text is #000000 at 10.62:1 contrast (WCAG AA passes).
Color values
| HEX | #C8B87F |
|---|---|
| RGB | rgb(200, 184, 127) |
| HSL | hsl(47, 40%, 64%) |
| HSV | hsv(47, 37%, 78%) |
| CMYK | cmyk(0%, 8%, 36.5%, 21.6%) |
| CIE-LAB | lab(74.88, -2.65, 31.05) |
| CIE-LCH | lch(74.88, 31.16, 94.87°) |
| OKLab | oklab(78.26% -0.0058 0.0769) |
| OKLCH | oklch(78.26% 0.077 94.3) |
| XYZ | xyz(44.7915, 48.0940, 26.9982) |
| Luminance | 0.4809 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand
#C2B280
ΔE00 2.20
Sandstone
#C9AE74
ΔE00 4.20
Very Light Brown
#D3B683
ΔE00 4.91
Tan (survey)
#D1B26F
ΔE00 4.92
Darkkhaki
#BDB76B
ΔE00 5.10
Toupe
#C7AC7D
ΔE00 5.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C8B87F #7F8FC8
analogous
#C8947F #C8B87F #B4C87F
triadic
#C8B87F #7FC8B8 #B87FC8
tetradic
#C8B87F #7FC894 #7F8FC8 #C87FB4
square
#C8B87F #7FC894 #7F8FC8 #C87FB4
split-complementary
#C8B87F #7FB4C8 #947FC8
monochromatic
#8F7D3D #B6A054 #C8B87F #DAD0AA #EDE7D5
Accessibility & contrast
On white
1.98
#C8B87F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.62
#C8B87F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C8B87F
10.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C8B87F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C8B87F | 1.00 | 1.98 | 10.62 | 10.62 |
| #FFFFFF | 1.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C4B57B
Deuteranopia (green-blind)
#C8BB81
Tritanopia (blue-blind)
#D3B0A9
Achromatopsia (no color)
#B8B8B8
Design tokens & code
CSS
--color: #c8b87f; /* rgb */ color: rgb(200, 184, 127); /* oklch */ color: oklch(78.3% 0.077 94.3);
Tailwind
colors: {
custom: {
50: '#dacda4',
500: '#c8b87f',
950: '#000000',
},
}SCSS
$custom: #c8b87f; $custom-light: #dacda4; $custom-dark: #000000;
JSON
{
"hex": "#c8b87f",
"rgb": {
"r": 200,
"g": 184,
"b": 127
},
"hsl": {
"h": 46.849,
"s": 39.891,
"l": 64.118
},
"oklch": {
"l": 0.7826,
"c": 0.07712,
"h": 94.3
},
"luminance": 0.48093
}Semantic roles & 50–950 ramp
primary
#C8B87F
secondary
#C5CADE
accent
#4FB333
background
#FDFCFA
surface
#FBF8F4
border
#D4D1CE
text
#15130F
muted
#83827F