#BAFA89#BAFA89

#BAFA89 is a very light, vivid yellow-green. Relative luminance 0.806; OKLCH L 91.7% C 0.158 H 132.9°. Best body text is #000000 at 17.12:1 contrast (WCAG AA passes).

Color values

HEX#BAFA89
RGBrgb(186, 250, 137)
HSLhsl(94, 92%, 76%)
HSVhsv(94, 45%, 98%)
CMYKcmyk(25.6%, 0%, 45.2%, 2%)
CIE-LABlab(91.96, -38.94, 47.69)
CIE-LCHlch(91.96, 61.57, 129.23°)
OKLaboklab(91.72% -0.1073 0.1155)
OKLCHoklch(91.72% 0.158 132.9)
XYZxyz(58.9496, 80.6148, 36.1164)
Luminance0.8062 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAFA89 #C989FA
analogous
#F3FA89 #BAFA89 #89FA90
triadic
#BAFA89 #89BAFA #FA89BA
tetradic
#BAFA89 #89F3FA #C989FA #FA9089
square
#BAFA89 #89F3FA #C989FA #FA9089
split-complementary
#BAFA89 #9089FA #FA89F3
monochromatic
#75F514 #98F84E #BAFA89 #DCFCC4 #EEFEE2

Accessibility & contrast

On white

1.23
#BAFA89 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.12
#BAFA89 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAFA89
17.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAFA89#FFFFFF#000000##000000
##BAFA891.001.2317.1217.12
#FFFFFF1.231.0021.0021.00
#00000017.1221.001.001.00
##00000017.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB80
Deuteranopia (green-blind)
#F9E690
Tritanopia (blue-blind)
#BBF2DF
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #bafa89;
/* rgb */ color: rgb(186, 250, 137);
/* oklch */ color: oklch(91.7% 0.158 132.9);
Tailwind
colors: {
  custom: {
    50: '#d1fcad',
    500: '#bafa89',
    950: '#000000',
  },
}
SCSS
$custom: #bafa89;
$custom-light: #d1fcad;
$custom-dark: #000000;
JSON
{
  "hex": "#bafa89",
  "rgb": {
    "r": 186,
    "g": 250,
    "b": 137
  },
  "hsl": {
    "h": 93.982,
    "s": 91.87,
    "l": 75.882
  },
  "oklch": {
    "l": 0.91721,
    "c": 0.15768,
    "h": 132.9
  },
  "luminance": 0.80616
}

Semantic roles & 50–950 ramp

primary
#BAFA89
secondary
#9D4FD9
accent
#00E682
background
#FEFFFD
surface
#FBFFF7
border
#D4D7D0
text
#141710
muted
#838581

Preview Lab

Preview with #BAFA89

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

Preview Lab → · Contrast checker → · Palette generator →

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