#BAB898#BAB898

#BAB898 is a light, muted yellow. Relative luminance 0.470; OKLCH L 77.6% C 0.044 H 104.4°. Best body text is #000000 at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#BAB898
RGBrgb(186, 184, 152)
HSLhsl(56, 20%, 66%)
HSVhsv(56, 18%, 73%)
CMYKcmyk(0%, 1.1%, 18.3%, 27.1%)
CIE-LABlab(74.18, -4.71, 16.55)
CIE-LCHlch(74.18, 17.21, 105.88°)
OKLaboklab(77.58% -0.0109 0.0425)
OKLCHoklch(77.58% 0.044 104.4)
XYZxyz(43.0573, 46.9876, 36.5009)
Luminance0.4699 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB898 #989ABA
analogous
#BAA798 #BAB898 #ABBA98
triadic
#BAB898 #98BAB8 #B898BA
tetradic
#BAB898 #98BAA7 #989ABA #BA98AB
square
#BAB898 #98BAA7 #989ABA #BA98AB
split-complementary
#BAB898 #98ABBA #A798BA
monochromatic
#817F56 #A19F73 #BAB898 #D3D1BD #EBEBE1

Accessibility & contrast

On white

2.02
#BAB898 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.40
#BAB898 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB898
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB898#FFFFFF#000000##000000
##BAB8981.002.0210.4010.40
#FFFFFF2.021.0021.0021.00
#00000010.4021.001.001.00
##00000010.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEB596
Deuteranopia (green-blind)
#BFB799
Tritanopia (blue-blind)
#BFB4AF
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #bab898;
/* rgb */ color: rgb(186, 184, 152);
/* oklch */ color: oklch(77.6% 0.044 104.4);
Tailwind
colors: {
  custom: {
    50: '#cfcdb6',
    500: '#bab898',
    950: '#000000',
  },
}
SCSS
$custom: #bab898;
$custom-light: #cfcdb6;
$custom-dark: #000000;
JSON
{
  "hex": "#bab898",
  "rgb": {
    "r": 186,
    "g": 184,
    "b": 152
  },
  "hsl": {
    "h": 56.471,
    "s": 19.767,
    "l": 66.275
  },
  "oklch": {
    "l": 0.77576,
    "c": 0.04385,
    "h": 104.4
  },
  "luminance": 0.46987
}

Semantic roles & 50–950 ramp

primary
#BAB898
secondary
#D1D2DC
accent
#4C9E47
background
#FCFCFB
surface
#F9F9F6
border
#D2D2D0
text
#131311
muted
#828280

Preview Lab

Preview with #BAB898

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

Preview Lab → · Contrast checker → · Palette generator →

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