#B2B671#B2B671
#B2B671 is a light, moderate yellow. Relative luminance 0.441; OKLCH L 75.7% C 0.091 H 111.2°. Best body text is #000000 at 9.82:1 contrast (WCAG AA passes).
Color values
| HEX | #B2B671 |
|---|---|
| RGB | rgb(178, 182, 113) |
| HSL | hsl(63, 32%, 58%) |
| HSV | hsv(63, 38%, 71%) |
| CMYK | cmyk(2.2%, 0%, 37.9%, 28.6%) |
| CIE-LAB | lab(72.30, -12.06, 34.66) |
| CIE-LCH | lch(72.30, 36.70, 109.18°) |
| OKLab | oklab(75.7% -0.0329 0.0848) |
| OKLCH | oklch(75.7% 0.091 111.2) |
| XYZ | xyz(38.0690, 44.1137, 22.1289) |
| Luminance | 0.4411 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 3.39
Tan Green
#A9BE70
ΔE00 4.53
Light Olive
#ACBF69
ΔE00 4.60
Khaki (survey)
#AAA662
ΔE00 4.78
Greenish Tan
#BCCB7A
ΔE00 5.79
Pale Olive
#B9CC81
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2B671 #7571B6
analogous
#B69771 #B2B671 #8FB671
triadic
#B2B671 #71B2B6 #B671B2
tetradic
#B2B671 #71B697 #7571B6 #B6718F
square
#B2B671 #71B697 #7571B6 #B6718F
split-complementary
#B2B671 #718FB6 #9771B6
monochromatic
#6F723B #969A4F #B2B671 #C8CB99 #DEE0C2
Accessibility & contrast
On white
2.14
#B2B671 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.82
#B2B671 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2B671
9.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2B671 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2B671 | 1.00 | 2.14 | 9.82 | 9.82 |
| #FFFFFF | 2.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0B06C
Deuteranopia (green-blind)
#C0B274
Tritanopia (blue-blind)
#BAAEA5
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #b2b671; /* rgb */ color: rgb(178, 182, 113); /* oklch */ color: oklch(75.7% 0.091 111.2);
Tailwind
colors: {
custom: {
50: '#cacb9b',
500: '#b2b671',
950: '#000000',
},
}SCSS
$custom: #b2b671; $custom-light: #cacb9b; $custom-dark: #000000;
JSON
{
"hex": "#b2b671",
"rgb": {
"r": 178,
"g": 182,
"b": 113
},
"hsl": {
"h": 63.478,
"s": 32.093,
"l": 57.843
},
"oklch": {
"l": 0.75701,
"c": 0.09101,
"h": 111.2
},
"luminance": 0.44113
}Semantic roles & 50–950 ramp
primary
#B2B671
secondary
#B5B4CF
accent
#60C866
background
#FCFCF9
surface
#F8F8F2
border
#D1D1CC
text
#13130E
muted
#82827E