#BAFC81#BAFC81

#BAFC81 is a very light, vivid yellow-green. Relative luminance 0.816; OKLCH L 92.1% C 0.168 H 132.1°. Best body text is #000000 at 17.33:1 contrast (WCAG AA passes).

Color values

HEX#BAFC81
RGBrgb(186, 252, 129)
HSLhsl(92, 95%, 75%)
HSVhsv(92, 49%, 99%)
CMYKcmyk(26.2%, 0%, 48.8%, 1.2%)
CIE-LABlab(92.42, -40.74, 52.02)
CIE-LCHlch(92.42, 66.08, 128.07°)
OKLaboklab(92.06% -0.1128 0.1247)
OKLCHoklch(92.06% 0.168 132.1)
XYZxyz(59.0216, 81.6433, 33.4137)
Luminance0.8165 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAFC81 #C381FC
analogous
#F8FC81 #BAFC81 #81FC86
triadic
#BAFC81 #81BAFC #FC81BA
tetradic
#BAFC81 #81F8FC #C381FC #FC8681
square
#BAFC81 #81F8FC #C381FC #FC8681
split-complementary
#BAFC81 #8681FC #FC81F8
monochromatic
#79F909 #99FB45 #BAFC81 #DBFDBD #EFFEE1

Accessibility & contrast

On white

1.21
#BAFC81 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.33
#BAFC81 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAFC81
17.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAFC81#FFFFFF#000000##000000
##BAFC811.001.2117.3317.33
#FFFFFF1.211.0021.0021.00
#00000017.3321.001.001.00
##00000017.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED76
Deuteranopia (green-blind)
#FBE789
Tritanopia (blue-blind)
#BCF3E0
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #bafc81;
/* rgb */ color: rgb(186, 252, 129);
/* oklch */ color: oklch(92.1% 0.168 132.1);
Tailwind
colors: {
  custom: {
    50: '#d1fda8',
    500: '#bafc81',
    950: '#000000',
  },
}
SCSS
$custom: #bafc81;
$custom-light: #d1fda8;
$custom-dark: #000000;
JSON
{
  "hex": "#bafc81",
  "rgb": {
    "r": 186,
    "g": 252,
    "b": 129
  },
  "hsl": {
    "h": 92.195,
    "s": 95.349,
    "l": 74.706
  },
  "oklch": {
    "l": 0.92059,
    "c": 0.16814,
    "h": 132.1
  },
  "luminance": 0.81645
}

Semantic roles & 50–950 ramp

primary
#BAFC81
secondary
#9647DA
accent
#00E67B
background
#FEFFFD
surface
#FBFFF7
border
#D4D7D0
text
#141710
muted
#838581

Preview Lab

Preview with #BAFC81

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

Preview Lab → · Contrast checker → · Palette generator →

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