#B5A96F#B5A96F
#B5A96F is a light, moderate yellow. Relative luminance 0.393; OKLCH L 73.1% C 0.078 H 97.9°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).
Color values
| HEX | #B5A96F |
|---|---|
| RGB | rgb(181, 169, 111) |
| HSL | hsl(50, 32%, 57%) |
| HSV | hsv(50, 39%, 71%) |
| CMYK | cmyk(0%, 6.6%, 38.7%, 29%) |
| CIE-LAB | lab(69.00, -4.25, 31.50) |
| CIE-LCH | lch(69.00, 31.79, 97.68°) |
| OKLab | oklab(73.13% -0.0108 0.0775) |
| OKLCH | oklch(73.13% 0.078 97.9) |
| XYZ | xyz(36.1139, 39.3485, 20.7285) |
| Luminance | 0.3935 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 3.62
Sand
#C2B280
ΔE00 3.80
Darkkhaki
#BDB76B
ΔE00 5.17
Sandstone
#C9AE74
ΔE00 5.46
Sandy Brown
#C4A661
ΔE00 5.89
Putty
#BEAE8A
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5A96F #6F7BB5
analogous
#B5866F #B5A96F #9EB56F
triadic
#B5A96F #6FB5A9 #A96FB5
tetradic
#B5A96F #6FB586 #6F7BB5 #B56F9E
square
#B5A96F #6FB586 #6F7BB5 #B56F9E
split-complementary
#B5A96F #6F9EB5 #866FB5
monochromatic
#70673A #988C4E #B5A96F #CAC197 #DFD9C0
Accessibility & contrast
On white
2.37
#B5A96F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.87
#B5A96F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B5A96F
8.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5A96F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B5A96F | 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)
#B4A66B
Deuteranopia (green-blind)
#B7AA71
Tritanopia (blue-blind)
#BFA19A
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #b5a96f; /* rgb */ color: rgb(181, 169, 111); /* oklch */ color: oklch(73.1% 0.078 97.9);
Tailwind
colors: {
custom: {
50: '#ccc299',
500: '#b5a96f',
950: '#000000',
},
}SCSS
$custom: #b5a96f; $custom-light: #ccc299; $custom-dark: #000000;
JSON
{
"hex": "#b5a96f",
"rgb": {
"r": 181,
"g": 169,
"b": 111
},
"hsl": {
"h": 49.714,
"s": 32.11,
"l": 57.255
},
"oklch": {
"l": 0.73132,
"c": 0.07822,
"h": 97.9
},
"luminance": 0.39347
}Semantic roles & 50–950 ramp
primary
#B5A96F
secondary
#B2B7CE
accent
#71C860
background
#FCFBF9
surface
#F9F7F2
border
#D2D0CC
text
#13120E
muted
#82817E