#C8B157#C8B157
#C8B157 is a light, moderate yellow. Relative luminance 0.444; OKLCH L 76.2% C 0.113 H 95.2°. Best body text is #000000 at 9.88:1 contrast (WCAG AA passes).
Color values
| HEX | #C8B157 |
|---|---|
| RGB | rgb(200, 177, 87) |
| HSL | hsl(48, 51%, 56%) |
| HSV | hsv(48, 57%, 78%) |
| CMYK | cmyk(0%, 11.5%, 56.5%, 21.6%) |
| CIE-LAB | lab(72.50, -2.88, 48.36) |
| CIE-LCH | lch(72.50, 48.44, 93.41°) |
| OKLab | oklab(76.2% -0.0103 0.113) |
| OKLCH | oklch(76.2% 0.113 95.2) |
| XYZ | xyz(41.2635, 44.4136, 15.4142) |
| Luminance | 0.4441 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 3.58
Sandy Brown
#C4A661
ΔE00 5.20
Tan (survey)
#D1B26F
ΔE00 5.23
Darkkhaki
#BDB76B
ΔE00 5.61
Sandstone
#C9AE74
ΔE00 6.27
Mustard
#DBB42C
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C8B157 #576EC8
analogous
#C87957 #C8B157 #A7C857
triadic
#C8B157 #57C8B1 #B157C8
tetradic
#C8B157 #57C879 #576EC8 #C857A7
square
#C8B157 #57C879 #576EC8 #C857A7
split-complementary
#C8B157 #57A7C8 #7957C8
monochromatic
#7C6B29 #AA9338 #C8B157 #D7C685 #E6DCB3
Accessibility & contrast
On white
2.12
#C8B157 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.88
#C8B157 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C8B157
9.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C8B157 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C8B157 | 1.00 | 2.12 | 9.88 | 9.88 |
| #FFFFFF | 2.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1AE4E
Deuteranopia (green-blind)
#C7B55B
Tritanopia (blue-blind)
#D6A59D
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #c8b157; /* rgb */ color: rgb(200, 177, 87); /* oklch */ color: oklch(76.2% 0.113 95.2);
Tailwind
colors: {
custom: {
50: '#dbc889',
500: '#c8b157',
950: '#000000',
},
}SCSS
$custom: #c8b157; $custom-light: #dbc889; $custom-dark: #000000;
JSON
{
"hex": "#c8b157",
"rgb": {
"r": 200,
"g": 177,
"b": 87
},
"hsl": {
"h": 47.788,
"s": 50.673,
"l": 56.275
},
"oklch": {
"l": 0.76202,
"c": 0.11346,
"h": 95.2
},
"luminance": 0.44412
}Semantic roles & 50–950 ramp
primary
#C8B157
secondary
#A6B0D5
accent
#6ADA4E
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D