#BAFA91#BAFA91

#BAFA91 is a very light, vivid yellow-green. Relative luminance 0.809; OKLCH L 91.8% C 0.150 H 134.1°. Best body text is #000000 at 17.17:1 contrast (WCAG AA passes).

Color values

HEX#BAFA91
RGBrgb(186, 250, 145)
HSLhsl(97, 91%, 77%)
HSVhsv(97, 42%, 98%)
CMYKcmyk(25.6%, 0%, 42%, 2%)
CIE-LABlab(92.07, -37.97, 43.98)
CIE-LCHlch(92.07, 58.10, 130.81°)
OKLaboklab(91.84% -0.1042 0.1075)
OKLCHoklch(91.84% 0.15 134.1)
XYZxyz(59.5449, 80.8530, 39.2515)
Luminance0.8085 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAFA91 #D191FA
analogous
#EFFA91 #BAFA91 #91FA9C
triadic
#BAFA91 #91BAFA #FA91BA
tetradic
#BAFA91 #91EFFA #D191FA #FA9C91
square
#BAFA91 #91EFFA #D191FA #FA9C91
split-complementary
#BAFA91 #9C91FA #FA91EF
monochromatic
#71F51C #95F756 #BAFA91 #DFFDCC #EDFEE2

Accessibility & contrast

On white

1.22
#BAFA91 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.17
#BAFA91 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAFA91
17.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAFA91#FFFFFF#000000##000000
##BAFA911.001.2217.1717.17
#FFFFFF1.221.0021.0021.00
#00000017.1721.001.001.00
##00000017.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC89
Deuteranopia (green-blind)
#F8E697
Tritanopia (blue-blind)
#BAF3E1
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #bafa91;
/* rgb */ color: rgb(186, 250, 145);
/* oklch */ color: oklch(91.8% 0.150 134.1);
Tailwind
colors: {
  custom: {
    50: '#d1fcb2',
    500: '#bafa91',
    950: '#000000',
  },
}
SCSS
$custom: #bafa91;
$custom-light: #d1fcb2;
$custom-dark: #000000;
JSON
{
  "hex": "#bafa91",
  "rgb": {
    "r": 186,
    "g": 250,
    "b": 145
  },
  "hsl": {
    "h": 96.571,
    "s": 91.304,
    "l": 77.451
  },
  "oklch": {
    "l": 0.91841,
    "c": 0.14973,
    "h": 134.1
  },
  "luminance": 0.80855
}

Semantic roles & 50–950 ramp

primary
#BAFA91
secondary
#A656DA
accent
#00E68C
background
#FEFFFD
surface
#FBFFF8
border
#D4D7D1
text
#141711
muted
#838581

Preview Lab

Preview with #BAFA91

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

Preview Lab → · Contrast checker → · Palette generator →

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