#BABB8A#BABB8A

#BABB8A is a light, moderate yellow. Relative luminance 0.478; OKLCH L 77.9% C 0.066 H 108.8°. Best body text is #000000 at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#BABB8A
RGBrgb(186, 187, 138)
HSLhsl(61, 26%, 64%)
HSVhsv(61, 26%, 73%)
CMYKcmyk(0.5%, 0%, 26.2%, 26.7%)
CIE-LABlab(74.71, -8.32, 24.79)
CIE-LCHlch(74.71, 26.15, 108.55°)
OKLaboklab(77.9% -0.0213 0.0624)
OKLCHoklch(77.9% 0.066 108.8)
XYZxyz(42.6075, 47.8153, 31.0246)
Luminance0.4782 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABB8A #8B8ABB
analogous
#BBA38A #BABB8A #A1BB8A
triadic
#BABB8A #8ABABB #BB8ABA
tetradic
#BABB8A #8ABBA3 #8B8ABB #BB8AA1
square
#BABB8A #8ABBA3 #8B8ABB #BB8AA1
split-complementary
#BABB8A #8AA1BB #A38ABB
monochromatic
#7F804A #A3A563 #BABB8A #D1D1B1 #E8E8D7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BABB8A#FFFFFF#000000##000000
##BABB8A1.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)
#C3B787
Deuteranopia (green-blind)
#C4B98C
Tritanopia (blue-blind)
#C1B5AE
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #babb8a;
/* rgb */ color: rgb(186, 187, 138);
/* oklch */ color: oklch(77.9% 0.066 108.8);
Tailwind
colors: {
  custom: {
    50: '#cfcfac',
    500: '#babb8a',
    950: '#000000',
  },
}
SCSS
$custom: #babb8a;
$custom-light: #cfcfac;
$custom-dark: #000000;
JSON
{
  "hex": "#babb8a",
  "rgb": {
    "r": 186,
    "g": 187,
    "b": 138
  },
  "hsl": {
    "h": 61.224,
    "s": 26.486,
    "l": 63.725
  },
  "oklch": {
    "l": 0.77902,
    "c": 0.06594,
    "h": 108.8
  },
  "luminance": 0.47815
}

Semantic roles & 50–950 ramp

primary
#BABB8A
secondary
#C8C8D9
accent
#40A542
background
#FCFCFA
surface
#F9F9F4
border
#D2D2CE
text
#141310
muted
#82827F

Preview Lab

Preview with #BABB8A

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

Preview Lab → · Contrast checker → · Palette generator →

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