#BAB296#BAB296

#BAB296 is a light, muted yellow. Relative luminance 0.445; OKLCH L 76.3% C 0.040 H 93.9°. Best body text is #000000 at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#BAB296
RGBrgb(186, 178, 150)
HSLhsl(47, 21%, 66%)
HSVhsv(47, 19%, 73%)
CMYKcmyk(0%, 4.3%, 19.4%, 27.1%)
CIE-LABlab(72.55, -1.83, 15.36)
CIE-LCHlch(72.55, 15.47, 96.79°)
OKLaboklab(76.27% -0.0027 0.0395)
OKLCHoklch(76.27% 0.04 93.9)
XYZxyz(41.6749, 44.4826, 35.2388)
Luminance0.4448 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB296 #969EBA
analogous
#BAA096 #BAB296 #B0BA96
triadic
#BAB296 #96BAB2 #B296BA
tetradic
#BAB296 #96BAA0 #969EBA #BA96B0
square
#BAB296 #96BAA0 #969EBA #BA96B0
split-complementary
#BAB296 #96B0BA #A096BA
monochromatic
#817755 #A29771 #BAB296 #D2CDBB #EBE8E0

Accessibility & contrast

On white

2.12
#BAB296 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.90
#BAB296 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB296
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB296#FFFFFF#000000##000000
##BAB2961.002.129.909.90
#FFFFFF2.121.0021.0021.00
#0000009.9021.001.001.00
##0000009.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8B094
Deuteranopia (green-blind)
#BBB397
Tritanopia (blue-blind)
#C0AEAA
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #bab296;
/* rgb */ color: rgb(186, 178, 150);
/* oklch */ color: oklch(76.3% 0.040 93.9);
Tailwind
colors: {
  custom: {
    50: '#cfc9b5',
    500: '#bab296',
    950: '#000000',
  },
}
SCSS
$custom: #bab296;
$custom-light: #cfc9b5;
$custom-dark: #000000;
JSON
{
  "hex": "#bab296",
  "rgb": {
    "r": 186,
    "g": 178,
    "b": 150
  },
  "hsl": {
    "h": 46.667,
    "s": 20.69,
    "l": 65.882
  },
  "oklch": {
    "l": 0.76274,
    "c": 0.03958,
    "h": 93.9
  },
  "luminance": 0.44482
}

Semantic roles & 50–950 ramp

primary
#BAB296
secondary
#D0D3DC
accent
#5A9F46
background
#FCFCFB
surface
#F9F8F6
border
#D2D1D0
text
#131311
muted
#828280

Preview Lab

Preview with #BAB296

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

Preview Lab → · Contrast checker → · Palette generator →

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