#BAFA81#BAFA81

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

Color values

HEX#BAFA81
RGBrgb(186, 250, 129)
HSLhsl(92, 92%, 74%)
HSVhsv(92, 48%, 98%)
CMYKcmyk(25.6%, 0%, 48.4%, 2%)
CIE-LABlab(91.86, -39.86, 51.35)
CIE-LCHlch(91.86, 65.00, 127.82°)
OKLaboklab(91.61% -0.1103 0.1232)
OKLCHoklch(91.61% 0.165 131.9)
XYZxyz(58.3969, 80.3938, 33.2054)
Luminance0.8040 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAFA81 #C181FA
analogous
#F6FA81 #BAFA81 #81FA85
triadic
#BAFA81 #81BAFA #FA81BA
tetradic
#BAFA81 #81F6FA #C181FA #FA8581
square
#BAFA81 #81F6FA #C181FA #FA8581
split-complementary
#BAFA81 #8581FA #FA81F6
monochromatic
#7AF50B #9AF846 #BAFA81 #DAFCBC #EFFEE2

Accessibility & contrast

On white

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

On black

17.08
#BAFA81 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAFA81
17.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAFA81#FFFFFF#000000##000000
##BAFA811.001.2317.0817.08
#FFFFFF1.231.0021.0021.00
#00000017.0821.001.001.00
##00000017.0821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bafa81;
/* rgb */ color: rgb(186, 250, 129);
/* oklch */ color: oklch(91.6% 0.165 131.9);
Tailwind
colors: {
  custom: {
    50: '#d1fca8',
    500: '#bafa81',
    950: '#000000',
  },
}
SCSS
$custom: #bafa81;
$custom-light: #d1fca8;
$custom-dark: #000000;
JSON
{
  "hex": "#bafa81",
  "rgb": {
    "r": 186,
    "g": 250,
    "b": 129
  },
  "hsl": {
    "h": 91.736,
    "s": 92.366,
    "l": 74.314
  },
  "oklch": {
    "l": 0.91609,
    "c": 0.16539,
    "h": 131.9
  },
  "luminance": 0.80395
}

Semantic roles & 50–950 ramp

primary
#BAFA81
secondary
#9448D8
accent
#00E679
background
#FEFFFD
surface
#FBFFF7
border
#D4D7D0
text
#141710
muted
#838581

Preview Lab

Preview with #BAFA81

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

Preview Lab → · Contrast checker → · Palette generator →

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