#BABA97#BABA97
#BABA97 is a light, muted yellow. Relative luminance 0.478; OKLCH L 78.0% C 0.048 H 107.5°. Best body text is #000000 at 10.56:1 contrast (WCAG AA passes).
Color values
| HEX | #BABA97 |
|---|---|
| RGB | rgb(186, 186, 151) |
| HSL | hsl(60, 20%, 66%) |
| HSV | hsv(60, 19%, 73%) |
| CMYK | cmyk(0%, 0%, 18.8%, 27.1%) |
| CIE-LAB | lab(74.69, -5.91, 17.80) |
| CIE-LCH | lch(74.69, 18.76, 108.38°) |
| OKLab | oklab(77.97% -0.0143 0.0456) |
| OKLCH | oklch(77.97% 0.048 107.5) |
| XYZ | xyz(43.3942, 47.7917, 36.2109) |
| Luminance | 0.4779 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Bland
#AFA88B
ΔE00 5.87
Stone (survey)
#ADA587
ΔE00 6.68
Sand
#C2B280
ΔE00 7.03
Putty
#BEAE8A
ΔE00 7.15
Sage Green
#9CAF88
ΔE00 7.80
Cement
#A5A391
ΔE00 8.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BABA97 #9797BA
analogous
#BAA897 #BABA97 #A8BA97
triadic
#BABA97 #97BABA #BA97BA
tetradic
#BABA97 #97BAA8 #9797BA #BA97A8
square
#BABA97 #97BAA8 #9797BA #BA97A8
split-complementary
#BABA97 #97A8BA #A897BA
monochromatic
#818156 #A2A272 #BABA97 #D2D2BC #EBEBE1
Accessibility & contrast
On white
1.99
#BABA97 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.56
#BABA97 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BABA97
10.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BABA97 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BABA97 | 1.00 | 1.99 | 10.56 | 10.56 |
| #FFFFFF | 1.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.56 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.56 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0B795
Deuteranopia (green-blind)
#C1B998
Tritanopia (blue-blind)
#BFB5B0
Achromatopsia (no color)
#B8B8B8
Design tokens & code
CSS
--color: #baba97; /* rgb */ color: rgb(186, 186, 151); /* oklch */ color: oklch(78.0% 0.048 107.5);
Tailwind
colors: {
custom: {
50: '#cfceb5',
500: '#baba97',
950: '#000000',
},
}SCSS
$custom: #baba97; $custom-light: #cfceb5; $custom-dark: #000000;
JSON
{
"hex": "#baba97",
"rgb": {
"r": 186,
"g": 186,
"b": 151
},
"hsl": {
"h": 60,
"s": 20.231,
"l": 66.078
},
"oklch": {
"l": 0.77973,
"c": 0.04776,
"h": 107.5
},
"luminance": 0.47791
}Semantic roles & 50–950 ramp
primary
#BABA97
secondary
#D1D1DC
accent
#479F47
background
#FCFCFB
surface
#F9F9F6
border
#D2D2D0
text
#131311
muted
#828280