#BAFE71#BAFE71

#BAFE71 is a very light, vivid yellow-green. Relative luminance 0.825; OKLCH L 92.3% C 0.185 H 130.7°. Best body text is #000000 at 17.50:1 contrast (WCAG AA passes).

Color values

HEX#BAFE71
RGBrgb(186, 254, 113)
HSLhsl(89, 99%, 72%)
HSVhsv(89, 56%, 100%)
CMYKcmyk(26.8%, 0%, 55.5%, 0.4%)
CIE-LABlab(92.80, -43.24, 59.72)
CIE-LCHlch(92.80, 73.73, 125.91°)
OKLaboklab(92.31% -0.1208 0.1403)
OKLCHoklch(92.31% 0.185 130.7)
XYZxyz(58.6715, 82.5134, 28.4551)
Luminance0.8252 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAFE71 #B571FE
analogous
#FEFB71 #BAFE71 #74FE71
triadic
#BAFE71 #71BAFE #FE71BA
tetradic
#BAFE71 #71FEFB #B571FE #FE7174
square
#BAFE71 #71FEFB #B571FE #FE7174
split-complementary
#BAFE71 #7174FE #FB71FE
monochromatic
#7FF302 #9CFE34 #BAFE71 #D8FEAE #F0FFE1

Accessibility & contrast

On white

1.20
#BAFE71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.50
#BAFE71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAFE71
17.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAFE71#FFFFFF#000000##000000
##BAFE711.001.2017.5017.50
#FFFFFF1.201.0021.0021.00
#00000017.5021.001.001.00
##00000017.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE63
Deuteranopia (green-blind)
#FFE97B
Tritanopia (blue-blind)
#BDF4DF
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #bafe71;
/* rgb */ color: rgb(186, 254, 113);
/* oklch */ color: oklch(92.3% 0.185 130.7);
Tailwind
colors: {
  custom: {
    50: '#d2ff9e',
    500: '#bafe71',
    950: '#000000',
  },
}
SCSS
$custom: #bafe71;
$custom-light: #d2ff9e;
$custom-dark: #000000;
JSON
{
  "hex": "#bafe71",
  "rgb": {
    "r": 186,
    "g": 254,
    "b": 113
  },
  "hsl": {
    "h": 88.936,
    "s": 98.601,
    "l": 71.961
  },
  "oklch": {
    "l": 0.92313,
    "c": 0.18515,
    "h": 130.7
  },
  "luminance": 0.82515
}

Semantic roles & 50–950 ramp

primary
#BAFE71
secondary
#8739DB
accent
#00E66F
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14180F
muted
#838680

Preview Lab

Preview with #BAFE71

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

Preview Lab → · Contrast checker → · Palette generator →

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