#BAB498#BAB498

#BAB498 is a light, muted yellow. Relative luminance 0.453; OKLCH L 76.7% C 0.039 H 97.2°. Best body text is #000000 at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#BAB498
RGBrgb(186, 180, 152)
HSLhsl(49, 20%, 66%)
HSVhsv(49, 18%, 73%)
CMYKcmyk(0%, 3.2%, 18.3%, 27.1%)
CIE-LABlab(73.12, -2.59, 15.07)
CIE-LCHlch(73.12, 15.29, 99.74°)
OKLaboklab(76.74% -0.0049 0.0388)
OKLCHoklch(76.74% 0.039 97.2)
XYZxyz(42.2382, 45.3492, 36.2279)
Luminance0.4535 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB498 #989EBA
analogous
#BAA398 #BAB498 #AFBA98
triadic
#BAB498 #98BAB4 #B498BA
tetradic
#BAB498 #98BAA3 #989EBA #BA98AF
square
#BAB498 #98BAA3 #989EBA #BA98AF
split-complementary
#BAB498 #98AFBA #A398BA
monochromatic
#817A56 #A19973 #BAB498 #D3CFBD #EBE9E1

Accessibility & contrast

On white

2.09
#BAB498 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.07
#BAB498 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB498
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB498#FFFFFF#000000##000000
##BAB4981.002.0910.0710.07
#FFFFFF2.091.0021.0021.00
#00000010.0721.001.001.00
##00000010.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAB296
Deuteranopia (green-blind)
#BCB599
Tritanopia (blue-blind)
#C0B0AC
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #bab498;
/* rgb */ color: rgb(186, 180, 152);
/* oklch */ color: oklch(76.7% 0.039 97.2);
Tailwind
colors: {
  custom: {
    50: '#cfcab6',
    500: '#bab498',
    950: '#000000',
  },
}
SCSS
$custom: #bab498;
$custom-light: #cfcab6;
$custom-dark: #000000;
JSON
{
  "hex": "#bab498",
  "rgb": {
    "r": 186,
    "g": 180,
    "b": 152
  },
  "hsl": {
    "h": 49.412,
    "s": 19.767,
    "l": 66.275
  },
  "oklch": {
    "l": 0.76739,
    "c": 0.03909,
    "h": 97.2
  },
  "luminance": 0.45349
}

Semantic roles & 50–950 ramp

primary
#BAB498
secondary
#D1D3DC
accent
#579E47
background
#FCFCFB
surface
#F9F8F6
border
#D2D1D0
text
#131311
muted
#828280

Preview Lab

Preview with #BAB498

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

Preview Lab → · Contrast checker → · Palette generator →

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