#BABAB8#BABAB8
#BABAB8 is a light, near-neutral grey. Relative luminance 0.490; OKLCH L 78.8% C 0.003 H 106.5°. Best body text is #000000 at 10.80:1 contrast (WCAG AA passes).
Color values
| HEX | #BABAB8 |
|---|---|
| RGB | rgb(186, 186, 184) |
| HSL | hsl(60, 1%, 73%) |
| HSV | hsv(60, 1%, 73%) |
| CMYK | cmyk(0%, 0%, 1.1%, 27.1%) |
| CIE-LAB | lab(75.46, -0.37, 1.01) |
| CIE-LCH | lch(75.46, 1.08, 110.07°) |
| OKLab | oklab(78.83% -0.0008 0.0027) |
| OKLCH | oklch(78.83% 0.003 106.5) |
| XYZ | xyz(46.4589, 49.0176, 52.3519) |
| Luminance | 0.4902 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Silver
#C0C0C0
ΔE00 1.96
Dove Gray
#B6B8BD
ΔE00 3.78
Silver (survey)
#C5C9C7
ΔE00 4.15
Dark Gray
#A9A9A9
ΔE00 4.82
Light Gray
#D3D3D3
ΔE00 6.39
Warm Gray
#C9BEB0
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BABAB8 #B8B8BA
analogous
#BAB9B8 #BABAB8 #B9BAB8
triadic
#BABAB8 #B8BABA #BAB8BA
tetradic
#BABAB8 #B8BAB9 #B8B8BA #BAB8B9
square
#BABAB8 #B8BAB9 #B8B8BA #BAB8B9
split-complementary
#BABAB8 #B8B9BA #B9B8BA
monochromatic
#7E7E7A #9C9C99 #BABAB8 #D8D8D7 #F0F0EF
Accessibility & contrast
On white
1.94
#BABAB8 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.80
#BABAB8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BABAB8
10.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BABAB8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BABAB8 | 1.00 | 1.94 | 10.80 | 10.80 |
| #FFFFFF | 1.94 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BABAB8
Deuteranopia (green-blind)
#BABAB8
Tritanopia (blue-blind)
#BABAB9
Achromatopsia (no color)
#BABABA
Design tokens & code
CSS
--color: #babab8; /* rgb */ color: rgb(186, 186, 184); /* oklch */ color: oklch(78.8% 0.003 106.5);
Tailwind
colors: {
custom: {
50: '#cececd',
500: '#babab8',
950: '#000000',
},
}SCSS
$custom: #babab8; $custom-light: #cececd; $custom-dark: #000000;
JSON
{
"hex": "#babab8",
"rgb": {
"r": 186,
"g": 186,
"b": 184
},
"hsl": {
"h": 60,
"s": 1.429,
"l": 72.549
},
"oklch": {
"l": 0.78833,
"c": 0.00278,
"h": 106.5
},
"luminance": 0.49018
}Semantic roles & 50–950 ramp
primary
#BABAB8
secondary
#E5E5E6
accent
#5A8B5A
background
#FCFCFC
surface
#F9F9F9
border
#D2D2D2
text
#131313
muted
#828282