#BABA97#BABA97

#BABA97 is a light, muted yellow. Relative luminance 0.478; OKLCH L 78.0% C 0.048 H 107.5°. Best body text is #000000 at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#BABA97
RGBrgb(186, 186, 151)
HSLhsl(60, 20%, 66%)
HSVhsv(60, 19%, 73%)
CMYKcmyk(0%, 0%, 18.8%, 27.1%)
CIE-LABlab(74.69, -5.91, 17.80)
CIE-LCHlch(74.69, 18.76, 108.38°)
OKLaboklab(77.97% -0.0143 0.0456)
OKLCHoklch(77.97% 0.048 107.5)
XYZxyz(43.3942, 47.7917, 36.2109)
Luminance0.4779 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABA97 #9797BA
analogous
#BAA897 #BABA97 #A8BA97
triadic
#BABA97 #97BABA #BA97BA
tetradic
#BABA97 #97BAA8 #9797BA #BA97A8
square
#BABA97 #97BAA8 #9797BA #BA97A8
split-complementary
#BABA97 #97A8BA #A897BA
monochromatic
#818156 #A2A272 #BABA97 #D2D2BC #EBEBE1

Accessibility & contrast

On white

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

On black

10.56
#BABA97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BABA97
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BABA97#FFFFFF#000000##000000
##BABA971.001.9910.5610.56
#FFFFFF1.991.0021.0021.00
#00000010.5621.001.001.00
##00000010.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0B795
Deuteranopia (green-blind)
#C1B998
Tritanopia (blue-blind)
#BFB5B0
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #baba97;
/* rgb */ color: rgb(186, 186, 151);
/* oklch */ color: oklch(78.0% 0.048 107.5);
Tailwind
colors: {
  custom: {
    50: '#cfceb5',
    500: '#baba97',
    950: '#000000',
  },
}
SCSS
$custom: #baba97;
$custom-light: #cfceb5;
$custom-dark: #000000;
JSON
{
  "hex": "#baba97",
  "rgb": {
    "r": 186,
    "g": 186,
    "b": 151
  },
  "hsl": {
    "h": 60,
    "s": 20.231,
    "l": 66.078
  },
  "oklch": {
    "l": 0.77973,
    "c": 0.04776,
    "h": 107.5
  },
  "luminance": 0.47791
}

Semantic roles & 50–950 ramp

primary
#BABA97
secondary
#D1D1DC
accent
#479F47
background
#FCFCFB
surface
#F9F9F6
border
#D2D2D0
text
#131311
muted
#828280

Preview Lab

Preview with #BABA97

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

Preview Lab → · Contrast checker → · Palette generator →

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