#BABC8A#BABC8A

#BABC8A is a light, moderate yellow. Relative luminance 0.482; OKLCH L 78.1% C 0.067 H 109.8°. Best body text is #000000 at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#BABC8A
RGBrgb(186, 188, 138)
HSLhsl(62, 27%, 64%)
HSVhsv(62, 27%, 74%)
CMYKcmyk(1.1%, 0%, 26.6%, 26.3%)
CIE-LABlab(74.98, -8.84, 25.15)
CIE-LCHlch(74.98, 26.66, 109.37°)
OKLaboklab(78.11% -0.0227 0.0633)
OKLCHoklch(78.11% 0.067 109.8)
XYZxyz(42.8203, 48.2411, 31.0955)
Luminance0.4824 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABC8A #8C8ABC
analogous
#BCA58A #BABC8A #A1BC8A
triadic
#BABC8A #8ABABC #BC8ABA
tetradic
#BABC8A #8ABCA5 #8C8ABC #BC8AA1
square
#BABC8A #8ABCA5 #8C8ABC #BC8AA1
split-complementary
#BABC8A #8AA1BC #A58ABC
monochromatic
#7F814A #A3A663 #BABC8A #D1D2B1 #E8E9D8

Accessibility & contrast

On white

1.97
#BABC8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.65
#BABC8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BABC8A
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BABC8A#FFFFFF#000000##000000
##BABC8A1.001.9710.6510.65
#FFFFFF1.971.0021.0021.00
#00000010.6521.001.001.00
##00000010.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B887
Deuteranopia (green-blind)
#C5B98C
Tritanopia (blue-blind)
#C1B6AF
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #babc8a;
/* rgb */ color: rgb(186, 188, 138);
/* oklch */ color: oklch(78.1% 0.067 109.8);
Tailwind
colors: {
  custom: {
    50: '#cfd0ac',
    500: '#babc8a',
    950: '#000000',
  },
}
SCSS
$custom: #babc8a;
$custom-light: #cfd0ac;
$custom-dark: #000000;
JSON
{
  "hex": "#babc8a",
  "rgb": {
    "r": 186,
    "g": 188,
    "b": 138
  },
  "hsl": {
    "h": 62.4,
    "s": 27.174,
    "l": 63.922
  },
  "oklch": {
    "l": 0.78115,
    "c": 0.06725,
    "h": 109.8
  },
  "luminance": 0.48241
}

Semantic roles & 50–950 ramp

primary
#BABC8A
secondary
#C9C8DA
accent
#40A644
background
#FCFCFA
surface
#F9F9F4
border
#D2D2CE
text
#141310
muted
#82827F

Preview Lab

Preview with #BABC8A

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

Preview Lab → · Contrast checker → · Palette generator →

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