#BBAB71#BBAB71
#BBAB71 is a light, moderate yellow. Relative luminance 0.409; OKLCH L 74.1% C 0.079 H 94.5°. Best body text is #000000 at 9.18:1 contrast (WCAG AA passes).
Color values
| HEX | #BBAB71 |
|---|---|
| RGB | rgb(187, 171, 113) |
| HSL | hsl(47, 35%, 59%) |
| HSV | hsv(47, 40%, 73%) |
| CMYK | cmyk(0%, 8.6%, 39.6%, 26.7%) |
| CIE-LAB | lab(70.09, -2.63, 31.96) |
| CIE-LCH | lch(70.09, 32.07, 94.71°) |
| OKLab | oklab(74.13% -0.0062 0.0786) |
| OKLCH | oklch(74.13% 0.079 94.5) |
| XYZ | xyz(38.0379, 40.8841, 21.5073) |
| Luminance | 0.4088 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand
#C2B280
ΔE00 2.81
Sandstone
#C9AE74
ΔE00 3.92
Sandy Brown
#C4A661
ΔE00 4.72
Khaki (survey)
#AAA662
ΔE00 5.00
Toupe
#C7AC7D
ΔE00 5.22
Darkkhaki
#BDB76B
ΔE00 5.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BBAB71 #7181BB
analogous
#BB8671 #BBAB71 #A6BB71
triadic
#BBAB71 #71BBAB #AB71BB
tetradic
#BBAB71 #71BB86 #7181BB #BB71A6
square
#BBAB71 #71BB86 #7181BB #BB71A6
split-complementary
#BBAB71 #71A6BB #8671BB
monochromatic
#786B3A #A18F4D #BBAB71 #CFC39A #E3DCC4
Accessibility & contrast
On white
2.29
#BBAB71 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.18
#BBAB71 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BBAB71
9.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BBAB71 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BBAB71 | 1.00 | 2.29 | 9.18 | 9.18 |
| #FFFFFF | 2.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B6A86D
Deuteranopia (green-blind)
#BBAE73
Tritanopia (blue-blind)
#C6A39C
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #bbab71; /* rgb */ color: rgb(187, 171, 113); /* oklch */ color: oklch(74.1% 0.079 94.5);
Tailwind
colors: {
custom: {
50: '#d0c39a',
500: '#bbab71',
950: '#000000',
},
}SCSS
$custom: #bbab71; $custom-light: #d0c39a; $custom-dark: #000000;
JSON
{
"hex": "#bbab71",
"rgb": {
"r": 187,
"g": 171,
"b": 113
},
"hsl": {
"h": 47.027,
"s": 35.238,
"l": 58.824
},
"oklch": {
"l": 0.74132,
"c": 0.07882,
"h": 94.5
},
"luminance": 0.40883
}Semantic roles & 50–950 ramp
primary
#BBAB71
secondary
#B5BCD2
accent
#74CB5D
background
#FCFCF9
surface
#F9F8F2
border
#D2D1CC
text
#14120E
muted
#82817E