#BBAB56#BBAB56
#BBAB56 is a light, moderate yellow. Relative luminance 0.404; OKLCH L 73.7% C 0.108 H 98.8°. Best body text is #000000 at 9.07:1 contrast (WCAG AA passes).
Color values
| HEX | #BBAB56 |
|---|---|
| RGB | rgb(187, 171, 86) |
| HSL | hsl(50, 43%, 54%) |
| HSV | hsv(50, 54%, 73%) |
| CMYK | cmyk(0%, 8.6%, 54%, 26.7%) |
| CIE-LAB | lab(69.73, -5.30, 45.30) |
| CIE-LCH | lch(69.73, 45.61, 96.67°) |
| OKLab | oklab(73.72% -0.0166 0.1065) |
| OKLCH | oklch(73.72% 0.108 98.8) |
| XYZ | xyz(36.7374, 40.3639, 14.6582) |
| Luminance | 0.4036 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.51
Khaki (survey)
#AAA662
ΔE00 5.11
Desert
#CCAD60
ΔE00 5.19
Sandy Brown
#C4A661
ΔE00 5.58
Tan (survey)
#D1B26F
ΔE00 6.77
Sandstone
#C9AE74
ΔE00 6.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BBAB56 #5666BB
analogous
#BB7856 #BBAB56 #98BB56
triadic
#BBAB56 #56BBAB #AB56BB
tetradic
#BBAB56 #56BB78 #5666BB #BB5698
square
#BBAB56 #56BB78 #5666BB #BB5698
split-complementary
#BBAB56 #5698BB #7856BB
monochromatic
#6B612B #97893D #BBAB56 #CDC182 #DED6AD
Accessibility & contrast
On white
2.31
#BBAB56 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.07
#BBAB56 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BBAB56
9.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BBAB56 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BBAB56 | 1.00 | 2.31 | 9.07 | 9.07 |
| #FFFFFF | 2.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B9A74E
Deuteranopia (green-blind)
#BDAD5A
Tritanopia (blue-blind)
#C8A098
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #bbab56; /* rgb */ color: rgb(187, 171, 86); /* oklch */ color: oklch(73.7% 0.108 98.8);
Tailwind
colors: {
custom: {
50: '#d2c388',
500: '#bbab56',
950: '#000000',
},
}SCSS
$custom: #bbab56; $custom-light: #d2c388; $custom-dark: #000000;
JSON
{
"hex": "#bbab56",
"rgb": {
"r": 187,
"g": 171,
"b": 86
},
"hsl": {
"h": 50.495,
"s": 42.616,
"l": 53.529
},
"oklch": {
"l": 0.73723,
"c": 0.1078,
"h": 98.8
},
"luminance": 0.40363
}Semantic roles & 50–950 ramp
primary
#BBAB56
secondary
#A1A8CC
accent
#69D255
background
#FDFBF8
surface
#FAF7F0
border
#D3D0CB
text
#14120B
muted
#83817C