#B9B471#B9B471
#B9B471 is a light, moderate yellow. Relative luminance 0.441; OKLCH L 75.9% C 0.088 H 104.6°. Best body text is #000000 at 9.83:1 contrast (WCAG AA passes).
Color values
| HEX | #B9B471 |
|---|---|
| RGB | rgb(185, 180, 113) |
| HSL | hsl(56, 34%, 58%) |
| HSV | hsv(56, 39%, 73%) |
| CMYK | cmyk(0%, 2.7%, 38.9%, 27.5%) |
| CIE-LAB | lab(72.33, -8.20, 34.81) |
| CIE-LCH | lch(72.33, 35.76, 103.26°) |
| OKLab | oklab(75.86% -0.0222 0.0851) |
| OKLCH | oklch(75.86% 0.088 104.6) |
| XYZ | xyz(39.3101, 44.1500, 22.0706) |
| Luminance | 0.4415 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 1.86
Khaki (survey)
#AAA662
ΔE00 4.11
Sand
#C2B280
ΔE00 5.31
Light Olive
#ACBF69
ΔE00 6.94
Tan Green
#A9BE70
ΔE00 7.11
Greenish Tan
#BCCB7A
ΔE00 7.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B9B471 #7176B9
analogous
#B99071 #B9B471 #9AB971
triadic
#B9B471 #71B9B4 #B471B9
tetradic
#B9B471 #71B990 #7176B9 #B9719A
square
#B9B471 #71B990 #7176B9 #B9719A
split-complementary
#B9B471 #719AB9 #9071B9
monochromatic
#76713A #9F994E #B9B471 #CDCA9A #E1DFC3
Accessibility & contrast
On white
2.14
#B9B471 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.83
#B9B471 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B9B471
9.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B9B471 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B9B471 | 1.00 | 2.14 | 9.83 | 9.83 |
| #FFFFFF | 2.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BFAF6C
Deuteranopia (green-blind)
#C1B374
Tritanopia (blue-blind)
#C3ACA3
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #b9b471; /* rgb */ color: rgb(185, 180, 113); /* oklch */ color: oklch(75.9% 0.088 104.6);
Tailwind
colors: {
custom: {
50: '#cfca9b',
500: '#b9b471',
950: '#000000',
},
}SCSS
$custom: #b9b471; $custom-light: #cfca9b; $custom-dark: #000000;
JSON
{
"hex": "#b9b471",
"rgb": {
"r": 185,
"g": 180,
"b": 113
},
"hsl": {
"h": 55.833,
"s": 33.962,
"l": 58.431
},
"oklch": {
"l": 0.75859,
"c": 0.08796,
"h": 104.6
},
"luminance": 0.44149
}Semantic roles & 50–950 ramp
primary
#B9B471
secondary
#B5B7D1
accent
#65CA5E
background
#FCFCF9
surface
#F9F8F2
border
#D2D1CC
text
#14130E
muted
#82827E