#BAFE98#BAFE98

#BAFE98 is a very light, vivid green. Relative luminance 0.836; OKLCH L 92.8% C 0.148 H 135.8°. Best body text is #000000 at 17.72:1 contrast (WCAG AA passes).

Color values

HEX#BAFE98
RGBrgb(186, 254, 152)
HSLhsl(100, 98%, 80%)
HSVhsv(100, 40%, 100%)
CMYKcmyk(26.8%, 0%, 40.2%, 0.4%)
CIE-LABlab(93.27, -38.87, 42.12)
CIE-LCHlch(93.27, 57.31, 132.70°)
OKLaboklab(92.85% -0.1064 0.1035)
OKLCHoklch(92.85% 0.148 135.8)
XYZxyz(61.3574, 83.5878, 42.6010)
Luminance0.8359 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAFE98 #DC98FE
analogous
#EDFE98 #BAFE98 #98FEA9
triadic
#BAFE98 #98BAFE #FE98BA
tetradic
#BAFE98 #98EDFE #DC98FE #FEA998
square
#BAFE98 #98EDFE #DC98FE #FEA998
split-complementary
#BAFE98 #A998FE #FE98ED
monochromatic
#69FD1F #91FD5B #BAFE98 #E3FFD5 #EBFFE1

Accessibility & contrast

On white

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

On black

17.72
#BAFE98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAFE98
17.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAFE98#FFFFFF#000000##000000
##BAFE981.001.1917.7217.72
#FFFFFF1.191.0021.0021.00
#00000017.7221.001.001.00
##00000017.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF90
Deuteranopia (green-blind)
#FBEA9E
Tritanopia (blue-blind)
#B9F7E5
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #bafe98;
/* rgb */ color: rgb(186, 254, 152);
/* oklch */ color: oklch(92.8% 0.148 135.8);
Tailwind
colors: {
  custom: {
    50: '#d1ffb7',
    500: '#bafe98',
    950: '#000000',
  },
}
SCSS
$custom: #bafe98;
$custom-light: #d1ffb7;
$custom-dark: #000000;
JSON
{
  "hex": "#bafe98",
  "rgb": {
    "r": 186,
    "g": 254,
    "b": 152
  },
  "hsl": {
    "h": 100,
    "s": 98.077,
    "l": 79.608
  },
  "oklch": {
    "l": 0.92847,
    "c": 0.14846,
    "h": 135.8
  },
  "luminance": 0.8359
}

Semantic roles & 50–950 ramp

primary
#BAFE98
secondary
#B45AE0
accent
#00E699
background
#FEFFFD
surface
#FBFFF8
border
#D4D7D1
text
#141811
muted
#838681

Preview Lab

Preview with #BAFE98

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

Preview Lab → · Contrast checker → · Palette generator →

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