#B7B671#B7B671
#B7B671 is a light, moderate yellow. Relative luminance 0.447; OKLCH L 76.1% C 0.090 H 107.6°. Best body text is #000000 at 9.94:1 contrast (WCAG AA passes).
Color values
| HEX | #B7B671 |
|---|---|
| RGB | rgb(183, 182, 113) |
| HSL | hsl(59, 33%, 58%) |
| HSV | hsv(59, 38%, 72%) |
| CMYK | cmyk(0%, 0.5%, 38.3%, 28.2%) |
| CIE-LAB | lab(72.70, -10.05, 35.25) |
| CIE-LCH | lch(72.70, 36.66, 105.91°) |
| OKLab | oklab(76.12% -0.0274 0.0862) |
| OKLCH | oklch(76.12% 0.09 107.6) |
| XYZ | xyz(39.2375, 44.7162, 22.1837) |
| Luminance | 0.4471 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 2.09
Khaki (survey)
#AAA662
ΔE00 4.50
Light Olive
#ACBF69
ΔE00 5.68
Tan Green
#A9BE70
ΔE00 5.84
Greenish Tan
#BCCB7A
ΔE00 6.36
Sand
#C2B280
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7B671 #7172B7
analogous
#B79371 #B7B671 #95B771
triadic
#B7B671 #71B7B6 #B671B7
tetradic
#B7B671 #71B793 #7172B7 #B77195
square
#B7B671 #71B793 #7172B7 #B77195
split-complementary
#B7B671 #7195B7 #9371B7
monochromatic
#73723A #9C9B4F #B7B671 #CCCB9A #E0E0C2
Accessibility & contrast
On white
2.11
#B7B671 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.94
#B7B671 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B7B671
9.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7B671 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B7B671 | 1.00 | 2.11 | 9.94 | 9.94 |
| #FFFFFF | 2.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1B16C
Deuteranopia (green-blind)
#C2B474
Tritanopia (blue-blind)
#C0AEA5
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #b7b671; /* rgb */ color: rgb(183, 182, 113); /* oklch */ color: oklch(76.1% 0.090 107.6);
Tailwind
colors: {
custom: {
50: '#cecb9b',
500: '#b7b671',
950: '#000000',
},
}SCSS
$custom: #b7b671; $custom-light: #cecb9b; $custom-dark: #000000;
JSON
{
"hex": "#b7b671",
"rgb": {
"r": 183,
"g": 182,
"b": 113
},
"hsl": {
"h": 59.143,
"s": 32.71,
"l": 58.039
},
"oklch": {
"l": 0.76117,
"c": 0.09041,
"h": 107.6
},
"luminance": 0.44715
}Semantic roles & 50–950 ramp
primary
#B7B671
secondary
#B4B4D0
accent
#60C95F
background
#FCFCF9
surface
#F9F8F2
border
#D2D1CC
text
#14130E
muted
#82827E