#BAFE70#BAFE70

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

Color values

HEX#BAFE70
RGBrgb(186, 254, 112)
HSLhsl(89, 99%, 72%)
HSVhsv(89, 56%, 100%)
CMYKcmyk(26.8%, 0%, 55.9%, 0.4%)
CIE-LABlab(92.79, -43.33, 60.15)
CIE-LCHlch(92.79, 74.13, 125.77°)
OKLaboklab(92.3% -0.1212 0.1411)
OKLCHoklch(92.3% 0.186 130.7)
XYZxyz(58.6155, 82.4910, 28.1602)
Luminance0.8249 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAFE70 #B470FE
analogous
#FEFB70 #BAFE70 #73FE70
triadic
#BAFE70 #70BAFE #FE70BA
tetradic
#BAFE70 #70FEFB #B470FE #FE7073
square
#BAFE70 #70FEFB #B470FE #FE7073
split-complementary
#BAFE70 #7073FE #FB70FE
monochromatic
#7FF202 #9DFE33 #BAFE70 #D7FEAD #F0FFE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAFE70#FFFFFF#000000##000000
##BAFE701.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)
#FFEE62
Deuteranopia (green-blind)
#FFE97A
Tritanopia (blue-blind)
#BDF4DF
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #bafe70;
/* rgb */ color: rgb(186, 254, 112);
/* oklch */ color: oklch(92.3% 0.186 130.7);
Tailwind
colors: {
  custom: {
    50: '#d2ff9d',
    500: '#bafe70',
    950: '#000000',
  },
}
SCSS
$custom: #bafe70;
$custom-light: #d2ff9d;
$custom-dark: #000000;
JSON
{
  "hex": "#bafe70",
  "rgb": {
    "r": 186,
    "g": 254,
    "b": 112
  },
  "hsl": {
    "h": 88.732,
    "s": 98.611,
    "l": 71.765
  },
  "oklch": {
    "l": 0.92302,
    "c": 0.18599,
    "h": 130.7
  },
  "luminance": 0.82493
}

Semantic roles & 50–950 ramp

primary
#BAFE70
secondary
#8638DA
accent
#00E66E
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14180F
muted
#838680

Preview Lab

Preview with #BAFE70

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

Preview Lab → · Contrast checker → · Palette generator →

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