#C8B562#C8B562
#C8B562 is a light, moderate yellow. Relative luminance 0.462; OKLCH L 77.2% C 0.106 H 96.8°. Best body text is #000000 at 10.24:1 contrast (WCAG AA passes).
Color values
| HEX | #C8B562 |
|---|---|
| RGB | rgb(200, 181, 98) |
| HSL | hsl(49, 48%, 58%) |
| HSV | hsv(49, 51%, 78%) |
| CMYK | cmyk(0%, 9.5%, 51%, 21.6%) |
| CIE-LAB | lab(73.68, -4.07, 44.39) |
| CIE-LCH | lch(73.68, 44.58, 95.24°) |
| OKLab | oklab(77.18% -0.0125 0.1054) |
| OKLCH | oklch(77.18% 0.106 96.8) |
| XYZ | xyz(42.5493, 46.2106, 18.2312) |
| Luminance | 0.4621 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.06
Desert
#CCAD60
ΔE00 4.27
Tan (survey)
#D1B26F
ΔE00 5.14
Sandy Brown
#C4A661
ΔE00 5.74
Sand (survey)
#E2CA76
ΔE00 5.79
Sandstone
#C9AE74
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C8B562 #6275C8
analogous
#C88262 #C8B562 #A8C862
triadic
#C8B562 #62C8B5 #B562C8
tetradic
#C8B562 #62C882 #6275C8 #C862A8
square
#C8B562 #62C882 #6275C8 #C862A8
split-complementary
#C8B562 #62A8C8 #8262C8
monochromatic
#82722E #AF9A3D #C8B562 #D8CA8F #E8E0BD
Accessibility & contrast
On white
2.05
#C8B562 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.24
#C8B562 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C8B562
10.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C8B562 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C8B562 | 1.00 | 2.05 | 10.24 | 10.24 |
| #FFFFFF | 2.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C4B15B
Deuteranopia (green-blind)
#C9B865
Tritanopia (blue-blind)
#D5AAA2
Achromatopsia (no color)
#B5B5B5
Design tokens & code
CSS
--color: #c8b562; /* rgb */ color: rgb(200, 181, 98); /* oklch */ color: oklch(77.2% 0.106 96.8);
Tailwind
colors: {
custom: {
50: '#dbcb90',
500: '#c8b562',
950: '#000000',
},
}SCSS
$custom: #c8b562; $custom-light: #dbcb90; $custom-dark: #000000;
JSON
{
"hex": "#c8b562",
"rgb": {
"r": 200,
"g": 181,
"b": 98
},
"hsl": {
"h": 48.824,
"s": 48.113,
"l": 58.431
},
"oklch": {
"l": 0.77175,
"c": 0.10617,
"h": 96.8
},
"luminance": 0.46209
}Semantic roles & 50–950 ramp
primary
#C8B562
secondary
#AFB6D7
accent
#69D850
background
#FDFCF9
surface
#FBF8F1
border
#D4D1CB
text
#15130D
muted
#83827E