#C6B87F#C6B87F
#C6B87F is a light, moderate yellow. Relative luminance 0.478; OKLCH L 78.1% C 0.077 H 96.0°. Best body text is #000000 at 10.56:1 contrast (WCAG AA passes).
Color values
| HEX | #C6B87F |
|---|---|
| RGB | rgb(198, 184, 127) |
| HSL | hsl(48, 38%, 64%) |
| HSV | hsv(48, 36%, 78%) |
| CMYK | cmyk(0%, 7.1%, 35.9%, 22.4%) |
| CIE-LAB | lab(74.71, -3.45, 30.79) |
| CIE-LCH | lch(74.71, 30.98, 96.39°) |
| OKLab | oklab(78.08% -0.008 0.0763) |
| OKLCH | oklch(78.08% 0.077 96) |
| XYZ | xyz(44.2607, 47.8203, 26.9733) |
| Luminance | 0.4782 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand
#C2B280
ΔE00 2.31
Darkkhaki
#BDB76B
ΔE00 4.66
Sandstone
#C9AE74
ΔE00 4.74
Tan (survey)
#D1B26F
ΔE00 5.51
Very Light Brown
#D3B683
ΔE00 5.55
Putty
#BEAE8A
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C6B87F #7F8DC6
analogous
#C6947F #C6B87F #B0C67F
triadic
#C6B87F #7FC6B8 #B87FC6
tetradic
#C6B87F #7FC694 #7F8DC6 #C67FB0
square
#C6B87F #7FC694 #7F8DC6 #C67FB0
split-complementary
#C6B87F #7FB0C6 #947FC6
monochromatic
#8C7D3E #B3A155 #C6B87F #D9CFA9 #ECE7D4
Accessibility & contrast
On white
1.99
#C6B87F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.56
#C6B87F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C6B87F
10.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C6B87F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C6B87F | 1.00 | 1.99 | 10.56 | 10.56 |
| #FFFFFF | 1.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.56 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.56 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C3B57B
Deuteranopia (green-blind)
#C7BA81
Tritanopia (blue-blind)
#D1B0A9
Achromatopsia (no color)
#B8B8B8
Design tokens & code
CSS
--color: #c6b87f; /* rgb */ color: rgb(198, 184, 127); /* oklch */ color: oklch(78.1% 0.077 96.0);
Tailwind
colors: {
custom: {
50: '#d8cda4',
500: '#c6b87f',
950: '#000000',
},
}SCSS
$custom: #c6b87f; $custom-light: #d8cda4; $custom-dark: #000000;
JSON
{
"hex": "#c6b87f",
"rgb": {
"r": 198,
"g": 184,
"b": 127
},
"hsl": {
"h": 48.169,
"s": 38.378,
"l": 63.725
},
"oklch": {
"l": 0.78082,
"c": 0.07673,
"h": 96
},
"luminance": 0.47819
}Semantic roles & 50–950 ramp
primary
#C6B87F
secondary
#C4C9DD
accent
#4DB134
background
#FDFCFA
surface
#FAF8F4
border
#D3D1CE
text
#15130F
muted
#83827F