#B2A471#B2A471
#B2A471 is a light, moderate yellow. Relative luminance 0.372; OKLCH L 71.8% C 0.070 H 94.6°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).
Color values
| HEX | #B2A471 |
|---|---|
| RGB | rgb(178, 164, 113) |
| HSL | hsl(47, 30%, 57%) |
| HSV | hsv(47, 37%, 70%) |
| CMYK | cmyk(0%, 7.9%, 36.5%, 30.2%) |
| CIE-LAB | lab(67.43, -2.56, 28.34) |
| CIE-LCH | lch(67.43, 28.45, 95.16°) |
| OKLab | oklab(71.84% -0.0056 0.0702) |
| OKLCH | oklch(71.84% 0.07 94.6) |
| XYZ | xyz(34.6168, 37.2092, 20.9782) |
| Luminance | 0.3721 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand
#C2B280
ΔE00 4.21
Khaki (survey)
#AAA662
ΔE00 4.97
Putty
#BEAE8A
ΔE00 5.41
Sandstone
#C9AE74
ΔE00 5.56
Dust
#B2996E
ΔE00 5.59
Stone (survey)
#ADA587
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2A471 #717FB2
analogous
#B28471 #B2A471 #A0B271
triadic
#B2A471 #71B2A4 #A471B2
tetradic
#B2A471 #71B284 #717FB2 #B271A0
square
#B2A471 #71B284 #717FB2 #B271A0
split-complementary
#B2A471 #71A0B2 #8471B2
monochromatic
#6D633B #958651 #B2A471 #C8BD99 #DDD7C0
Accessibility & contrast
On white
2.49
#B2A471 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.44
#B2A471 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2A471
8.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2A471 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2A471 | 1.00 | 2.49 | 8.44 | 8.44 |
| #FFFFFF | 2.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.44 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.44 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AEA26D
Deuteranopia (green-blind)
#B2A673
Tritanopia (blue-blind)
#BC9D97
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #b2a471; /* rgb */ color: rgb(178, 164, 113); /* oklch */ color: oklch(71.8% 0.070 94.6);
Tailwind
colors: {
custom: {
50: '#cabe9a',
500: '#b2a471',
950: '#000000',
},
}SCSS
$custom: #b2a471; $custom-light: #cabe9a; $custom-dark: #000000;
JSON
{
"hex": "#b2a471",
"rgb": {
"r": 178,
"g": 164,
"b": 113
},
"hsl": {
"h": 47.077,
"s": 29.68,
"l": 57.059
},
"oklch": {
"l": 0.7184,
"c": 0.07045,
"h": 94.6
},
"luminance": 0.37208
}Semantic roles & 50–950 ramp
primary
#B2A471
secondary
#B2B8CD
accent
#77C662
background
#FCFBF9
surface
#F8F6F2
border
#D1D0CC
text
#13120E
muted
#82817E