#BAFA90#BAFA90

#BAFA90 is a very light, vivid yellow-green. Relative luminance 0.808; OKLCH L 91.8% C 0.151 H 134.0°. Best body text is #000000 at 17.16:1 contrast (WCAG AA passes).

Color values

HEX#BAFA90
RGBrgb(186, 250, 144)
HSLhsl(96, 91%, 77%)
HSVhsv(96, 42%, 98%)
CMYKcmyk(25.6%, 0%, 42.4%, 2%)
CIE-LABlab(92.05, -38.10, 44.45)
CIE-LCHlch(92.05, 58.54, 130.60°)
OKLaboklab(91.83% -0.1046 0.1085)
OKLCHoklch(91.83% 0.151 134)
XYZxyz(59.4681, 80.8222, 38.8472)
Luminance0.8082 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAFA90 #D090FA
analogous
#EFFA90 #BAFA90 #90FA9B
triadic
#BAFA90 #90BAFA #FA90BA
tetradic
#BAFA90 #90EFFA #D090FA #FA9B90
square
#BAFA90 #90EFFA #D090FA #FA9B90
split-complementary
#BAFA90 #9B90FA #FA90EF
monochromatic
#71F51B #96F755 #BAFA90 #DEFDCB #EDFEE2

Accessibility & contrast

On white

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

On black

17.16
#BAFA90 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAFA90
17.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAFA90#FFFFFF#000000##000000
##BAFA901.001.2217.1617.16
#FFFFFF1.221.0021.0021.00
#00000017.1621.001.001.00
##00000017.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC88
Deuteranopia (green-blind)
#F8E696
Tritanopia (blue-blind)
#BAF3E0
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #bafa90;
/* rgb */ color: rgb(186, 250, 144);
/* oklch */ color: oklch(91.8% 0.151 134.0);
Tailwind
colors: {
  custom: {
    50: '#d1fcb2',
    500: '#bafa90',
    950: '#000000',
  },
}
SCSS
$custom: #bafa90;
$custom-light: #d1fcb2;
$custom-dark: #000000;
JSON
{
  "hex": "#bafa90",
  "rgb": {
    "r": 186,
    "g": 250,
    "b": 144
  },
  "hsl": {
    "h": 96.226,
    "s": 91.379,
    "l": 77.255
  },
  "oklch": {
    "l": 0.91826,
    "c": 0.15074,
    "h": 134
  },
  "luminance": 0.80824
}

Semantic roles & 50–950 ramp

primary
#BAFA90
secondary
#A555DA
accent
#00E68B
background
#FEFFFD
surface
#FBFFF8
border
#D4D7D1
text
#141711
muted
#838581

Preview Lab

Preview with #BAFA90

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

Preview Lab → · Contrast checker → · Palette generator →

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