#BAFF8A#BAFF8A

#BAFF8A is a very light, vivid yellow-green. Relative luminance 0.838; OKLCH L 92.9% C 0.164 H 133.7°. Best body text is #000000 at 17.76:1 contrast (WCAG AA passes).

Color values

HEX#BAFF8A
RGBrgb(186, 255, 138)
HSLhsl(95, 100%, 77%)
HSVhsv(95, 46%, 100%)
CMYKcmyk(27.1%, 0%, 45.9%, 0%)
CIE-LABlab(93.36, -41.05, 48.96)
CIE-LCHlch(93.36, 63.89, 129.98°)
OKLaboklab(92.86% -0.1131 0.1184)
OKLCHoklch(92.86% 0.164 133.7)
XYZxyz(60.5959, 83.7922, 37.0207)
Luminance0.8379 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAFF8A #CF8AFF
analogous
#F4FF8A #BAFF8A #8AFF95
triadic
#BAFF8A #8ABAFF #FF8ABA
tetradic
#BAFF8A #8AF4FF #CF8AFF #FF958A
square
#BAFF8A #8AF4FF #CF8AFF #FF958A
split-complementary
#BAFF8A #958AFF #FF8AF4
monochromatic
#72FF10 #96FF4D #BAFF8A #DEFFC7 #EDFFE0

Accessibility & contrast

On white

1.18
#BAFF8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.76
#BAFF8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAFF8A
17.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAFF8A#FFFFFF#000000##000000
##BAFF8A1.001.1817.7617.76
#FFFFFF1.181.0021.0021.00
#00000017.7621.001.001.00
##00000017.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF080
Deuteranopia (green-blind)
#FDEA91
Tritanopia (blue-blind)
#BBF7E3
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #baff8a;
/* rgb */ color: rgb(186, 255, 138);
/* oklch */ color: oklch(92.9% 0.164 133.7);
Tailwind
colors: {
  custom: {
    50: '#d1ffae',
    500: '#baff8a',
    950: '#000000',
  },
}
SCSS
$custom: #baff8a;
$custom-light: #d1ffae;
$custom-dark: #000000;
JSON
{
  "hex": "#baff8a",
  "rgb": {
    "r": 186,
    "g": 255,
    "b": 138
  },
  "hsl": {
    "h": 95.385,
    "s": 100,
    "l": 77.059
  },
  "oklch": {
    "l": 0.92857,
    "c": 0.16375,
    "h": 133.7
  },
  "luminance": 0.83794
}

Semantic roles & 50–950 ramp

primary
#BAFF8A
secondary
#A44EE0
accent
#00E687
background
#FEFFFD
surface
#FBFFF7
border
#D4D7D0
text
#141810
muted
#838681

Preview Lab

Preview with #BAFF8A

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

Preview Lab → · Contrast checker → · Palette generator →

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