#BABE87#BABE87

#BABE87 is a light, moderate yellow. Relative luminance 0.490; OKLCH L 78.5% C 0.074 H 111.5°. Best body text is #000000 at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#BABE87
RGBrgb(186, 190, 135)
HSLhsl(64, 30%, 64%)
HSVhsv(64, 29%, 75%)
CMYKcmyk(2.1%, 0%, 28.9%, 25.5%)
CIE-LABlab(75.46, -10.28, 27.39)
CIE-LCHlch(75.46, 29.26, 110.58°)
OKLaboklab(78.48% -0.027 0.0686)
OKLCHoklch(78.48% 0.074 111.5)
XYZxyz(43.0364, 49.0158, 30.1108)
Luminance0.4901 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABE87 #8B87BE
analogous
#BEA687 #BABE87 #9EBE87
triadic
#BABE87 #87BABE #BE87BA
tetradic
#BABE87 #87BEA6 #8B87BE #BE879E
square
#BABE87 #87BEA6 #8B87BE #BE879E
split-complementary
#BABE87 #879EBE #A687BE
monochromatic
#7F8347 #A3A85F #BABE87 #D1D4AF #E8E9D6

Accessibility & contrast

On white

1.94
#BABE87 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.80
#BABE87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BABE87
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BABE87#FFFFFF#000000##000000
##BABE871.001.9410.8010.80
#FFFFFF1.941.0021.0021.00
#00000010.8021.001.001.00
##00000010.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B983
Deuteranopia (green-blind)
#C7BB89
Tritanopia (blue-blind)
#C1B8B0
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #babe87;
/* rgb */ color: rgb(186, 190, 135);
/* oklch */ color: oklch(78.5% 0.074 111.5);
Tailwind
colors: {
  custom: {
    50: '#cfd1aa',
    500: '#babe87',
    950: '#000000',
  },
}
SCSS
$custom: #babe87;
$custom-light: #cfd1aa;
$custom-dark: #000000;
JSON
{
  "hex": "#babe87",
  "rgb": {
    "r": 186,
    "g": 190,
    "b": 135
  },
  "hsl": {
    "h": 64.364,
    "s": 29.73,
    "l": 63.725
  },
  "oklch": {
    "l": 0.78482,
    "c": 0.07368,
    "h": 111.5
  },
  "luminance": 0.49015
}

Semantic roles & 50–950 ramp

primary
#BABE87
secondary
#C8C7DA
accent
#3DA845
background
#FCFCFA
surface
#F9F9F4
border
#D2D2CE
text
#141410
muted
#82827F

Preview Lab

Preview with #BABE87

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

Preview Lab → · Contrast checker → · Palette generator →

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