#C8B862#C8B862
#C8B862 is a light, moderate yellow. Relative luminance 0.474; OKLCH L 77.8% C 0.109 H 99.0°. Best body text is #000000 at 10.49:1 contrast (WCAG AA passes).
Color values
| HEX | #C8B862 |
|---|---|
| RGB | rgb(200, 184, 98) |
| HSL | hsl(51, 48%, 58%) |
| HSV | hsv(51, 51%, 78%) |
| CMYK | cmyk(0%, 8%, 51%, 21.6%) |
| CIE-LAB | lab(74.47, -5.64, 45.34) |
| CIE-LCH | lch(74.47, 45.69, 97.09°) |
| OKLab | oklab(77.8% -0.017 0.1075) |
| OKLCH | oklch(77.8% 0.109 99) |
| XYZ | xyz(43.1659, 47.4438, 18.4367) |
| Luminance | 0.4744 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 3.48
Desert
#CCAD60
ΔE00 5.47
Sand (survey)
#E2CA76
ΔE00 5.53
Tan (survey)
#D1B26F
ΔE00 6.21
Sandy Brown
#C4A661
ΔE00 6.95
Sandstone
#C9AE74
ΔE00 6.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C8B862 #6272C8
analogous
#C88562 #C8B862 #A5C862
triadic
#C8B862 #62C8B8 #B862C8
tetradic
#C8B862 #62C885 #6272C8 #C862A5
square
#C8B862 #62C885 #6272C8 #C862A5
split-complementary
#C8B862 #62A5C8 #8562C8
monochromatic
#82752E #AF9D3D #C8B862 #D8CC8F #E8E1BD
Accessibility & contrast
On white
2.00
#C8B862 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.49
#C8B862 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C8B862
10.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C8B862 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C8B862 | 1.00 | 2.00 | 10.49 | 10.49 |
| #FFFFFF | 2.00 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.49 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.49 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C6B45A
Deuteranopia (green-blind)
#CBBA66
Tritanopia (blue-blind)
#D5ADA4
Achromatopsia (no color)
#B7B7B7
Design tokens & code
CSS
--color: #c8b862; /* rgb */ color: rgb(200, 184, 98); /* oklch */ color: oklch(77.8% 0.109 99.0);
Tailwind
colors: {
custom: {
50: '#dbcd91',
500: '#c8b862',
950: '#000000',
},
}SCSS
$custom: #c8b862; $custom-light: #dbcd91; $custom-dark: #000000;
JSON
{
"hex": "#c8b862",
"rgb": {
"r": 200,
"g": 184,
"b": 98
},
"hsl": {
"h": 50.588,
"s": 48.113,
"l": 58.431
},
"oklch": {
"l": 0.77801,
"c": 0.10885,
"h": 99
},
"luminance": 0.47442
}Semantic roles & 50–950 ramp
primary
#C8B862
secondary
#AFB5D7
accent
#65D850
background
#FDFCF9
surface
#FBF8F1
border
#D4D1CB
text
#15130D
muted
#83827E