#BAB8A2#BAB8A2

#BAB8A2 is a light, muted yellow. Relative luminance 0.473; OKLCH L 77.8% C 0.030 H 102.8°. Best body text is #000000 at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#BAB8A2
RGBrgb(186, 184, 162)
HSLhsl(55, 15%, 68%)
HSVhsv(55, 13%, 73%)
CMYKcmyk(0%, 1.1%, 12.9%, 27.1%)
CIE-LABlab(74.40, -3.13, 11.44)
CIE-LCHlch(74.40, 11.86, 105.28°)
OKLaboklab(77.82% -0.0068 0.0297)
OKLCHoklch(77.82% 0.03 102.8)
XYZxyz(43.9111, 47.3291, 40.9976)
Luminance0.4733 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB8A2 #A2A4BA
analogous
#BAACA2 #BAB8A2 #B0BAA2
triadic
#BAB8A2 #A2BAB8 #B8A2BA
tetradic
#BAB8A2 #A2BAAC #A2A4BA #BAA2B0
square
#BAB8A2 #A2BAAC #A2A4BA #BAA2B0
split-complementary
#BAB8A2 #A2B0BA #ACA2BA
monochromatic
#827F60 #A09D7F #BAB8A2 #D4D3C5 #EEEEE8

Accessibility & contrast

On white

2.01
#BAB8A2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.47
#BAB8A2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB8A2
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB8A2#FFFFFF#000000##000000
##BAB8A21.002.0110.4710.47
#FFFFFF2.011.0021.0021.00
#00000010.4721.001.001.00
##00000010.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCB6A1
Deuteranopia (green-blind)
#BDB8A3
Tritanopia (blue-blind)
#BEB5B2
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #bab8a2;
/* rgb */ color: rgb(186, 184, 162);
/* oklch */ color: oklch(77.8% 0.030 102.8);
Tailwind
colors: {
  custom: {
    50: '#cecdbd',
    500: '#bab8a2',
    950: '#000000',
  },
}
SCSS
$custom: #bab8a2;
$custom-light: #cecdbd;
$custom-dark: #000000;
JSON
{
  "hex": "#bab8a2",
  "rgb": {
    "r": 186,
    "g": 184,
    "b": 162
  },
  "hsl": {
    "h": 55,
    "s": 14.815,
    "l": 68.235
  },
  "oklch": {
    "l": 0.7782,
    "c": 0.03044,
    "h": 102.8
  },
  "luminance": 0.47329
}

Semantic roles & 50–950 ramp

primary
#BAB8A2
secondary
#D8D9E0
accent
#53994C
background
#FCFCFB
surface
#F9F9F6
border
#D2D2D0
text
#131312
muted
#828281

Preview Lab

Preview with #BAB8A2

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

Preview Lab → · Contrast checker → · Palette generator →

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