#C8BA6F#C8BA6F
#C8BA6F is a light, moderate yellow. Relative luminance 0.485; OKLCH L 78.4% C 0.097 H 99.0°. Best body text is #000000 at 10.71:1 contrast (WCAG AA passes).
Color values
| HEX | #C8BA6F |
|---|---|
| RGB | rgb(200, 186, 111) |
| HSL | hsl(51, 45%, 61%) |
| HSV | hsv(51, 45%, 78%) |
| CMYK | cmyk(0%, 7%, 44.5%, 21.6%) |
| CIE-LAB | lab(75.17, -5.45, 39.69) |
| CIE-LCH | lch(75.17, 40.07, 97.82°) |
| OKLab | oklab(78.41% -0.0151 0.0959) |
| OKLCH | oklch(78.41% 0.097 99) |
| XYZ | xyz(44.2487, 48.5463, 22.0754) |
| Luminance | 0.4854 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 2.70
Sand (survey)
#E2CA76
ΔE00 5.44
Sand
#C2B280
ΔE00 5.52
Desert
#CCAD60
ΔE00 5.87
Tan (survey)
#D1B26F
ΔE00 5.88
Sandstone
#C9AE74
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C8BA6F #6F7DC8
analogous
#C88D6F #C8BA6F #A9C86F
triadic
#C8BA6F #6FC8BA #BA6FC8
tetradic
#C8BA6F #6FC88D #6F7DC8 #C86FA9
square
#C8BA6F #6FC88D #6F7DC8 #C86FA9
split-complementary
#C8BA6F #6FA9C8 #8D6FC8
monochromatic
#887B34 #B5A345 #C8BA6F #D9CF9B #EAE4C8
Accessibility & contrast
On white
1.96
#C8BA6F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.71
#C8BA6F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C8BA6F
10.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C8BA6F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C8BA6F | 1.00 | 1.96 | 10.71 | 10.71 |
| #FFFFFF | 1.96 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C7B669
Deuteranopia (green-blind)
#CBBB72
Tritanopia (blue-blind)
#D4B0A8
Achromatopsia (no color)
#B9B9B9
Design tokens & code
CSS
--color: #c8ba6f; /* rgb */ color: rgb(200, 186, 111); /* oklch */ color: oklch(78.4% 0.097 99.0);
Tailwind
colors: {
custom: {
50: '#dace99',
500: '#c8ba6f',
950: '#000000',
},
}SCSS
$custom: #c8ba6f; $custom-light: #dace99; $custom-dark: #000000;
JSON
{
"hex": "#c8ba6f",
"rgb": {
"r": 200,
"g": 186,
"b": 111
},
"hsl": {
"h": 50.562,
"s": 44.724,
"l": 60.98
},
"oklch": {
"l": 0.78406,
"c": 0.09713,
"h": 99
},
"luminance": 0.48545
}Semantic roles & 50–950 ramp
primary
#C8BA6F
secondary
#B9BEDA
accent
#43B82E
background
#FDFCF9
surface
#FBF9F2
border
#D4D2CC
text
#15130E
muted
#83827E