#B4B587#B4B587
#B4B587 is a light, moderate yellow. Relative luminance 0.445; OKLCH L 76.1% C 0.062 H 108.8°. Best body text is #000000 at 9.90:1 contrast (WCAG AA passes).
Color values
| HEX | #B4B587 |
|---|---|
| RGB | rgb(180, 181, 135) |
| HSL | hsl(61, 24%, 62%) |
| HSV | hsv(61, 25%, 71%) |
| CMYK | cmyk(0.6%, 0%, 25.4%, 29%) |
| CIE-LAB | lab(72.56, -7.92, 23.40) |
| CIE-LCH | lch(72.56, 24.71, 108.69°) |
| OKLab | oklab(76.07% -0.0201 0.0591) |
| OKLCH | oklch(76.07% 0.062 108.8) |
| XYZ | xyz(39.7194, 44.5008, 29.4141) |
| Luminance | 0.4450 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand
#C2B280
ΔE00 6.02
Bland
#AFA88B
ΔE00 6.66
Sage Green
#9CAF88
ΔE00 6.76
Darkkhaki
#BDB76B
ΔE00 6.80
Khaki (survey)
#AAA662
ΔE00 6.88
Stone (survey)
#ADA587
ΔE00 7.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4B587 #8887B5
analogous
#B59F87 #B4B587 #9DB587
triadic
#B4B587 #87B4B5 #B587B4
tetradic
#B4B587 #87B59F #8887B5 #B5879D
square
#B4B587 #87B59F #8887B5 #B5879D
split-complementary
#B4B587 #879DB5 #9F87B5
monochromatic
#77784A #9C9E61 #B4B587 #CCCCAD #E3E4D3
Accessibility & contrast
On white
2.12
#B4B587 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.90
#B4B587 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B4B587
9.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4B587 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B4B587 | 1.00 | 2.12 | 9.90 | 9.90 |
| #FFFFFF | 2.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BDB184
Deuteranopia (green-blind)
#BDB389
Tritanopia (blue-blind)
#BBAFA9
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #b4b587; /* rgb */ color: rgb(180, 181, 135); /* oklch */ color: oklch(76.1% 0.062 108.8);
Tailwind
colors: {
custom: {
50: '#cbcbaa',
500: '#b4b587',
950: '#000000',
},
}SCSS
$custom: #b4b587; $custom-light: #cbcbaa; $custom-dark: #000000;
JSON
{
"hex": "#b4b587",
"rgb": {
"r": 180,
"g": 181,
"b": 135
},
"hsl": {
"h": 61.304,
"s": 23.711,
"l": 61.961
},
"oklch": {
"l": 0.76066,
"c": 0.06239,
"h": 108.8
},
"luminance": 0.445
}Semantic roles & 50–950 ramp
primary
#B4B587
secondary
#C4C3D4
accent
#43A245
background
#FCFCFA
surface
#F8F8F4
border
#D1D1CE
text
#131310
muted
#82827F