#C5BF8A#C5BF8A
#C5BF8A is a light, moderate yellow. Relative luminance 0.510; OKLCH L 79.7% C 0.071 H 102.4°. Best body text is #000000 at 11.19:1 contrast (WCAG AA passes).
Color values
| HEX | #C5BF8A |
|---|---|
| RGB | rgb(197, 191, 138) |
| HSL | hsl(54, 34%, 66%) |
| HSV | hsv(54, 30%, 77%) |
| CMYK | cmyk(0%, 3%, 29.9%, 22.7%) |
| CIE-LAB | lab(76.66, -6.14, 27.56) |
| CIE-LCH | lch(76.66, 28.24, 102.55°) |
| OKLab | oklab(79.66% -0.0152 0.069) |
| OKLCH | oklch(79.66% 0.071 102.4) |
| XYZ | xyz(46.2445, 50.9678, 31.4415) |
| Luminance | 0.5097 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand
#C2B280
ΔE00 4.62
Darkkhaki
#BDB76B
ΔE00 5.30
Beige (survey)
#E6DAA6
ΔE00 7.19
Putty
#BEAE8A
ΔE00 7.28
Greenish Tan
#BCCB7A
ΔE00 7.70
Sandstone
#C9AE74
ΔE00 7.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C5BF8A #8A90C5
analogous
#C5A18A #C5BF8A #ADC58A
triadic
#C5BF8A #8AC5BF #BF8AC5
tetradic
#C5BF8A #8AC5A1 #8A90C5 #C58AAD
square
#C5BF8A #8AC5A1 #8A90C5 #C58AAD
split-complementary
#C5BF8A #8AADC5 #A18AC5
monochromatic
#8E8746 #B1A961 #C5BF8A #D9D5B3 #EEECDC
Accessibility & contrast
On white
1.88
#C5BF8A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.19
#C5BF8A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C5BF8A
11.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C5BF8A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C5BF8A | 1.00 | 1.88 | 11.19 | 11.19 |
| #FFFFFF | 1.88 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C9BB86
Deuteranopia (green-blind)
#CBBF8C
Tritanopia (blue-blind)
#CEB8B1
Achromatopsia (no color)
#BDBDBD
Design tokens & code
CSS
--color: #c5bf8a; /* rgb */ color: rgb(197, 191, 138); /* oklch */ color: oklch(79.7% 0.071 102.4);
Tailwind
colors: {
custom: {
50: '#d7d2ac',
500: '#c5bf8a',
950: '#000000',
},
}SCSS
$custom: #c5bf8a; $custom-light: #d7d2ac; $custom-dark: #000000;
JSON
{
"hex": "#c5bf8a",
"rgb": {
"r": 197,
"g": 191,
"b": 138
},
"hsl": {
"h": 53.898,
"s": 33.714,
"l": 65.686
},
"oklch": {
"l": 0.79664,
"c": 0.07067,
"h": 102.4
},
"luminance": 0.50967
}Semantic roles & 50–950 ramp
primary
#C5BF8A
secondary
#5D6396
accent
#45AD39
background
#FEFEFD
surface
#FBFBF7
border
#D4D4D0
text
#141410
muted
#838381