#B5A87F#B5A87F
#B5A87F is a light, muted yellow. Relative luminance 0.394; OKLCH L 73.2% C 0.058 H 92.6°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).
Color values
| HEX | #B5A87F |
|---|---|
| RGB | rgb(181, 168, 127) |
| HSL | hsl(46, 27%, 60%) |
| HSV | hsv(46, 30%, 71%) |
| CMYK | cmyk(0%, 7.2%, 29.8%, 29%) |
| CIE-LAB | lab(69.01, -1.72, 22.93) |
| CIE-LCH | lch(69.01, 22.99, 94.28°) |
| OKLab | oklab(73.23% -0.0026 0.0578) |
| OKLCH | oklch(73.23% 0.058 92.6) |
| XYZ | xyz(36.8898, 39.3623, 25.7290) |
| Luminance | 0.3936 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Putty
#BEAE8A
ΔE00 2.94
Stone (survey)
#ADA587
ΔE00 3.60
Sand
#C2B280
ΔE00 3.66
Bland
#AFA88B
ΔE00 3.93
Toupe
#C7AC7D
ΔE00 5.31
Khaki
#C3B091
ΔE00 5.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5A87F #7F8CB5
analogous
#B58D7F #B5A87F #A7B57F
triadic
#B5A87F #7FB5A8 #A87FB5
tetradic
#B5A87F #7FB58D #7F8CB5 #B57FA7
square
#B5A87F #7FB58D #7F8CB5 #B57FA7
split-complementary
#B5A87F #7FA7B5 #8D7FB5
monochromatic
#766A44 #9C8D5A #B5A87F #CBC2A6 #E2DDCD
Accessibility & contrast
On white
2.37
#B5A87F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.87
#B5A87F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B5A87F
8.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5A87F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B5A87F | 1.00 | 2.37 | 8.87 | 8.87 |
| #FFFFFF | 2.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B1A67C
Deuteranopia (green-blind)
#B4AA80
Tritanopia (blue-blind)
#BEA29D
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #b5a87f; /* rgb */ color: rgb(181, 168, 127); /* oklch */ color: oklch(73.2% 0.058 92.6);
Tailwind
colors: {
custom: {
50: '#ccc1a4',
500: '#b5a87f',
950: '#000000',
},
}SCSS
$custom: #b5a87f; $custom-light: #ccc1a4; $custom-dark: #000000;
JSON
{
"hex": "#b5a87f",
"rgb": {
"r": 181,
"g": 168,
"b": 127
},
"hsl": {
"h": 45.556,
"s": 26.733,
"l": 60.392
},
"oklch": {
"l": 0.73231,
"c": 0.05782,
"h": 92.6
},
"luminance": 0.39361
}Semantic roles & 50–950 ramp
primary
#B5A87F
secondary
#BEC3D2
accent
#59A540
background
#FCFBFA
surface
#F9F7F4
border
#D2D0CE
text
#13120F
muted
#82817F