#BAFE76#BAFE76

#BAFE76 is a very light, vivid yellow-green. Relative luminance 0.826; OKLCH L 92.4% C 0.181 H 131.2°. Best body text is #000000 at 17.53:1 contrast (WCAG AA passes).

Color values

HEX#BAFE76
RGBrgb(186, 254, 118)
HSLhsl(90, 99%, 73%)
HSVhsv(90, 54%, 100%)
CMYKcmyk(26.8%, 0%, 53.5%, 0.4%)
CIE-LABlab(92.85, -42.76, 57.56)
CIE-LCHlch(92.85, 71.71, 126.61°)
OKLaboklab(92.37% -0.1191 0.136)
OKLCHoklch(92.37% 0.181 131.2)
XYZxyz(58.9608, 82.6291, 29.9786)
Luminance0.8263 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAFE76 #BA76FE
analogous
#FEFE76 #BAFE76 #76FE76
triadic
#BAFE76 #76BAFE #FE76BA
tetradic
#BAFE76 #76FEFE #BA76FE #FE7676
square
#BAFE76 #76FEFE #BA76FE #FE7676
split-complementary
#BAFE76 #7676FE #FE76FE
monochromatic
#7DF802 #9BFE39 #BAFE76 #D9FEB3 #F0FFE1

Accessibility & contrast

On white

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

On black

17.53
#BAFE76 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAFE76
17.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAFE76#FFFFFF#000000##000000
##BAFE761.001.2017.5317.53
#FFFFFF1.201.0021.0021.00
#00000017.5321.001.001.00
##00000017.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE69
Deuteranopia (green-blind)
#FEE97F
Tritanopia (blue-blind)
#BDF5E0
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #bafe76;
/* rgb */ color: rgb(186, 254, 118);
/* oklch */ color: oklch(92.4% 0.181 131.2);
Tailwind
colors: {
  custom: {
    50: '#d2ffa1',
    500: '#bafe76',
    950: '#000000',
  },
}
SCSS
$custom: #bafe76;
$custom-light: #d2ffa1;
$custom-dark: #000000;
JSON
{
  "hex": "#bafe76",
  "rgb": {
    "r": 186,
    "g": 254,
    "b": 118
  },
  "hsl": {
    "h": 90,
    "s": 98.551,
    "l": 72.941
  },
  "oklch": {
    "l": 0.92371,
    "c": 0.18084,
    "h": 131.2
  },
  "luminance": 0.82631
}

Semantic roles & 50–950 ramp

primary
#BAFE76
secondary
#8C3DDB
accent
#00E673
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14180F
muted
#838680

Preview Lab

Preview with #BAFE76

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

Preview Lab → · Contrast checker → · Palette generator →

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