#BAFA71#BAFA71

#BAFA71 is a very light, vivid yellow-green. Relative luminance 0.800; OKLCH L 91.4% C 0.180 H 130.2°. Best body text is #000000 at 17.00:1 contrast (WCAG AA passes).

Color values

HEX#BAFA71
RGBrgb(186, 250, 113)
HSLhsl(88, 93%, 71%)
HSVhsv(88, 55%, 98%)
CMYKcmyk(25.6%, 0%, 54.8%, 2%)
CIE-LABlab(91.69, -41.49, 58.43)
CIE-LCHlch(91.69, 71.66, 125.38°)
OKLaboklab(91.41% -0.116 0.1375)
OKLCHoklch(91.41% 0.18 130.2)
XYZxyz(57.4154, 80.0012, 28.0364)
Luminance0.8000 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAFA71 #B171FA
analogous
#FAF571 #BAFA71 #75FA71
triadic
#BAFA71 #71BAFA #FA71BA
tetradic
#BAFA71 #71FAF5 #B171FA #FA7175
square
#BAFA71 #71FAF5 #B171FA #FA7175
split-complementary
#BAFA71 #7175FA #F571FA
monochromatic
#80E808 #9DF836 #BAFA71 #D7FCAC #F1FEE1

Accessibility & contrast

On white

1.24
#BAFA71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.00
#BAFA71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAFA71
17.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAFA71#FFFFFF#000000##000000
##BAFA711.001.2417.0017.00
#FFFFFF1.241.0021.0021.00
#00000017.0021.001.001.00
##00000017.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA63
Deuteranopia (green-blind)
#FBE67A
Tritanopia (blue-blind)
#BEF1DC
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #bafa71;
/* rgb */ color: rgb(186, 250, 113);
/* oklch */ color: oklch(91.4% 0.180 130.2);
Tailwind
colors: {
  custom: {
    50: '#d2fc9d',
    500: '#bafa71',
    950: '#000000',
  },
}
SCSS
$custom: #bafa71;
$custom-light: #d2fc9d;
$custom-dark: #000000;
JSON
{
  "hex": "#bafa71",
  "rgb": {
    "r": 186,
    "g": 250,
    "b": 113
  },
  "hsl": {
    "h": 88.029,
    "s": 93.197,
    "l": 71.176
  },
  "oklch": {
    "l": 0.91409,
    "c": 0.17989,
    "h": 130.2
  },
  "luminance": 0.80003
}

Semantic roles & 50–950 ramp

primary
#BAFA71
secondary
#823AD5
accent
#00E66B
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14170F
muted
#838580

Preview Lab

Preview with #BAFA71

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

Preview Lab → · Contrast checker → · Palette generator →

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