#BAFE89#BAFE89

#BAFE89 is a very light, vivid yellow-green. Relative luminance 0.831; OKLCH L 92.6% C 0.163 H 133.4°. Best body text is #000000 at 17.63:1 contrast (WCAG AA passes).

Color values

HEX#BAFE89
RGBrgb(186, 254, 137)
HSLhsl(95, 98%, 77%)
HSVhsv(95, 46%, 100%)
CMYKcmyk(26.8%, 0%, 46.1%, 0.4%)
CIE-LABlab(93.07, -40.72, 49.07)
CIE-LCHlch(93.07, 63.77, 129.69°)
OKLaboklab(92.62% -0.1123 0.1186)
OKLCHoklch(92.62% 0.163 133.4)
XYZxyz(60.2057, 83.1271, 36.5351)
Luminance0.8313 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAFE89 #CD89FE
analogous
#F4FE89 #BAFE89 #89FE93
triadic
#BAFE89 #89BAFE #FE89BA
tetradic
#BAFE89 #89F4FE #CD89FE #FE9389
square
#BAFE89 #89F4FE #CD89FE #FE9389
split-complementary
#BAFE89 #9389FE #FE89F4
monochromatic
#73FD10 #97FD4C #BAFE89 #DDFFC6 #EDFFE1

Accessibility & contrast

On white

1.19
#BAFE89 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.63
#BAFE89 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAFE89
17.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAFE89#FFFFFF#000000##000000
##BAFE891.001.1917.6317.63
#FFFFFF1.191.0021.0021.00
#00000017.6321.001.001.00
##00000017.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF7F
Deuteranopia (green-blind)
#FCE990
Tritanopia (blue-blind)
#BBF6E2
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #bafe89;
/* rgb */ color: rgb(186, 254, 137);
/* oklch */ color: oklch(92.6% 0.163 133.4);
Tailwind
colors: {
  custom: {
    50: '#d1ffad',
    500: '#bafe89',
    950: '#000000',
  },
}
SCSS
$custom: #bafe89;
$custom-light: #d1ffad;
$custom-dark: #000000;
JSON
{
  "hex": "#bafe89",
  "rgb": {
    "r": 186,
    "g": 254,
    "b": 137
  },
  "hsl": {
    "h": 94.872,
    "s": 98.319,
    "l": 76.667
  },
  "oklch": {
    "l": 0.92618,
    "c": 0.16331,
    "h": 133.4
  },
  "luminance": 0.83129
}

Semantic roles & 50–950 ramp

primary
#BAFE89
secondary
#A14DDE
accent
#00E685
background
#FEFFFD
surface
#FBFFF7
border
#D4D7D0
text
#141810
muted
#838681

Preview Lab

Preview with #BAFE89

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

Preview Lab → · Contrast checker → · Palette generator →

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