#B2AB6A#B2AB6A
#B2AB6A is a light, moderate yellow. Relative luminance 0.396; OKLCH L 73.2% C 0.086 H 103.0°. Best body text is #000000 at 8.93:1 contrast (WCAG AA passes).
Color values
| HEX | #B2AB6A |
|---|---|
| RGB | rgb(178, 171, 106) |
| HSL | hsl(54, 32%, 56%) |
| HSV | hsv(54, 40%, 70%) |
| CMYK | cmyk(0%, 3.9%, 40.4%, 30.2%) |
| CIE-LAB | lab(69.21, -7.10, 34.35) |
| CIE-LCH | lch(69.21, 35.07, 101.69°) |
| OKLab | oklab(73.21% -0.0193 0.0838) |
| OKLCH | oklch(73.21% 0.086 103) |
| XYZ | xyz(35.5252, 39.6323, 19.4113) |
| Luminance | 0.3963 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 2.01
Darkkhaki
#BDB76B
ΔE00 3.74
Sand
#C2B280
ΔE00 5.37
Sandstone
#C9AE74
ΔE00 7.18
Sandy Brown
#C4A661
ΔE00 7.31
Desert
#CCAD60
ΔE00 7.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2AB6A #6A71B2
analogous
#B2876A #B2AB6A #95B26A
triadic
#B2AB6A #6AB2AB #AB6AB2
tetradic
#B2AB6A #6AB287 #6A71B2 #B26A95
square
#B2AB6A #6AB287 #6A71B2 #B26A95
split-complementary
#B2AB6A #6A95B2 #876AB2
monochromatic
#6B6637 #938C4C #B2AB6A #C7C292 #DCD8BB
Accessibility & contrast
On white
2.35
#B2AB6A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.93
#B2AB6A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2AB6A
8.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2AB6A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2AB6A | 1.00 | 2.35 | 8.93 | 8.93 |
| #FFFFFF | 2.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B6A765
Deuteranopia (green-blind)
#B8AB6D
Tritanopia (blue-blind)
#BCA39B
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #b2ab6a; /* rgb */ color: rgb(178, 171, 106); /* oklch */ color: oklch(73.2% 0.086 103.0);
Tailwind
colors: {
custom: {
50: '#cac395',
500: '#b2ab6a',
950: '#000000',
},
}SCSS
$custom: #b2ab6a; $custom-light: #cac395; $custom-dark: #000000;
JSON
{
"hex": "#b2ab6a",
"rgb": {
"r": 178,
"g": 171,
"b": 106
},
"hsl": {
"h": 54.167,
"s": 31.858,
"l": 55.686
},
"oklch": {
"l": 0.73207,
"c": 0.08597,
"h": 103
},
"luminance": 0.39631
}Semantic roles & 50–950 ramp
primary
#B2AB6A
secondary
#ADB0CB
accent
#6AC860
background
#FCFCF9
surface
#F8F8F2
border
#D1D1CC
text
#13120D
muted
#82817E