#B2A371#B2A371
#B2A371 is a light, moderate yellow. Relative luminance 0.369; OKLCH L 71.6% C 0.070 H 93.4°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).
Color values
| HEX | #B2A371 |
|---|---|
| RGB | rgb(178, 163, 113) |
| HSL | hsl(46, 30%, 57%) |
| HSV | hsv(46, 37%, 70%) |
| CMYK | cmyk(0%, 8.4%, 36.5%, 30.2%) |
| CIE-LAB | lab(67.17, -2.02, 27.99) |
| CIE-LCH | lch(67.17, 28.06, 94.13°) |
| OKLab | oklab(71.63% -0.0041 0.0694) |
| OKLCH | oklch(71.63% 0.07 93.4) |
| XYZ | xyz(34.4385, 36.8527, 20.9188) |
| Luminance | 0.3685 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand
#C2B280
ΔE00 4.37
Dust
#B2996E
ΔE00 5.08
Putty
#BEAE8A
ΔE00 5.27
Khaki (survey)
#AAA662
ΔE00 5.40
Sandstone
#C9AE74
ΔE00 5.50
Toupe
#C7AC7D
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2A371 #7180B2
analogous
#B28371 #B2A371 #A1B271
triadic
#B2A371 #71B2A3 #A371B2
tetradic
#B2A371 #71B283 #7180B2 #B271A1
square
#B2A371 #71B283 #7180B2 #B271A1
split-complementary
#B2A371 #71A1B2 #8371B2
monochromatic
#6D623B #958551 #B2A371 #C8BD99 #DDD6C0
Accessibility & contrast
On white
2.51
#B2A371 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.37
#B2A371 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2A371
8.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2A371 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2A371 | 1.00 | 2.51 | 8.37 | 8.37 |
| #FFFFFF | 2.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#ADA16D
Deuteranopia (green-blind)
#B1A673
Tritanopia (blue-blind)
#BC9C96
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #b2a371; /* rgb */ color: rgb(178, 163, 113); /* oklch */ color: oklch(71.6% 0.070 93.4);
Tailwind
colors: {
custom: {
50: '#cabe9a',
500: '#b2a371',
950: '#000000',
},
}SCSS
$custom: #b2a371; $custom-light: #cabe9a; $custom-dark: #000000;
JSON
{
"hex": "#b2a371",
"rgb": {
"r": 178,
"g": 163,
"b": 113
},
"hsl": {
"h": 46.154,
"s": 29.68,
"l": 57.059
},
"oklch": {
"l": 0.71629,
"c": 0.06952,
"h": 93.4
},
"luminance": 0.36852
}Semantic roles & 50–950 ramp
primary
#B2A371
secondary
#B2B8CD
accent
#79C662
background
#FCFBF9
surface
#F8F6F2
border
#D1D0CC
text
#13120E
muted
#82817E