#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
RGBrgb(186, 186, 178)
HSLhsl(60, 5%, 71%)
HSVhsv(60, 4%, 73%)
CMYKcmyk(0%, 0%, 4.3%, 27.1%)
CIE-LABlab(75.31, -1.46, 4.05)
CIE-LCHlch(75.31, 4.30, 109.77°)
OKLaboklab(78.66% -0.0032 0.0107)
OKLCHoklch(78.66% 0.011 106.7)
XYZxyz(45.8433, 48.7714, 49.1096)
Luminance0.4877 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

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
##BABAB21.001.9510.7510.75
#FFFFFF1.951.0021.0021.00
#00000010.7521.001.001.00
##00000010.7521.001.001.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

Preview Lab

Preview with #BABAB2

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#BABAB2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva