#BBAB5F#BBAB5F
#BBAB5F is a light, moderate yellow. Relative luminance 0.405; OKLCH L 73.8% C 0.099 H 97.7°. Best body text is #000000 at 9.10:1 contrast (WCAG AA passes).
Color values
| HEX | #BBAB5F |
|---|---|
| RGB | rgb(187, 171, 95) |
| HSL | hsl(50, 40%, 55%) |
| HSV | hsv(50, 49%, 73%) |
| CMYK | cmyk(0%, 8.6%, 49.2%, 26.7%) |
| CIE-LAB | lab(69.84, -4.50, 40.96) |
| CIE-LCH | lch(69.84, 41.21, 96.27°) |
| OKLab | oklab(73.84% -0.0133 0.0978) |
| OKLCH | oklch(73.84% 0.099 97.7) |
| XYZ | xyz(37.1231, 40.5182, 16.6896) |
| Luminance | 0.4052 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.16
Khaki (survey)
#AAA662
ΔE00 4.48
Desert
#CCAD60
ΔE00 4.82
Sandy Brown
#C4A661
ΔE00 4.85
Sandstone
#C9AE74
ΔE00 5.70
Sand
#C2B280
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BBAB5F #5F6FBB
analogous
#BB7D5F #BBAB5F #9DBB5F
triadic
#BBAB5F #5FBBAB #AB5FBB
tetradic
#BBAB5F #5FBB7D #5F6FBB #BB5F9D
square
#BBAB5F #5FBB7D #5F6FBB #BB5F9D
split-complementary
#BBAB5F #5F9DBB #7D5FBB
monochromatic
#706530 #9B8B42 #BBAB5F #CDC28A #E0D8B5
Accessibility & contrast
On white
2.31
#BBAB5F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.10
#BBAB5F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BBAB5F
9.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BBAB5F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BBAB5F | 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)
#B8A759
Deuteranopia (green-blind)
#BDAD62
Tritanopia (blue-blind)
#C7A199
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #bbab5f; /* rgb */ color: rgb(187, 171, 95); /* oklch */ color: oklch(73.8% 0.099 97.7);
Tailwind
colors: {
custom: {
50: '#d1c38e',
500: '#bbab5f',
950: '#000000',
},
}SCSS
$custom: #bbab5f; $custom-light: #d1c38e; $custom-dark: #000000;
JSON
{
"hex": "#bbab5f",
"rgb": {
"r": 187,
"g": 171,
"b": 95
},
"hsl": {
"h": 49.565,
"s": 40.351,
"l": 55.294
},
"oklch": {
"l": 0.73844,
"c": 0.09871,
"h": 97.7
},
"luminance": 0.40517
}Semantic roles & 50–950 ramp
primary
#BBAB5F
secondary
#A8AECE
accent
#6DD058
background
#FDFBF8
surface
#FAF7F0
border
#D3D0CB
text
#14120C
muted
#83817D