#BAFA80#BAFA80

#BAFA80 is a very light, vivid yellow-green. Relative luminance 0.804; OKLCH L 91.6% C 0.166 H 131.7°. Best body text is #000000 at 17.07:1 contrast (WCAG AA passes).

Color values

HEX#BAFA80
RGBrgb(186, 250, 128)
HSLhsl(91, 92%, 74%)
HSVhsv(91, 49%, 98%)
CMYKcmyk(25.6%, 0%, 48.8%, 2%)
CIE-LABlab(91.85, -39.97, 51.80)
CIE-LCHlch(91.85, 65.42, 127.65°)
OKLaboklab(91.6% -0.1107 0.1241)
OKLCHoklch(91.6% 0.166 131.7)
XYZxyz(58.3307, 80.3673, 32.8571)
Luminance0.8037 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAFA80 #C080FA
analogous
#F7FA80 #BAFA80 #80FA83
triadic
#BAFA80 #80BAFA #FA80BA
tetradic
#BAFA80 #80F7FA #C080FA #FA8380
square
#BAFA80 #80F7FA #C080FA #FA8380
split-complementary
#BAFA80 #8380FA #FA80F7
monochromatic
#7AF50A #9AF845 #BAFA80 #DAFCBB #EFFEE2

Accessibility & contrast

On white

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

On black

17.07
#BAFA80 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAFA80
17.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAFA80#FFFFFF#000000##000000
##BAFA801.001.2317.0717.07
#FFFFFF1.231.0021.0021.00
#00000017.0721.001.001.00
##00000017.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB75
Deuteranopia (green-blind)
#FAE688
Tritanopia (blue-blind)
#BCF1DE
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #bafa80;
/* rgb */ color: rgb(186, 250, 128);
/* oklch */ color: oklch(91.6% 0.166 131.7);
Tailwind
colors: {
  custom: {
    50: '#d1fca7',
    500: '#bafa80',
    950: '#000000',
  },
}
SCSS
$custom: #bafa80;
$custom-light: #d1fca7;
$custom-dark: #000000;
JSON
{
  "hex": "#bafa80",
  "rgb": {
    "r": 186,
    "g": 250,
    "b": 128
  },
  "hsl": {
    "h": 91.475,
    "s": 92.424,
    "l": 74.118
  },
  "oklch": {
    "l": 0.91595,
    "c": 0.16633,
    "h": 131.7
  },
  "luminance": 0.80369
}

Semantic roles & 50–950 ramp

primary
#BAFA80
secondary
#9347D7
accent
#00E678
background
#FEFFFC
surface
#FBFFF6
border
#D4D7D0
text
#141710
muted
#838580

Preview Lab

Preview with #BAFA80

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

Preview Lab → · Contrast checker → · Palette generator →

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