#BAFE86#BAFE86

#BAFE86 is a very light, vivid yellow-green. Relative luminance 0.830; OKLCH L 92.6% C 0.166 H 133.0°. Best body text is #000000 at 17.61:1 contrast (WCAG AA passes).

Color values

HEX#BAFE86
RGBrgb(186, 254, 134)
HSLhsl(94, 98%, 76%)
HSVhsv(94, 47%, 100%)
CMYKcmyk(26.8%, 0%, 47.2%, 0.4%)
CIE-LABlab(93.03, -41.07, 50.44)
CIE-LCHlch(93.03, 65.04, 129.15°)
OKLaboklab(92.58% -0.1134 0.1215)
OKLCHoklch(92.58% 0.166 133)
XYZxyz(59.9935, 83.0422, 35.4175)
Luminance0.8304 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAFE86 #CA86FE
analogous
#F6FE86 #BAFE86 #86FE8E
triadic
#BAFE86 #86BAFE #FE86BA
tetradic
#BAFE86 #86F6FE #CA86FE #FE8E86
square
#BAFE86 #86F6FE #CA86FE #FE8E86
split-complementary
#BAFE86 #8E86FE #FE86F6
monochromatic
#75FD0D #97FD49 #BAFE86 #DDFFC3 #EEFFE1

Accessibility & contrast

On white

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

On black

17.61
#BAFE86 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAFE86
17.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAFE86#FFFFFF#000000##000000
##BAFE861.001.1917.6117.61
#FFFFFF1.191.0021.0021.00
#00000017.6121.001.001.00
##00000017.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF7C
Deuteranopia (green-blind)
#FDE98D
Tritanopia (blue-blind)
#BBF6E2
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #bafe86;
/* rgb */ color: rgb(186, 254, 134);
/* oklch */ color: oklch(92.6% 0.166 133.0);
Tailwind
colors: {
  custom: {
    50: '#d1ffab',
    500: '#bafe86',
    950: '#000000',
  },
}
SCSS
$custom: #bafe86;
$custom-light: #d1ffab;
$custom-dark: #000000;
JSON
{
  "hex": "#bafe86",
  "rgb": {
    "r": 186,
    "g": 254,
    "b": 134
  },
  "hsl": {
    "h": 94,
    "s": 98.361,
    "l": 76.078
  },
  "oklch": {
    "l": 0.92576,
    "c": 0.16618,
    "h": 133
  },
  "luminance": 0.83044
}

Semantic roles & 50–950 ramp

primary
#BAFE86
secondary
#9E4ADE
accent
#00E682
background
#FEFFFD
surface
#FBFFF7
border
#D4D7D0
text
#141810
muted
#838681

Preview Lab

Preview with #BAFE86

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

Preview Lab → · Contrast checker → · Palette generator →

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