#BABBAB#BABBAB

#BABBAB is a light, muted yellow. Relative luminance 0.489; OKLCH L 78.7% C 0.022 H 109.8°. Best body text is #000000 at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#BABBAB
RGBrgb(186, 187, 171)
HSLhsl(64, 11%, 70%)
HSVhsv(64, 9%, 73%)
CMYKcmyk(0.5%, 0%, 8.6%, 26.7%)
CIE-LABlab(75.40, -3.21, 7.98)
CIE-LCHlch(75.40, 8.61, 111.90°)
OKLaboklab(78.68% -0.0075 0.0209)
OKLCHoklch(78.68% 0.022 109.8)
XYZxyz(45.3697, 48.9202, 45.5726)
Luminance0.4892 (WCAG relative)
Temperatureneutral
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABBAB #ACABBB
analogous
#BBB4AB #BABBAB #B2BBAB
triadic
#BABBAB #ABBABB #BBABBA
tetradic
#BABBAB #ABBBB4 #ACABBB #BBABB2
square
#BABBAB #ABBBB4 #ACABBB #BBABB2
split-complementary
#BABBAB #ABB2BB #B4ABBB
monochromatic
#818269 #9EA089 #BABBAB #D6D6CD #F1F1EE

Accessibility & contrast

On white

1.95
#BABBAB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.78
#BABBAB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BABBAB
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BABBAB#FFFFFF#000000##000000
##BABBAB1.001.9510.7810.78
#FFFFFF1.951.0021.0021.00
#00000010.7821.001.001.00
##00000010.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEB9AA
Deuteranopia (green-blind)
#BEBAAC
Tritanopia (blue-blind)
#BCB9B6
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #babbab;
/* rgb */ color: rgb(186, 187, 171);
/* oklch */ color: oklch(78.7% 0.022 109.8);
Tailwind
colors: {
  custom: {
    50: '#cecfc4',
    500: '#babbab',
    950: '#000000',
  },
}
SCSS
$custom: #babbab;
$custom-light: #cecfc4;
$custom-dark: #000000;
JSON
{
  "hex": "#babbab",
  "rgb": {
    "r": 186,
    "g": 187,
    "b": 171
  },
  "hsl": {
    "h": 63.75,
    "s": 10.526,
    "l": 70.196
  },
  "oklch": {
    "l": 0.78679,
    "c": 0.02216,
    "h": 109.8
  },
  "luminance": 0.4892
}

Semantic roles & 50–950 ramp

primary
#BABBAB
secondary
#DFDFE3
accent
#519555
background
#FCFCFC
surface
#F9F9F8
border
#D2D2D1
text
#131312
muted
#828281

Preview Lab

Preview with #BABBAB

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

Preview Lab → · Contrast checker → · Palette generator →

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