#BABA98#BABA98

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

Color values

HEX#BABA98
RGBrgb(186, 186, 152)
HSLhsl(60, 20%, 66%)
HSVhsv(60, 18%, 73%)
CMYKcmyk(0%, 0%, 18.3%, 27.1%)
CIE-LABlab(74.71, -5.76, 17.29)
CIE-LCHlch(74.71, 18.23, 108.43°)
OKLaboklab(78% -0.0139 0.0443)
OKLCHoklch(78% 0.046 107.4)
XYZxyz(43.4757, 47.8244, 36.6404)
Luminance0.4782 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABA98 #9898BA
analogous
#BAA998 #BABA98 #A9BA98
triadic
#BABA98 #98BABA #BA98BA
tetradic
#BABA98 #98BAA9 #9898BA #BA98A9
square
#BABA98 #98BAA9 #9898BA #BA98A9
split-complementary
#BABA98 #98A9BA #A998BA
monochromatic
#818156 #A1A173 #BABA98 #D3D3BD #EBEBE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BABA98#FFFFFF#000000##000000
##BABA981.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)
#C0B796
Deuteranopia (green-blind)
#C1B999
Tritanopia (blue-blind)
#BFB5B1
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #baba98;
/* rgb */ color: rgb(186, 186, 152);
/* oklch */ color: oklch(78.0% 0.046 107.4);
Tailwind
colors: {
  custom: {
    50: '#cfceb6',
    500: '#baba98',
    950: '#000000',
  },
}
SCSS
$custom: #baba98;
$custom-light: #cfceb6;
$custom-dark: #000000;
JSON
{
  "hex": "#baba98",
  "rgb": {
    "r": 186,
    "g": 186,
    "b": 152
  },
  "hsl": {
    "h": 60,
    "s": 19.767,
    "l": 66.275
  },
  "oklch": {
    "l": 0.77996,
    "c": 0.04643,
    "h": 107.4
  },
  "luminance": 0.47824
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BABA98

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

Preview Lab → · Contrast checker → · Palette generator →

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