#BABA9D#BABA9D

#BABA9D is a light, muted yellow. Relative luminance 0.480; OKLCH L 78.1% C 0.040 H 107.3°. Best body text is #000000 at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#BABA9D
RGBrgb(186, 186, 157)
HSLhsl(60, 17%, 67%)
HSVhsv(60, 16%, 73%)
CMYKcmyk(0%, 0%, 15.6%, 27.1%)
CIE-LABlab(74.82, -4.99, 14.74)
CIE-LCHlch(74.82, 15.56, 108.69°)
OKLaboklab(78.11% -0.0118 0.038)
OKLCHoklch(78.11% 0.04 107.3)
XYZxyz(43.8939, 47.9916, 38.8427)
Luminance0.4799 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABA9D #9D9DBA
analogous
#BAAC9D #BABA9D #ACBA9D
triadic
#BABA9D #9DBABA #BA9DBA
tetradic
#BABA9D #9DBAAC #9D9DBA #BA9DAC
square
#BABA9D #9DBAAC #9D9DBA #BA9DAC
split-complementary
#BABA9D #9DACBA #AC9DBA
monochromatic
#81815B #A1A179 #BABA9D #D3D3C1 #EDEDE5

Accessibility & contrast

On white

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

On black

10.60
#BABA9D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BABA9D
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BABA9D#FFFFFF#000000##000000
##BABA9D1.001.9810.6010.60
#FFFFFF1.981.0021.0021.00
#00000010.6021.001.001.00
##00000010.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFB79B
Deuteranopia (green-blind)
#C0B99E
Tritanopia (blue-blind)
#BFB6B2
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #baba9d;
/* rgb */ color: rgb(186, 186, 157);
/* oklch */ color: oklch(78.1% 0.040 107.3);
Tailwind
colors: {
  custom: {
    50: '#cfceba',
    500: '#baba9d',
    950: '#000000',
  },
}
SCSS
$custom: #baba9d;
$custom-light: #cfceba;
$custom-dark: #000000;
JSON
{
  "hex": "#baba9d",
  "rgb": {
    "r": 186,
    "g": 186,
    "b": 157
  },
  "hsl": {
    "h": 60,
    "s": 17.365,
    "l": 67.255
  },
  "oklch": {
    "l": 0.78115,
    "c": 0.03977,
    "h": 107.3
  },
  "luminance": 0.47991
}

Semantic roles & 50–950 ramp

primary
#BABA9D
secondary
#D5D5DE
accent
#4A9C4A
background
#FCFCFB
surface
#F9F9F6
border
#D2D2D0
text
#131311
muted
#828280

Preview Lab

Preview with #BABA9D

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

Preview Lab → · Contrast checker → · Palette generator →

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