#B9B571#B9B571
#B9B571 is a light, moderate yellow. Relative luminance 0.446; OKLCH L 76.1% C 0.089 H 105.4°. Best body text is #000000 at 9.91:1 contrast (WCAG AA passes).
Color values
| HEX | #B9B571 |
|---|---|
| RGB | rgb(185, 181, 113) |
| HSL | hsl(57, 34%, 58%) |
| HSV | hsv(57, 39%, 73%) |
| CMYK | cmyk(0%, 2.2%, 38.9%, 27.5%) |
| CIE-LAB | lab(72.60, -8.72, 35.15) |
| CIE-LCH | lch(72.60, 36.22, 103.93°) |
| OKLab | oklab(76.07% -0.0237 0.0859) |
| OKLCH | oklch(76.07% 0.089 105.4) |
| XYZ | xyz(39.5127, 44.5552, 22.1382) |
| Luminance | 0.4455 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 1.71
Khaki (survey)
#AAA662
ΔE00 4.30
Sand
#C2B280
ΔE00 5.64
Light Olive
#ACBF69
ΔE00 6.55
Tan Green
#A9BE70
ΔE00 6.75
Greenish Tan
#BCCB7A
ΔE00 7.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B9B571 #7175B9
analogous
#B99171 #B9B571 #99B971
triadic
#B9B571 #71B9B5 #B571B9
tetradic
#B9B571 #71B991 #7175B9 #B97199
square
#B9B571 #71B991 #7175B9 #B97199
split-complementary
#B9B571 #7199B9 #9171B9
monochromatic
#76723A #9F9A4E #B9B571 #CDCA9A #E1E0C3
Accessibility & contrast
On white
2.12
#B9B571 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.91
#B9B571 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B9B571
9.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B9B571 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B9B571 | 1.00 | 2.12 | 9.91 | 9.91 |
| #FFFFFF | 2.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0B06C
Deuteranopia (green-blind)
#C2B474
Tritanopia (blue-blind)
#C3ADA4
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #b9b571; /* rgb */ color: rgb(185, 181, 113); /* oklch */ color: oklch(76.1% 0.089 105.4);
Tailwind
colors: {
custom: {
50: '#cfcb9b',
500: '#b9b571',
950: '#000000',
},
}SCSS
$custom: #b9b571; $custom-light: #cfcb9b; $custom-dark: #000000;
JSON
{
"hex": "#b9b571",
"rgb": {
"r": 185,
"g": 181,
"b": 113
},
"hsl": {
"h": 56.667,
"s": 33.962,
"l": 58.431
},
"oklch": {
"l": 0.76073,
"c": 0.08911,
"h": 105.4
},
"luminance": 0.44554
}Semantic roles & 50–950 ramp
primary
#B9B571
secondary
#B5B6D1
accent
#64CA5E
background
#FCFCF9
surface
#F9F8F2
border
#D2D1CC
text
#14130E
muted
#82827E