#C7BF8A#C7BF8A
#C7BF8A is a light, moderate yellow. Relative luminance 0.512; OKLCH L 79.8% C 0.071 H 100.6°. Best body text is #000000 at 11.25:1 contrast (WCAG AA passes).
Color values
| HEX | #C7BF8A |
|---|---|
| RGB | rgb(199, 191, 138) |
| HSL | hsl(52, 35%, 66%) |
| HSV | hsv(52, 31%, 78%) |
| CMYK | cmyk(0%, 4%, 30.7%, 22%) |
| CIE-LAB | lab(76.82, -5.36, 27.81) |
| CIE-LCH | lch(76.82, 28.32, 100.90°) |
| OKLab | oklab(79.83% -0.013 0.0696) |
| OKLCH | oklch(79.83% 0.071 100.6) |
| XYZ | xyz(46.7718, 51.2397, 31.4662) |
| Luminance | 0.5124 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand
#C2B280
ΔE00 4.20
Darkkhaki
#BDB76B
ΔE00 5.38
Beige (survey)
#E6DAA6
ΔE00 6.93
Putty
#BEAE8A
ΔE00 6.94
Sandstone
#C9AE74
ΔE00 7.25
Very Light Brown
#D3B683
ΔE00 7.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C7BF8A #8A92C7
analogous
#C7A08A #C7BF8A #B0C78A
triadic
#C7BF8A #8AC7BF #BF8AC7
tetradic
#C7BF8A #8AC7A0 #8A92C7 #C78AB0
square
#C7BF8A #8AC7A0 #8A92C7 #C78AB0
split-complementary
#C7BF8A #8AB0C7 #A08AC7
monochromatic
#918745 #B3A861 #C7BF8A #DBD6B3 #EFECDD
Accessibility & contrast
On white
1.87
#C7BF8A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.25
#C7BF8A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C7BF8A
11.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C7BF8A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C7BF8A | 1.00 | 1.87 | 11.25 | 11.25 |
| #FFFFFF | 1.87 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C9BC86
Deuteranopia (green-blind)
#CBBF8C
Tritanopia (blue-blind)
#D0B8B1
Achromatopsia (no color)
#BEBEBE
Design tokens & code
CSS
--color: #c7bf8a; /* rgb */ color: rgb(199, 191, 138); /* oklch */ color: oklch(79.8% 0.071 100.6);
Tailwind
colors: {
custom: {
50: '#d8d2ac',
500: '#c7bf8a',
950: '#000000',
},
}SCSS
$custom: #c7bf8a; $custom-light: #d8d2ac; $custom-dark: #000000;
JSON
{
"hex": "#c7bf8a",
"rgb": {
"r": 199,
"g": 191,
"b": 138
},
"hsl": {
"h": 52.131,
"s": 35.26,
"l": 66.078
},
"oklch": {
"l": 0.79834,
"c": 0.0708,
"h": 100.6
},
"luminance": 0.51239
}Semantic roles & 50–950 ramp
primary
#C7BF8A
secondary
#5C6499
accent
#47AE37
background
#FEFEFD
surface
#FBFBF7
border
#D4D4D0
text
#141410
muted
#838381