#C8B062#C8B062
#C8B062 is a light, moderate yellow. Relative luminance 0.442; OKLCH L 76.1% C 0.102 H 92.7°. Best body text is #000000 at 9.84:1 contrast (WCAG AA passes).
Color values
| HEX | #C8B062 |
|---|---|
| RGB | rgb(200, 176, 98) |
| HSL | hsl(46, 48%, 58%) |
| HSV | hsv(46, 51%, 78%) |
| CMYK | cmyk(0%, 12%, 51%, 21.6%) |
| CIE-LAB | lab(72.37, -1.43, 42.81) |
| CIE-LCH | lch(72.37, 42.83, 91.92°) |
| OKLab | oklab(76.14% -0.0048 0.1019) |
| OKLCH | oklch(76.14% 0.102 92.7) |
| XYZ | xyz(41.5508, 44.2137, 17.8983) |
| Luminance | 0.4421 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 2.25
Tan (survey)
#D1B26F
ΔE00 3.50
Sandy Brown
#C4A661
ΔE00 3.66
Sandstone
#C9AE74
ΔE00 4.28
Sand Brown
#CBA560
ΔE00 5.54
Darkkhaki
#BDB76B
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C8B062 #627AC8
analogous
#C87D62 #C8B062 #ADC862
triadic
#C8B062 #62C8B0 #B062C8
tetradic
#C8B062 #62C87D #627AC8 #C862AD
square
#C8B062 #62C87D #627AC8 #C862AD
split-complementary
#C8B062 #62ADC8 #7D62C8
monochromatic
#826E2E #AF953D #C8B062 #D8C78F #E8DEBD
Accessibility & contrast
On white
2.13
#C8B062 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.84
#C8B062 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C8B062
9.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C8B062 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C8B062 | 1.00 | 2.13 | 9.84 | 9.84 |
| #FFFFFF | 2.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BFAD5B
Deuteranopia (green-blind)
#C5B565
Tritanopia (blue-blind)
#D6A59E
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #c8b062; /* rgb */ color: rgb(200, 176, 98); /* oklch */ color: oklch(76.1% 0.102 92.7);
Tailwind
colors: {
custom: {
50: '#dbc790',
500: '#c8b062',
950: '#000000',
},
}SCSS
$custom: #c8b062; $custom-light: #dbc790; $custom-dark: #000000;
JSON
{
"hex": "#c8b062",
"rgb": {
"r": 200,
"g": 176,
"b": 98
},
"hsl": {
"h": 45.882,
"s": 48.113,
"l": 58.431
},
"oklch": {
"l": 0.76139,
"c": 0.10205,
"h": 92.7
},
"luminance": 0.44212
}Semantic roles & 50–950 ramp
primary
#C8B062
secondary
#AFB8D7
accent
#70D850
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130D
muted
#83827D