#C8BA62#C8BA62
#C8BA62 is a light, moderate yellow. Relative luminance 0.483; OKLCH L 78.2% C 0.111 H 100.4°. Best body text is #000000 at 10.66:1 contrast (WCAG AA passes).
Color values
| HEX | #C8BA62 |
|---|---|
| RGB | rgb(200, 186, 98) |
| HSL | hsl(52, 48%, 58%) |
| HSV | hsv(52, 51%, 78%) |
| CMYK | cmyk(0%, 7%, 51%, 21.6%) |
| CIE-LAB | lab(75.00, -6.68, 45.97) |
| CIE-LCH | lch(75.00, 46.46, 98.27°) |
| OKLab | oklab(78.22% -0.02 0.1089) |
| OKLCH | oklch(78.22% 0.111 100.4) |
| XYZ | xyz(43.5842, 48.2806, 18.5762) |
| Luminance | 0.4828 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 3.29
Sand (survey)
#E2CA76
ΔE00 5.49
Desert
#CCAD60
ΔE00 6.25
Tan (survey)
#D1B26F
ΔE00 6.93
Khaki (survey)
#AAA662
ΔE00 7.45
Sand
#C2B280
ΔE00 7.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C8BA62 #6270C8
analogous
#C88762 #C8BA62 #A3C862
triadic
#C8BA62 #62C8BA #BA62C8
tetradic
#C8BA62 #62C887 #6270C8 #C862A3
square
#C8BA62 #62C887 #6270C8 #C862A3
split-complementary
#C8BA62 #62A3C8 #8762C8
monochromatic
#82762E #AFA03D #C8BA62 #D8CE8F #E8E2BD
Accessibility & contrast
On white
1.97
#C8BA62 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.66
#C8BA62 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C8BA62
10.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C8BA62 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C8BA62 | 1.00 | 1.97 | 10.66 | 10.66 |
| #FFFFFF | 1.97 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C8B55A
Deuteranopia (green-blind)
#CCBB66
Tritanopia (blue-blind)
#D5AFA6
Achromatopsia (no color)
#B9B9B9
Design tokens & code
CSS
--color: #c8ba62; /* rgb */ color: rgb(200, 186, 98); /* oklch */ color: oklch(78.2% 0.111 100.4);
Tailwind
colors: {
custom: {
50: '#dbce91',
500: '#c8ba62',
950: '#000000',
},
}SCSS
$custom: #c8ba62; $custom-light: #dbce91; $custom-dark: #000000;
JSON
{
"hex": "#c8ba62",
"rgb": {
"r": 200,
"g": 186,
"b": 98
},
"hsl": {
"h": 51.765,
"s": 48.113,
"l": 58.431
},
"oklch": {
"l": 0.7822,
"c": 0.11072,
"h": 100.4
},
"luminance": 0.48279
}Semantic roles & 50–950 ramp
primary
#C8BA62
secondary
#AFB4D7
accent
#63D850
background
#FDFCF9
surface
#FBF9F1
border
#D4D2CB
text
#15130D
muted
#83827E