#BABBA2#BABBA2

#BABBA2 is a light, muted yellow. Relative luminance 0.486; OKLCH L 78.4% C 0.034 H 109.0°. Best body text is #000000 at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#BABBA2
RGBrgb(186, 187, 162)
HSLhsl(62, 16%, 68%)
HSVhsv(62, 13%, 73%)
CMYKcmyk(0.5%, 0%, 13.4%, 26.7%)
CIE-LABlab(75.19, -4.71, 12.57)
CIE-LCHlch(75.19, 13.42, 110.56°)
OKLaboklab(78.45% -0.0112 0.0325)
OKLCHoklch(78.45% 0.034 109)
XYZxyz(44.5409, 48.5887, 41.2075)
Luminance0.4859 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABBA2 #A3A2BB
analogous
#BBAFA2 #BABBA2 #ADBBA2
triadic
#BABBA2 #A2BABB #BBA2BA
tetradic
#BABBA2 #A2BBAF #A3A2BB #BBA2AD
square
#BABBA2 #A2BBAF #A3A2BB #BBA2AD
split-complementary
#BABBA2 #A2ADBB #AFA2BB
monochromatic
#818360 #A0A17F #BABBA2 #D4D5C5 #EEEFE9

Accessibility & contrast

On white

1.96
#BABBA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.72
#BABBA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BABBA2
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BABBA2#FFFFFF#000000##000000
##BABBA21.001.9610.7210.72
#FFFFFF1.961.0021.0021.00
#00000010.7221.001.001.00
##00000010.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFB9A1
Deuteranopia (green-blind)
#C0BAA3
Tritanopia (blue-blind)
#BEB8B4
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #babba2;
/* rgb */ color: rgb(186, 187, 162);
/* oklch */ color: oklch(78.4% 0.034 109.0);
Tailwind
colors: {
  custom: {
    50: '#cecfbd',
    500: '#babba2',
    950: '#000000',
  },
}
SCSS
$custom: #babba2;
$custom-light: #cecfbd;
$custom-dark: #000000;
JSON
{
  "hex": "#babba2",
  "rgb": {
    "r": 186,
    "g": 187,
    "b": 162
  },
  "hsl": {
    "h": 62.4,
    "s": 15.528,
    "l": 68.431
  },
  "oklch": {
    "l": 0.78447,
    "c": 0.0344,
    "h": 109
  },
  "luminance": 0.48588
}

Semantic roles & 50–950 ramp

primary
#BABBA2
secondary
#D9D9E0
accent
#4C9A4F
background
#FCFCFB
surface
#F9F9F6
border
#D2D2D0
text
#131312
muted
#828281

Preview Lab

Preview with #BABBA2

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

Preview Lab → · Contrast checker → · Palette generator →

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