#B5AB6A#B5AB6A
#B5AB6A is a light, moderate yellow. Relative luminance 0.400; OKLCH L 73.5% C 0.086 H 100.6°. Best body text is #000000 at 9.00:1 contrast (WCAG AA passes).
Color values
| HEX | #B5AB6A |
|---|---|
| RGB | rgb(181, 171, 106) |
| HSL | hsl(52, 34%, 56%) |
| HSV | hsv(52, 41%, 71%) |
| CMYK | cmyk(0%, 5.5%, 41.4%, 29%) |
| CIE-LAB | lab(69.46, -5.87, 34.72) |
| CIE-LCH | lch(69.46, 35.22, 99.60°) |
| OKLab | oklab(73.47% -0.0159 0.0846) |
| OKLCH | oklch(73.47% 0.086 100.6) |
| XYZ | xyz(36.2212, 39.9912, 19.4439) |
| Luminance | 0.3999 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 2.70
Darkkhaki
#BDB76B
ΔE00 3.79
Sand
#C2B280
ΔE00 4.78
Sandstone
#C9AE74
ΔE00 6.25
Sandy Brown
#C4A661
ΔE00 6.36
Desert
#CCAD60
ΔE00 6.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5AB6A #6A74B5
analogous
#B5866A #B5AB6A #9AB56A
triadic
#B5AB6A #6AB5AB #AB6AB5
tetradic
#B5AB6A #6AB586 #6A74B5 #B56A9A
square
#B5AB6A #6AB586 #6A74B5 #B56A9A
split-complementary
#B5AB6A #6A9AB5 #866AB5
monochromatic
#6E6737 #978D4B #B5AB6A #C9C293 #DED9BC
Accessibility & contrast
On white
2.33
#B5AB6A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.00
#B5AB6A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B5AB6A
9.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5AB6A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B5AB6A | 1.00 | 2.33 | 9.00 | 9.00 |
| #FFFFFF | 2.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.00 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.00 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B6A765
Deuteranopia (green-blind)
#B9AC6D
Tritanopia (blue-blind)
#BFA39B
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #b5ab6a; /* rgb */ color: rgb(181, 171, 106); /* oklch */ color: oklch(73.5% 0.086 100.6);
Tailwind
colors: {
custom: {
50: '#ccc395',
500: '#b5ab6a',
950: '#000000',
},
}SCSS
$custom: #b5ab6a; $custom-light: #ccc395; $custom-dark: #000000;
JSON
{
"hex": "#b5ab6a",
"rgb": {
"r": 181,
"g": 171,
"b": 106
},
"hsl": {
"h": 52,
"s": 33.632,
"l": 56.275
},
"oklch": {
"l": 0.73472,
"c": 0.08609,
"h": 100.6
},
"luminance": 0.3999
}Semantic roles & 50–950 ramp
primary
#B5AB6A
secondary
#AEB2CD
accent
#6CCA5E
background
#FCFCF9
surface
#F9F8F2
border
#D2D1CC
text
#13120D
muted
#82817E