#B9B671#B9B671
#B9B671 is a light, moderate yellow. Relative luminance 0.450; OKLCH L 76.3% C 0.090 H 106.2°. Best body text is #000000 at 9.99:1 contrast (WCAG AA passes).
Color values
| HEX | #B9B671 |
|---|---|
| RGB | rgb(185, 182, 113) |
| HSL | hsl(58, 34%, 58%) |
| HSV | hsv(58, 39%, 73%) |
| CMYK | cmyk(0%, 1.6%, 38.9%, 27.5%) |
| CIE-LAB | lab(72.87, -9.24, 35.50) |
| CIE-LCH | lch(72.87, 36.68, 104.59°) |
| OKLab | oklab(76.29% -0.0252 0.0867) |
| OKLCH | oklch(76.29% 0.09 106.2) |
| XYZ | xyz(39.7168, 44.9633, 22.2062) |
| Luminance | 0.4496 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 1.65
Khaki (survey)
#AAA662
ΔE00 4.52
Sand
#C2B280
ΔE00 5.98
Light Olive
#ACBF69
ΔE00 6.18
Tan Green
#A9BE70
ΔE00 6.40
Greenish Tan
#BCCB7A
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B9B671 #7174B9
analogous
#B99271 #B9B671 #98B971
triadic
#B9B671 #71B9B6 #B671B9
tetradic
#B9B671 #71B992 #7174B9 #B97198
square
#B9B671 #71B992 #7174B9 #B97198
split-complementary
#B9B671 #7198B9 #9271B9
monochromatic
#76733A #9F9B4E #B9B671 #CDCB9A #E1E0C3
Accessibility & contrast
On white
2.10
#B9B671 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.99
#B9B671 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B9B671
9.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B9B671 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B9B671 | 1.00 | 2.10 | 9.99 | 9.99 |
| #FFFFFF | 2.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1B16C
Deuteranopia (green-blind)
#C3B474
Tritanopia (blue-blind)
#C3AEA5
Achromatopsia (no color)
#B3B3B3
Design tokens & code
CSS
--color: #b9b671; /* rgb */ color: rgb(185, 182, 113); /* oklch */ color: oklch(76.3% 0.090 106.2);
Tailwind
colors: {
custom: {
50: '#cfcb9b',
500: '#b9b671',
950: '#000000',
},
}SCSS
$custom: #b9b671; $custom-light: #cfcb9b; $custom-dark: #000000;
JSON
{
"hex": "#b9b671",
"rgb": {
"r": 185,
"g": 182,
"b": 113
},
"hsl": {
"h": 57.5,
"s": 33.962,
"l": 58.431
},
"oklch": {
"l": 0.76287,
"c": 0.09028,
"h": 106.2
},
"luminance": 0.44962
}Semantic roles & 50–950 ramp
primary
#B9B671
secondary
#B5B6D1
accent
#62CA5E
background
#FCFCF9
surface
#F9F8F2
border
#D2D1CC
text
#14130E
muted
#82827E