#B2AB76#B2AB76
#B2AB76 is a light, moderate yellow. Relative luminance 0.399; OKLCH L 73.4% C 0.072 H 101.6°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).
Color values
| HEX | #B2AB76 |
|---|---|
| RGB | rgb(178, 171, 118) |
| HSL | hsl(53, 28%, 58%) |
| HSV | hsv(53, 34%, 70%) |
| CMYK | cmyk(0%, 3.9%, 33.7%, 30.2%) |
| CIE-LAB | lab(69.40, -5.68, 28.25) |
| CIE-LCH | lch(69.40, 28.81, 101.38°) |
| OKLab | oklab(73.42% -0.0144 0.0702) |
| OKLCH | oklch(73.42% 0.072 101.6) |
| XYZ | xyz(36.1934, 39.8996, 22.9308) |
| Luminance | 0.3990 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 3.81
Sand
#C2B280
ΔE00 4.15
Darkkhaki
#BDB76B
ΔE00 5.44
Putty
#BEAE8A
ΔE00 6.28
Stone (survey)
#ADA587
ΔE00 6.36
Bland
#AFA88B
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2AB76 #767DB2
analogous
#B28D76 #B2AB76 #9BB276
triadic
#B2AB76 #76B2AB #AB76B2
tetradic
#B2AB76 #76B28D #767DB2 #B2769B
square
#B2AB76 #76B28D #767DB2 #B2769B
split-complementary
#B2AB76 #769BB2 #8D76B2
monochromatic
#6F693E #968F54 #B2AB76 #C8C39D #DEDBC4
Accessibility & contrast
On white
2.34
#B2AB76 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.98
#B2AB76 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2AB76
8.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2AB76 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2AB76 | 1.00 | 2.34 | 8.98 | 8.98 |
| #FFFFFF | 2.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B5A872
Deuteranopia (green-blind)
#B7AB78
Tritanopia (blue-blind)
#BBA49D
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #b2ab76; /* rgb */ color: rgb(178, 171, 118); /* oklch */ color: oklch(73.4% 0.072 101.6);
Tailwind
colors: {
custom: {
50: '#cac39e',
500: '#b2ab76',
950: '#000000',
},
}SCSS
$custom: #b2ab76; $custom-light: #cac39e; $custom-dark: #000000;
JSON
{
"hex": "#b2ab76",
"rgb": {
"r": 178,
"g": 171,
"b": 118
},
"hsl": {
"h": 53,
"s": 28.037,
"l": 58.039
},
"oklch": {
"l": 0.73421,
"c": 0.07163,
"h": 101.6
},
"luminance": 0.39899
}Semantic roles & 50–950 ramp
primary
#B2AB76
secondary
#B6B9CE
accent
#6FC463
background
#FCFCF9
surface
#F8F8F2
border
#D1D1CC
text
#13120E
muted
#82817E