#BABA9F#BABA9F

#BABA9F is a light, muted yellow. Relative luminance 0.481; OKLCH L 78.2% C 0.037 H 107.2°. Best body text is #000000 at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#BABA9F
RGBrgb(186, 186, 159)
HSLhsl(60, 16%, 68%)
HSVhsv(60, 15%, 73%)
CMYKcmyk(0%, 0%, 14.5%, 27.1%)
CIE-LABlab(74.86, -4.67, 13.72)
CIE-LCHlch(74.86, 14.49, 108.79°)
OKLaboklab(78.16% -0.011 0.0354)
OKLCHoklch(78.16% 0.037 107.2)
XYZxyz(44.0660, 48.0605, 39.7493)
Luminance0.4806 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABA9F #9F9FBA
analogous
#BAAC9F #BABA9F #ACBA9F
triadic
#BABA9F #9FBABA #BA9FBA
tetradic
#BABA9F #9FBAAC #9F9FBA #BA9FAC
square
#BABA9F #9FBAAC #9F9FBA #BA9FAC
split-complementary
#BABA9F #9FACBA #AC9FBA
monochromatic
#82825D #A0A07B #BABA9F #D4D4C3 #EDEDE6

Accessibility & contrast

On white

1.98
#BABA9F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.61
#BABA9F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BABA9F
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BABA9F#FFFFFF#000000##000000
##BABA9F1.001.9810.6110.61
#FFFFFF1.981.0021.0021.00
#00000010.6121.001.001.00
##00000010.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFB89D
Deuteranopia (green-blind)
#BFB9A0
Tritanopia (blue-blind)
#BEB6B2
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #baba9f;
/* rgb */ color: rgb(186, 186, 159);
/* oklch */ color: oklch(78.2% 0.037 107.2);
Tailwind
colors: {
  custom: {
    50: '#cecebb',
    500: '#baba9f',
    950: '#000000',
  },
}
SCSS
$custom: #baba9f;
$custom-light: #cecebb;
$custom-dark: #000000;
JSON
{
  "hex": "#baba9f",
  "rgb": {
    "r": 186,
    "g": 186,
    "b": 159
  },
  "hsl": {
    "h": 60,
    "s": 16.364,
    "l": 67.647
  },
  "oklch": {
    "l": 0.78163,
    "c": 0.03708,
    "h": 107.2
  },
  "luminance": 0.4806
}

Semantic roles & 50–950 ramp

primary
#BABA9F
secondary
#D6D6DF
accent
#4B9B4B
background
#FCFCFB
surface
#F9F9F6
border
#D2D2D0
text
#131311
muted
#828280

Preview Lab

Preview with #BABA9F

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

Preview Lab → · Contrast checker → · Palette generator →

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