#C8B962#C8B962
#C8B962 is a light, moderate yellow. Relative luminance 0.479; OKLCH L 78.0% C 0.110 H 99.7°. Best body text is #000000 at 10.57:1 contrast (WCAG AA passes).
Color values
| HEX | #C8B962 |
|---|---|
| RGB | rgb(200, 185, 98) |
| HSL | hsl(51, 48%, 58%) |
| HSV | hsv(51, 51%, 78%) |
| CMYK | cmyk(0%, 7.5%, 51%, 21.6%) |
| CIE-LAB | lab(74.74, -6.16, 45.66) |
| CIE-LCH | lch(74.74, 46.07, 97.68°) |
| OKLab | oklab(78.01% -0.0185 0.1082) |
| OKLCH | oklch(78.01% 0.11 99.7) |
| XYZ | xyz(43.3743, 47.8607, 18.5062) |
| Luminance | 0.4786 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 3.36
Sand (survey)
#E2CA76
ΔE00 5.50
Desert
#CCAD60
ΔE00 5.86
Tan (survey)
#D1B26F
ΔE00 6.57
Sand
#C2B280
ΔE00 7.29
Sandstone
#C9AE74
ΔE00 7.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C8B962 #6271C8
analogous
#C88662 #C8B962 #A4C862
triadic
#C8B962 #62C8B9 #B962C8
tetradic
#C8B962 #62C886 #6271C8 #C862A4
square
#C8B962 #62C886 #6271C8 #C862A4
split-complementary
#C8B962 #62A4C8 #8662C8
monochromatic
#82762E #AF9F3D #C8B962 #D8CD8F #E8E1BD
Accessibility & contrast
On white
1.99
#C8B962 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.57
#C8B962 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C8B962
10.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C8B962 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C8B962 | 1.00 | 1.99 | 10.57 | 10.57 |
| #FFFFFF | 1.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C7B55A
Deuteranopia (green-blind)
#CCBA66
Tritanopia (blue-blind)
#D5AEA5
Achromatopsia (no color)
#B8B8B8
Design tokens & code
CSS
--color: #c8b962; /* rgb */ color: rgb(200, 185, 98); /* oklch */ color: oklch(78.0% 0.110 99.7);
Tailwind
colors: {
custom: {
50: '#dbcd91',
500: '#c8b962',
950: '#000000',
},
}SCSS
$custom: #c8b962; $custom-light: #dbcd91; $custom-dark: #000000;
JSON
{
"hex": "#c8b962",
"rgb": {
"r": 200,
"g": 185,
"b": 98
},
"hsl": {
"h": 51.176,
"s": 48.113,
"l": 58.431
},
"oklch": {
"l": 0.7801,
"c": 0.10978,
"h": 99.7
},
"luminance": 0.47859
}Semantic roles & 50–950 ramp
primary
#C8B962
secondary
#AFB5D7
accent
#64D850
background
#FDFCF9
surface
#FBF9F1
border
#D4D2CB
text
#15130D
muted
#83827E