#BABAB2#BABAB2
#BABAB2 is a light, near-neutral grey. Relative luminance 0.488; OKLCH L 78.7% C 0.011 H 106.7°. Best body text is #000000 at 10.75:1 contrast (WCAG AA passes).
Color values
| HEX | #BABAB2 |
|---|---|
| RGB | rgb(186, 186, 178) |
| HSL | hsl(60, 5%, 71%) |
| HSV | hsv(60, 4%, 73%) |
| CMYK | cmyk(0%, 0%, 4.3%, 27.1%) |
| CIE-LAB | lab(75.31, -1.46, 4.05) |
| CIE-LCH | lch(75.31, 4.30, 109.77°) |
| OKLab | oklab(78.66% -0.0032 0.0107) |
| OKLCH | oklch(78.66% 0.011 106.7) |
| XYZ | xyz(45.8433, 48.7714, 49.1096) |
| Luminance | 0.4877 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Silver
#C0C0C0
ΔE00 4.51
Silver (survey)
#C5C9C7
ΔE00 4.95
Warm Gray
#C9BEB0
ΔE00 5.62
Dark Gray
#A9A9A9
ΔE00 6.19
Dove Gray
#B6B8BD
ΔE00 6.88
Greyish
#A8A495
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BABAB2 #B2B2BA
analogous
#BAB6B2 #BABAB2 #B6BAB2
triadic
#BABAB2 #B2BABA #BAB2BA
tetradic
#BABAB2 #B2BAB6 #B2B2BA #BAB2B6
square
#BABAB2 #B2BAB6 #B2B2BA #BAB2B6
split-complementary
#BABAB2 #B2B6BA #B6B2BA
monochromatic
#7F7F72 #9D9D92 #BABAB2 #D7D7D2 #F1F1EF
Accessibility & contrast
On white
1.95
#BABAB2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.75
#BABAB2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BABAB2
10.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BABAB2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BABAB2 | 1.00 | 1.95 | 10.75 | 10.75 |
| #FFFFFF | 1.95 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BCB9B2
Deuteranopia (green-blind)
#BCBAB2
Tritanopia (blue-blind)
#BBB9B8
Achromatopsia (no color)
#B9B9B9
Design tokens & code
CSS
--color: #babab2; /* rgb */ color: rgb(186, 186, 178); /* oklch */ color: oklch(78.7% 0.011 106.7);
Tailwind
colors: {
custom: {
50: '#cecec9',
500: '#babab2',
950: '#000000',
},
}SCSS
$custom: #babab2; $custom-light: #cecec9; $custom-dark: #000000;
JSON
{
"hex": "#babab2",
"rgb": {
"r": 186,
"g": 186,
"b": 178
},
"hsl": {
"h": 60,
"s": 5.479,
"l": 71.373
},
"oklch": {
"l": 0.78662,
"c": 0.01112,
"h": 106.7
},
"luminance": 0.48771
}Semantic roles & 50–950 ramp
primary
#BABAB2
secondary
#E3E3E5
accent
#568F56
background
#FCFCFC
surface
#F9F9F8
border
#D2D2D1
text
#131313
muted
#828282