#C8B162#C8B162
#C8B162 is a light, moderate yellow. Relative luminance 0.446; OKLCH L 76.3% C 0.103 H 93.6°. Best body text is #000000 at 9.92:1 contrast (WCAG AA passes).
Color values
| HEX | #C8B162 |
|---|---|
| RGB | rgb(200, 177, 98) |
| HSL | hsl(46, 48%, 58%) |
| HSV | hsv(46, 51%, 78%) |
| CMYK | cmyk(0%, 11.5%, 51%, 21.6%) |
| CIE-LAB | lab(72.63, -1.96, 43.12) |
| CIE-LCH | lch(72.63, 43.17, 92.61°) |
| OKLab | oklab(76.35% -0.0064 0.1026) |
| OKLCH | oklch(76.35% 0.103 93.6) |
| XYZ | xyz(41.7476, 44.6073, 17.9639) |
| Luminance | 0.4461 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 2.65
Tan (survey)
#D1B26F
ΔE00 3.80
Sandy Brown
#C4A661
ΔE00 4.08
Sandstone
#C9AE74
ΔE00 4.58
Darkkhaki
#BDB76B
ΔE00 5.24
Sand
#C2B280
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C8B162 #6279C8
analogous
#C87E62 #C8B162 #ACC862
triadic
#C8B162 #62C8B1 #B162C8
tetradic
#C8B162 #62C87E #6279C8 #C862AC
square
#C8B162 #62C87E #6279C8 #C862AC
split-complementary
#C8B162 #62ACC8 #7E62C8
monochromatic
#826F2E #AF963D #C8B162 #D8C88F #E8DEBD
Accessibility & contrast
On white
2.12
#C8B162 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.92
#C8B162 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C8B162
9.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C8B162 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C8B162 | 1.00 | 2.12 | 9.92 | 9.92 |
| #FFFFFF | 2.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0AE5B
Deuteranopia (green-blind)
#C6B565
Tritanopia (blue-blind)
#D6A69E
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #c8b162; /* rgb */ color: rgb(200, 177, 98); /* oklch */ color: oklch(76.3% 0.103 93.6);
Tailwind
colors: {
custom: {
50: '#dbc890',
500: '#c8b162',
950: '#000000',
},
}SCSS
$custom: #c8b162; $custom-light: #dbc890; $custom-dark: #000000;
JSON
{
"hex": "#c8b162",
"rgb": {
"r": 200,
"g": 177,
"b": 98
},
"hsl": {
"h": 46.471,
"s": 48.113,
"l": 58.431
},
"oklch": {
"l": 0.76345,
"c": 0.10283,
"h": 93.6
},
"luminance": 0.44605
}Semantic roles & 50–950 ramp
primary
#C8B162
secondary
#AFB8D7
accent
#6FD850
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130D
muted
#83827D