#BAFA99#BAFA99

#BAFA99 is a very light, vivid yellow-green. Relative luminance 0.811; OKLCH L 92.0% C 0.142 H 135.6°. Best body text is #000000 at 17.22:1 contrast (WCAG AA passes).

Color values

HEX#BAFA99
RGBrgb(186, 250, 153)
HSLhsl(100, 91%, 79%)
HSVhsv(100, 39%, 98%)
CMYKcmyk(25.6%, 0%, 38.8%, 2%)
CIE-LABlab(92.18, -36.94, 40.22)
CIE-LCHlch(92.18, 54.61, 132.56°)
OKLaboklab(91.97% -0.1011 0.0991)
OKLCHoklch(91.97% 0.142 135.6)
XYZxyz(60.1836, 81.1084, 42.6154)
Luminance0.8111 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAFA99 #D999FA
analogous
#EAFA99 #BAFA99 #99FAA9
triadic
#BAFA99 #99BAFA #FA99BA
tetradic
#BAFA99 #99EAFA #D999FA #FAA999
square
#BAFA99 #99EAFA #D999FA #FAA999
split-complementary
#BAFA99 #A999FA #FA99EA
monochromatic
#6BF424 #93F75F #BAFA99 #E1FDD3 #EBFEE2

Accessibility & contrast

On white

1.22
#BAFA99 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.22
#BAFA99 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAFA99
17.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAFA99#FFFFFF#000000##000000
##BAFA991.001.2217.2217.22
#FFFFFF1.221.0021.0021.00
#00000017.2221.001.001.00
##00000017.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC92
Deuteranopia (green-blind)
#F7E79E
Tritanopia (blue-blind)
#B9F3E2
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #bafa99;
/* rgb */ color: rgb(186, 250, 153);
/* oklch */ color: oklch(92.0% 0.142 135.6);
Tailwind
colors: {
  custom: {
    50: '#d0fcb8',
    500: '#bafa99',
    950: '#000000',
  },
}
SCSS
$custom: #bafa99;
$custom-light: #d0fcb8;
$custom-dark: #000000;
JSON
{
  "hex": "#bafa99",
  "rgb": {
    "r": 186,
    "g": 250,
    "b": 153
  },
  "hsl": {
    "h": 99.588,
    "s": 90.654,
    "l": 79.02
  },
  "oklch": {
    "l": 0.9197,
    "c": 0.14158,
    "h": 135.6
  },
  "luminance": 0.8111
}

Semantic roles & 50–950 ramp

primary
#BAFA99
secondary
#B05DDB
accent
#00E697
background
#FEFFFD
surface
#FBFFF8
border
#D4D7D1
text
#141711
muted
#838581

Preview Lab

Preview with #BAFA99

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

Preview Lab → · Contrast checker → · Palette generator →

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