#C8B257#C8B257
#C8B257 is a light, moderate yellow. Relative luminance 0.448; OKLCH L 76.4% C 0.114 H 95.9°. Best body text is #000000 at 9.96:1 contrast (WCAG AA passes).
Color values
| HEX | #C8B257 |
|---|---|
| RGB | rgb(200, 178, 87) |
| HSL | hsl(48, 51%, 56%) |
| HSV | hsv(48, 57%, 78%) |
| CMYK | cmyk(0%, 11%, 56.5%, 21.6%) |
| CIE-LAB | lab(72.77, -3.41, 48.66) |
| CIE-LCH | lch(72.77, 48.78, 94.01°) |
| OKLab | oklab(76.41% -0.0118 0.1137) |
| OKLCH | oklch(76.41% 0.114 95.9) |
| XYZ | xyz(41.4617, 44.8101, 15.4802) |
| Luminance | 0.4481 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 3.95
Darkkhaki
#BDB76B
ΔE00 5.38
Tan (survey)
#D1B26F
ΔE00 5.50
Sandy Brown
#C4A661
ΔE00 5.57
Sand (survey)
#E2CA76
ΔE00 6.50
Sandstone
#C9AE74
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C8B257 #576DC8
analogous
#C87A57 #C8B257 #A6C857
triadic
#C8B257 #57C8B2 #B257C8
tetradic
#C8B257 #57C87A #576DC8 #C857A6
square
#C8B257 #57C87A #576DC8 #C857A6
split-complementary
#C8B257 #57A6C8 #7A57C8
monochromatic
#7C6C29 #AA9438 #C8B257 #D7C785 #E6DCB3
Accessibility & contrast
On white
2.11
#C8B257 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.96
#C8B257 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C8B257
9.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C8B257 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C8B257 | 1.00 | 2.11 | 9.96 | 9.96 |
| #FFFFFF | 2.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C2AE4E
Deuteranopia (green-blind)
#C7B65B
Tritanopia (blue-blind)
#D6A69D
Achromatopsia (no color)
#B3B3B3
Design tokens & code
CSS
--color: #c8b257; /* rgb */ color: rgb(200, 178, 87); /* oklch */ color: oklch(76.4% 0.114 95.9);
Tailwind
colors: {
custom: {
50: '#dbc889',
500: '#c8b257',
950: '#000000',
},
}SCSS
$custom: #c8b257; $custom-light: #dbc889; $custom-dark: #000000;
JSON
{
"hex": "#c8b257",
"rgb": {
"r": 200,
"g": 178,
"b": 87
},
"hsl": {
"h": 48.319,
"s": 50.673,
"l": 56.275
},
"oklch": {
"l": 0.7641,
"c": 0.11426,
"h": 95.9
},
"luminance": 0.44808
}Semantic roles & 50–950 ramp
primary
#C8B257
secondary
#A6AFD5
accent
#69DA4E
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D