#BAFF97#BAFF97

#BAFF97 is a very light, vivid yellow-green. Relative luminance 0.842; OKLCH L 93.1% C 0.151 H 135.7°. Best body text is #000000 at 17.84:1 contrast (WCAG AA passes).

Color values

HEX#BAFF97
RGBrgb(186, 255, 151)
HSLhsl(100, 100%, 80%)
HSVhsv(100, 41%, 100%)
CMYKcmyk(27.1%, 0%, 40.8%, 0%)
CIE-LABlab(93.53, -39.44, 42.94)
CIE-LCHlch(93.53, 58.31, 132.57°)
OKLaboklab(93.05% -0.1081 0.1053)
OKLCHoklch(93.05% 0.151 135.7)
XYZxyz(61.5941, 84.1915, 42.2775)
Luminance0.8419 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAFF97 #DC97FF
analogous
#EEFF97 #BAFF97 #97FFA8
triadic
#BAFF97 #97BAFF #FF97BA
tetradic
#BAFF97 #97EEFF #DC97FF #FFA897
square
#BAFF97 #97EEFF #DC97FF #FFA897
split-complementary
#BAFF97 #A897FF #FF97EE
monochromatic
#69FF1D #91FF5A #BAFF97 #E3FFD4 #EBFFE0

Accessibility & contrast

On white

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

On black

17.84
#BAFF97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAFF97
17.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAFF97#FFFFFF#000000##000000
##BAFF971.001.1817.8417.84
#FFFFFF1.181.0021.0021.00
#00000017.8421.001.001.00
##00000017.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF08F
Deuteranopia (green-blind)
#FCEA9D
Tritanopia (blue-blind)
#B9F8E6
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #baff97;
/* rgb */ color: rgb(186, 255, 151);
/* oklch */ color: oklch(93.1% 0.151 135.7);
Tailwind
colors: {
  custom: {
    50: '#d1ffb7',
    500: '#baff97',
    950: '#000000',
  },
}
SCSS
$custom: #baff97;
$custom-light: #d1ffb7;
$custom-dark: #000000;
JSON
{
  "hex": "#baff97",
  "rgb": {
    "r": 186,
    "g": 255,
    "b": 151
  },
  "hsl": {
    "h": 99.808,
    "s": 100,
    "l": 79.608
  },
  "oklch": {
    "l": 0.93054,
    "c": 0.15092,
    "h": 135.7
  },
  "luminance": 0.84193
}

Semantic roles & 50–950 ramp

primary
#BAFF97
secondary
#B459E2
accent
#00E698
background
#FEFFFD
surface
#FBFFF8
border
#D4D7D1
text
#141811
muted
#838681

Preview Lab

Preview with #BAFF97

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

Preview Lab → · Contrast checker → · Palette generator →

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