#C7B87F#C7B87F
#C7B87F is a light, moderate yellow. Relative luminance 0.480; OKLCH L 78.2% C 0.077 H 95.1°. Best body text is #000000 at 10.59:1 contrast (WCAG AA passes).
Color values
| HEX | #C7B87F |
|---|---|
| RGB | rgb(199, 184, 127) |
| HSL | hsl(48, 39%, 64%) |
| HSV | hsv(48, 36%, 78%) |
| CMYK | cmyk(0%, 7.5%, 36.2%, 22%) |
| CIE-LAB | lab(74.80, -3.05, 30.92) |
| CIE-LCH | lch(74.80, 31.07, 95.63°) |
| OKLab | oklab(78.17% -0.0069 0.0766) |
| OKLCH | oklch(78.17% 0.077 95.1) |
| XYZ | xyz(44.5252, 47.9567, 26.9857) |
| Luminance | 0.4795 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand
#C2B280
ΔE00 2.23
Sandstone
#C9AE74
ΔE00 4.46
Darkkhaki
#BDB76B
ΔE00 4.87
Tan (survey)
#D1B26F
ΔE00 5.21
Very Light Brown
#D3B683
ΔE00 5.23
Toupe
#C7AC7D
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C7B87F #7F8EC7
analogous
#C7947F #C7B87F #B2C77F
triadic
#C7B87F #7FC7B8 #B87FC7
tetradic
#C7B87F #7FC794 #7F8EC7 #C77FB2
square
#C7B87F #7FC794 #7F8EC7 #C77FB2
split-complementary
#C7B87F #7FB2C7 #947FC7
monochromatic
#8E7D3E #B4A054 #C7B87F #DAD0AA #ECE7D4
Accessibility & contrast
On white
1.98
#C7B87F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.59
#C7B87F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C7B87F
10.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C7B87F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C7B87F | 1.00 | 1.98 | 10.59 | 10.59 |
| #FFFFFF | 1.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C3B57B
Deuteranopia (green-blind)
#C7BA81
Tritanopia (blue-blind)
#D2B0A9
Achromatopsia (no color)
#B8B8B8
Design tokens & code
CSS
--color: #c7b87f; /* rgb */ color: rgb(199, 184, 127); /* oklch */ color: oklch(78.2% 0.077 95.1);
Tailwind
colors: {
custom: {
50: '#d9cda4',
500: '#c7b87f',
950: '#000000',
},
}SCSS
$custom: #c7b87f; $custom-light: #d9cda4; $custom-dark: #000000;
JSON
{
"hex": "#c7b87f",
"rgb": {
"r": 199,
"g": 184,
"b": 127
},
"hsl": {
"h": 47.5,
"s": 39.13,
"l": 63.922
},
"oklch": {
"l": 0.78171,
"c": 0.07691,
"h": 95.1
},
"luminance": 0.47955
}Semantic roles & 50–950 ramp
primary
#C7B87F
secondary
#C4CADE
accent
#4EB233
background
#FDFCFA
surface
#FBF8F4
border
#D4D1CE
text
#15130F
muted
#83827F