#BAE987#BAE987

#BAE987 is a very light, vivid yellow-green. Relative luminance 0.705; OKLCH L 87.9% C 0.135 H 129.7°. Best body text is #000000 at 15.09:1 contrast (WCAG AA passes).

Color values

HEX#BAE987
RGBrgb(186, 233, 135)
HSLhsl(89, 69%, 72%)
HSVhsv(89, 42%, 91%)
CMYKcmyk(20.2%, 0%, 42.1%, 8.6%)
CIE-LABlab(87.22, -31.43, 42.71)
CIE-LCHlch(87.22, 53.02, 126.35°)
OKLaboklab(87.89% -0.0865 0.1041)
OKLCHoklch(87.89% 0.135 129.7)
XYZxyz(53.7611, 70.4653, 33.6857)
Luminance0.7047 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAE987 #B687E9
analogous
#E9E787 #BAE987 #89E987
triadic
#BAE987 #87BAE9 #E987BA
tetradic
#BAE987 #87E9E7 #B687E9 #E98789
square
#BAE987 #87E9E7 #B687E9 #E98789
split-complementary
#BAE987 #8789E9 #E787E9
monochromatic
#7ED026 #9CE053 #BAE987 #D8F2BB #F0FAE5

Accessibility & contrast

On white

1.39
#BAE987 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.09
#BAE987 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAE987
15.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAE987#FFFFFF#000000##000000
##BAE9871.001.3915.0915.09
#FFFFFF1.391.0021.0021.00
#00000015.0921.001.001.00
##00000015.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1DD7F
Deuteranopia (green-blind)
#EAD98C
Tritanopia (blue-blind)
#BDE1D1
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #bae987;
/* rgb */ color: rgb(186, 233, 135);
/* oklch */ color: oklch(87.9% 0.135 129.7);
Tailwind
colors: {
  custom: {
    50: '#d0f0ab',
    500: '#bae987',
    950: '#000000',
  },
}
SCSS
$custom: #bae987;
$custom-light: #d0f0ab;
$custom-dark: #000000;
JSON
{
  "hex": "#bae987",
  "rgb": {
    "r": 186,
    "g": 233,
    "b": 135
  },
  "hsl": {
    "h": 88.776,
    "s": 69.014,
    "l": 72.157
  },
  "oklch": {
    "l": 0.87892,
    "c": 0.13541,
    "h": 129.7
  },
  "luminance": 0.70466
}

Semantic roles & 50–950 ramp

primary
#BAE987
secondary
#8852C3
accent
#15D16F
background
#FEFFFD
surface
#FBFEF7
border
#D4D6D0
text
#141610
muted
#838581

Preview Lab

Preview with #BAE987

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

Preview Lab → · Contrast checker → · Palette generator →

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