#BBAB5D#BBAB5D
#BBAB5D is a light, moderate yellow. Relative luminance 0.405; OKLCH L 73.8% C 0.101 H 98.0°. Best body text is #000000 at 9.10:1 contrast (WCAG AA passes).
Color values
| HEX | #BBAB5D |
|---|---|
| RGB | rgb(187, 171, 93) |
| HSL | hsl(50, 41%, 55%) |
| HSV | hsv(50, 50%, 73%) |
| CMYK | cmyk(0%, 8.6%, 50.3%, 26.7%) |
| CIE-LAB | lab(69.81, -4.69, 41.94) |
| CIE-LCH | lch(69.81, 42.20, 96.38°) |
| OKLab | oklab(73.82% -0.014 0.0998) |
| OKLCH | oklch(73.82% 0.101 98) |
| XYZ | xyz(37.0334, 40.4823, 16.2169) |
| Luminance | 0.4048 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.20
Khaki (survey)
#AAA662
ΔE00 4.59
Desert
#CCAD60
ΔE00 4.87
Sandy Brown
#C4A661
ΔE00 4.99
Sandstone
#C9AE74
ΔE00 5.96
Tan (survey)
#D1B26F
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BBAB5D #5D6DBB
analogous
#BB7C5D #BBAB5D #9CBB5D
triadic
#BBAB5D #5DBBAB #AB5DBB
tetradic
#BBAB5D #5DBB7C #5D6DBB #BB5D9C
square
#BBAB5D #5DBB7C #5D6DBB #BB5D9C
split-complementary
#BBAB5D #5D9CBB #7C5DBB
monochromatic
#6F642F #9A8B41 #BBAB5D #CDC188 #DFD8B3
Accessibility & contrast
On white
2.31
#BBAB5D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.10
#BBAB5D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BBAB5D
9.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BBAB5D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BBAB5D | 1.00 | 2.31 | 9.10 | 9.10 |
| #FFFFFF | 2.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B8A756
Deuteranopia (green-blind)
#BDAD60
Tritanopia (blue-blind)
#C7A199
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #bbab5d; /* rgb */ color: rgb(187, 171, 93); /* oklch */ color: oklch(73.8% 0.101 98.0);
Tailwind
colors: {
custom: {
50: '#d1c38d',
500: '#bbab5d',
950: '#000000',
},
}SCSS
$custom: #bbab5d; $custom-light: #d1c38d; $custom-dark: #000000;
JSON
{
"hex": "#bbab5d",
"rgb": {
"r": 187,
"g": 171,
"b": 93
},
"hsl": {
"h": 49.787,
"s": 40.87,
"l": 54.902
},
"oklch": {
"l": 0.73816,
"c": 0.10078,
"h": 98
},
"luminance": 0.40481
}Semantic roles & 50–950 ramp
primary
#BBAB5D
secondary
#A6ADCE
accent
#6CD157
background
#FDFBF8
surface
#FAF7F0
border
#D3D0CB
text
#14120C
muted
#83817D