#BAFE81#BAFE81

#BAFE81 is a very light, vivid yellow-green. Relative luminance 0.829; OKLCH L 92.5% C 0.171 H 132.4°. Best body text is #000000 at 17.58:1 contrast (WCAG AA passes).

Color values

HEX#BAFE81
RGBrgb(186, 254, 129)
HSLhsl(93, 98%, 75%)
HSVhsv(93, 49%, 100%)
CMYKcmyk(26.8%, 0%, 49.2%, 0.4%)
CIE-LABlab(92.97, -41.62, 52.70)
CIE-LCHlch(92.97, 67.16, 128.30°)
OKLaboklab(92.51% -0.1152 0.1262)
OKLCHoklch(92.51% 0.171 132.4)
XYZxyz(59.6530, 82.9060, 33.6241)
Luminance0.8291 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAFE81 #C581FE
analogous
#F8FE81 #BAFE81 #81FE86
triadic
#BAFE81 #81BAFE #FE81BA
tetradic
#BAFE81 #81F8FE #C581FE #FE8681
square
#BAFE81 #81F8FE #C581FE #FE8681
split-complementary
#BAFE81 #8681FE #FE81F8
monochromatic
#77FD08 #99FE44 #BAFE81 #DBFEBE #EEFFE1

Accessibility & contrast

On white

1.19
#BAFE81 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.58
#BAFE81 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAFE81
17.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAFE81#FFFFFF#000000##000000
##BAFE811.001.1917.5817.58
#FFFFFF1.191.0021.0021.00
#00000017.5821.001.001.00
##00000017.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE76
Deuteranopia (green-blind)
#FDE989
Tritanopia (blue-blind)
#BCF5E1
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #bafe81;
/* rgb */ color: rgb(186, 254, 129);
/* oklch */ color: oklch(92.5% 0.171 132.4);
Tailwind
colors: {
  custom: {
    50: '#d1ffa8',
    500: '#bafe81',
    950: '#000000',
  },
}
SCSS
$custom: #bafe81;
$custom-light: #d1ffa8;
$custom-dark: #000000;
JSON
{
  "hex": "#bafe81",
  "rgb": {
    "r": 186,
    "g": 254,
    "b": 129
  },
  "hsl": {
    "h": 92.64,
    "s": 98.425,
    "l": 75.098
  },
  "oklch": {
    "l": 0.92509,
    "c": 0.17089,
    "h": 132.4
  },
  "luminance": 0.82908
}

Semantic roles & 50–950 ramp

primary
#BAFE81
secondary
#9846DD
accent
#00E67D
background
#FEFFFD
surface
#FBFFF7
border
#D4D7D0
text
#141810
muted
#838681

Preview Lab

Preview with #BAFE81

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

Preview Lab → · Contrast checker → · Palette generator →

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