#BAB8AC#BAB8AC

#BAB8AC is a light, near-neutral yellow. Relative luminance 0.477; OKLCH L 78.1% C 0.017 H 99.1°. Best body text is #000000 at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#BAB8AC
RGBrgb(186, 184, 172)
HSLhsl(51, 9%, 70%)
HSVhsv(51, 8%, 73%)
CMYKcmyk(0%, 1.1%, 7.5%, 27.1%)
CIE-LABlab(74.63, -1.44, 6.34)
CIE-LCHlch(74.63, 6.50, 102.83°)
OKLaboklab(78.08% -0.0026 0.0166)
OKLCHoklch(78.08% 0.017 99.1)
XYZxyz(44.8356, 47.6989, 45.8665)
Luminance0.4770 (WCAG relative)
Temperatureneutral
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB8AC #ACAEBA
analogous
#BAB1AC #BAB8AC #B5BAAC
triadic
#BAB8AC #ACBAB8 #B8ACBA
tetradic
#BAB8AC #ACBAB1 #ACAEBA #BAACB5
square
#BAB8AC #ACBAB1 #ACAEBA #BAACB5
split-complementary
#BAB8AC #ACB5BA #B1ACBA
monochromatic
#817E6B #9E9B8B #BAB8AC #D6D5CD #F1F1EE

Accessibility & contrast

On white

1.99
#BAB8AC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.54
#BAB8AC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB8AC
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB8AC#FFFFFF#000000##000000
##BAB8AC1.001.9910.5410.54
#FFFFFF1.991.0021.0021.00
#00000010.5421.001.001.00
##00000010.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBB7AB
Deuteranopia (green-blind)
#BBB8AC
Tritanopia (blue-blind)
#BDB6B4
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #bab8ac;
/* rgb */ color: rgb(186, 184, 172);
/* oklch */ color: oklch(78.1% 0.017 99.1);
Tailwind
colors: {
  custom: {
    50: '#cecdc4',
    500: '#bab8ac',
    950: '#000000',
  },
}
SCSS
$custom: #bab8ac;
$custom-light: #cecdc4;
$custom-dark: #000000;
JSON
{
  "hex": "#bab8ac",
  "rgb": {
    "r": 186,
    "g": 184,
    "b": 172
  },
  "hsl": {
    "h": 51.429,
    "s": 9.211,
    "l": 70.196
  },
  "oklch": {
    "l": 0.78082,
    "c": 0.01683,
    "h": 99.1
  },
  "luminance": 0.47699
}

Semantic roles & 50–950 ramp

primary
#BAB8AC
secondary
#DFE0E3
accent
#5C9352
background
#FCFCFC
surface
#F9F9F8
border
#D2D2D1
text
#131312
muted
#828281

Preview Lab

Preview with #BAB8AC

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

Preview Lab → · Contrast checker → · Palette generator →

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