#BAFE7A#BAFE7A

#BAFE7A is a very light, vivid yellow-green. Relative luminance 0.827; OKLCH L 92.4% C 0.177 H 131.6°. Best body text is #000000 at 17.55:1 contrast (WCAG AA passes).

Color values

HEX#BAFE7A
RGBrgb(186, 254, 122)
HSLhsl(91, 99%, 74%)
HSVhsv(91, 52%, 100%)
CMYKcmyk(26.8%, 0%, 52%, 0.4%)
CIE-LABlab(92.89, -42.36, 55.81)
CIE-LCHlch(92.89, 70.07, 127.20°)
OKLaboklab(92.42% -0.1178 0.1325)
OKLCHoklch(92.42% 0.177 131.6)
XYZxyz(59.2035, 82.7262, 31.2571)
Luminance0.8273 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAFE7A #BE7AFE
analogous
#FCFE7A #BAFE7A #7AFE7C
triadic
#BAFE7A #7ABAFE #FE7ABA
tetradic
#BAFE7A #7AFCFE #BE7AFE #FE7C7A
square
#BAFE7A #7AFCFE #BE7AFE #FE7C7A
split-complementary
#BAFE7A #7C7AFE #FE7AFC
monochromatic
#7BFC02 #9AFE3D #BAFE7A #DAFEB7 #EFFFE1

Accessibility & contrast

On white

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

On black

17.55
#BAFE7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAFE7A
17.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAFE7A#FFFFFF#000000##000000
##BAFE7A1.001.2017.5517.55
#FFFFFF1.201.0021.0021.00
#00000017.5521.001.001.00
##00000017.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE6E
Deuteranopia (green-blind)
#FEE983
Tritanopia (blue-blind)
#BCF5E0
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #bafe7a;
/* rgb */ color: rgb(186, 254, 122);
/* oklch */ color: oklch(92.4% 0.177 131.6);
Tailwind
colors: {
  custom: {
    50: '#d2ffa3',
    500: '#bafe7a',
    950: '#000000',
  },
}
SCSS
$custom: #bafe7a;
$custom-light: #d2ffa3;
$custom-dark: #000000;
JSON
{
  "hex": "#bafe7a",
  "rgb": {
    "r": 186,
    "g": 254,
    "b": 122
  },
  "hsl": {
    "h": 90.909,
    "s": 98.507,
    "l": 73.725
  },
  "oklch": {
    "l": 0.92419,
    "c": 0.1773,
    "h": 131.6
  },
  "luminance": 0.82728
}

Semantic roles & 50–950 ramp

primary
#BAFE7A
secondary
#9040DC
accent
#00E676
background
#FEFFFC
surface
#FBFFF6
border
#D4D7D0
text
#14180F
muted
#838680

Preview Lab

Preview with #BAFE7A

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

Preview Lab → · Contrast checker → · Palette generator →

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