#BAFA77#BAFA77

#BAFA77 is a very light, vivid yellow-green. Relative luminance 0.801; OKLCH L 91.5% C 0.175 H 130.7°. Best body text is #000000 at 17.03:1 contrast (WCAG AA passes).

Color values

HEX#BAFA77
RGBrgb(186, 250, 119)
HSLhsl(89, 93%, 72%)
HSVhsv(89, 52%, 98%)
CMYKcmyk(25.6%, 0%, 52.4%, 2%)
CIE-LABlab(91.75, -40.91, 55.81)
CIE-LCHlch(91.75, 69.20, 126.24°)
OKLaboklab(91.48% -0.1139 0.1323)
OKLCHoklch(91.48% 0.175 130.7)
XYZxyz(57.7644, 80.1408, 29.8745)
Luminance0.8014 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAFA77 #B777FA
analogous
#FAF977 #BAFA77 #79FA77
triadic
#BAFA77 #77BAFA #FA77BA
tetradic
#BAFA77 #77FAF9 #B777FA #FA7779
square
#BAFA77 #77FAF9 #B777FA #FA7779
split-complementary
#BAFA77 #7779FA #F977FA
monochromatic
#7EEE09 #9CF83C #BAFA77 #D8FCB2 #F0FEE1

Accessibility & contrast

On white

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

On black

17.03
#BAFA77 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAFA77
17.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAFA77#FFFFFF#000000##000000
##BAFA771.001.2317.0317.03
#FFFFFF1.231.0021.0021.00
#00000017.0321.001.001.00
##00000017.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA6B
Deuteranopia (green-blind)
#FBE67F
Tritanopia (blue-blind)
#BDF1DC
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #bafa77;
/* rgb */ color: rgb(186, 250, 119);
/* oklch */ color: oklch(91.5% 0.175 130.7);
Tailwind
colors: {
  custom: {
    50: '#d1fca1',
    500: '#bafa77',
    950: '#000000',
  },
}
SCSS
$custom: #bafa77;
$custom-light: #d1fca1;
$custom-dark: #000000;
JSON
{
  "hex": "#bafa77",
  "rgb": {
    "r": 186,
    "g": 250,
    "b": 119
  },
  "hsl": {
    "h": 89.313,
    "s": 92.908,
    "l": 72.353
  },
  "oklch": {
    "l": 0.9148,
    "c": 0.17461,
    "h": 130.7
  },
  "luminance": 0.80142
}

Semantic roles & 50–950 ramp

primary
#BAFA77
secondary
#893FD6
accent
#00E670
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14170F
muted
#838580

Preview Lab

Preview with #BAFA77

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

Preview Lab → · Contrast checker → · Palette generator →

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