#BABA87#BABA87

#BABA87 is a light, moderate yellow. Relative luminance 0.473; OKLCH L 77.6% C 0.068 H 107.9°. Best body text is #000000 at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#BABA87
RGBrgb(186, 186, 135)
HSLhsl(60, 27%, 63%)
HSVhsv(60, 27%, 73%)
CMYKcmyk(0%, 0%, 27.4%, 27.1%)
CIE-LABlab(74.39, -8.21, 25.95)
CIE-LCHlch(74.39, 27.21, 107.55°)
OKLaboklab(77.63% -0.021 0.0651)
OKLCHoklch(77.63% 0.068 107.9)
XYZxyz(42.1819, 47.3068, 29.8260)
Luminance0.4731 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABA87 #8787BA
analogous
#BAA087 #BABA87 #A0BA87
triadic
#BABA87 #87BABA #BA87BA
tetradic
#BABA87 #87BAA0 #8787BA #BA87A0
square
#BABA87 #87BAA0 #8787BA #BA87A0
split-complementary
#BABA87 #87A0BA #A087BA
monochromatic
#7E7E49 #A4A460 #BABA87 #D0D0AE #E7E7D5

Accessibility & contrast

On white

2.01
#BABA87 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.46
#BABA87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BABA87
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BABA87#FFFFFF#000000##000000
##BABA871.002.0110.4610.46
#FFFFFF2.011.0021.0021.00
#00000010.4621.001.001.00
##00000010.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2B684
Deuteranopia (green-blind)
#C3B889
Tritanopia (blue-blind)
#C1B4AD
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #baba87;
/* rgb */ color: rgb(186, 186, 135);
/* oklch */ color: oklch(77.6% 0.068 107.9);
Tailwind
colors: {
  custom: {
    50: '#cfceaa',
    500: '#baba87',
    950: '#000000',
  },
}
SCSS
$custom: #baba87;
$custom-light: #cfceaa;
$custom-dark: #000000;
JSON
{
  "hex": "#baba87",
  "rgb": {
    "r": 186,
    "g": 186,
    "b": 135
  },
  "hsl": {
    "h": 60,
    "s": 26.984,
    "l": 62.941
  },
  "oklch": {
    "l": 0.77629,
    "c": 0.06845,
    "h": 107.9
  },
  "luminance": 0.47306
}

Semantic roles & 50–950 ramp

primary
#BABA87
secondary
#C5C5D8
accent
#40A640
background
#FCFCFA
surface
#F9F9F4
border
#D2D2CE
text
#141310
muted
#82827F

Preview Lab

Preview with #BABA87

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

Preview Lab → · Contrast checker → · Palette generator →

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