#B2AB71#B2AB71
#B2AB71 is a light, moderate yellow. Relative luminance 0.398; OKLCH L 73.3% C 0.078 H 102.2°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).
Color values
| HEX | #B2AB71 |
|---|---|
| RGB | rgb(178, 171, 113) |
| HSL | hsl(54, 30%, 57%) |
| HSV | hsv(54, 37%, 70%) |
| CMYK | cmyk(0%, 3.9%, 36.5%, 30.2%) |
| CIE-LAB | lab(69.32, -6.30, 30.80) |
| CIE-LCH | lch(69.32, 31.44, 101.55°) |
| OKLab | oklab(73.33% -0.0164 0.076) |
| OKLCH | oklch(73.33% 0.078 102.2) |
| XYZ | xyz(35.9041, 39.7839, 21.4073) |
| Luminance | 0.3978 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 2.89
Sand
#C2B280
ΔE00 4.55
Darkkhaki
#BDB76B
ΔE00 4.61
Sandstone
#C9AE74
ΔE00 6.91
Putty
#BEAE8A
ΔE00 7.10
Stone (survey)
#ADA587
ΔE00 7.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2AB71 #7178B2
analogous
#B28B71 #B2AB71 #99B271
triadic
#B2AB71 #71B2AB #AB71B2
tetradic
#B2AB71 #71B28B #7178B2 #B27199
square
#B2AB71 #71B28B #7178B2 #B27199
split-complementary
#B2AB71 #7199B2 #8B71B2
monochromatic
#6D683B #958E51 #B2AB71 #C8C299 #DDDAC0
Accessibility & contrast
On white
2.34
#B2AB71 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.96
#B2AB71 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2AB71
8.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2AB71 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2AB71 | 1.00 | 2.34 | 8.96 | 8.96 |
| #FFFFFF | 2.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B5A76D
Deuteranopia (green-blind)
#B7AB73
Tritanopia (blue-blind)
#BBA39C
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #b2ab71; /* rgb */ color: rgb(178, 171, 113); /* oklch */ color: oklch(73.3% 0.078 102.2);
Tailwind
colors: {
custom: {
50: '#cac39a',
500: '#b2ab71',
950: '#000000',
},
}SCSS
$custom: #b2ab71; $custom-light: #cac39a; $custom-dark: #000000;
JSON
{
"hex": "#b2ab71",
"rgb": {
"r": 178,
"g": 171,
"b": 113
},
"hsl": {
"h": 53.538,
"s": 29.68,
"l": 57.059
},
"oklch": {
"l": 0.73328,
"c": 0.07771,
"h": 102.2
},
"luminance": 0.39783
}Semantic roles & 50–950 ramp
primary
#B2AB71
secondary
#B2B5CD
accent
#6DC662
background
#FCFCF9
surface
#F8F8F2
border
#D1D1CC
text
#13120E
muted
#82817E