#BAF488#BAF488

#BAF488 is a very light, vivid yellow-green. Relative luminance 0.769; OKLCH L 90.4% C 0.150 H 131.9°. Best body text is #000000 at 16.38:1 contrast (WCAG AA passes).

Color values

HEX#BAF488
RGBrgb(186, 244, 136)
HSLhsl(92, 83%, 75%)
HSVhsv(92, 44%, 96%)
CMYKcmyk(23.8%, 0%, 44.3%, 4.3%)
CIE-LABlab(90.28, -36.36, 46.08)
CIE-LCHlch(90.28, 58.70, 128.28°)
OKLaboklab(90.36% -0.1002 0.1118)
OKLCHoklch(90.36% 0.15 131.9)
XYZxyz(57.0434, 76.9167, 35.1288)
Luminance0.7692 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF488 #C288F4
analogous
#F0F488 #BAF488 #88F48C
triadic
#BAF488 #88BAF4 #F488BA
tetradic
#BAF488 #88F0F4 #C288F4 #F48C88
square
#BAF488 #88F0F4 #C288F4 #F48C88
split-complementary
#BAF488 #8C88F4 #F488F0
monochromatic
#79EA18 #9AEF50 #BAF488 #DAF9C0 #EFFCE3

Accessibility & contrast

On white

1.28
#BAF488 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.38
#BAF488 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF488
16.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF488#FFFFFF#000000##000000
##BAF4881.001.2816.3816.38
#FFFFFF1.281.0021.0021.00
#00000016.3821.001.001.00
##00000016.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE67F
Deuteranopia (green-blind)
#F4E28E
Tritanopia (blue-blind)
#BCECDA
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #baf488;
/* rgb */ color: rgb(186, 244, 136);
/* oklch */ color: oklch(90.4% 0.150 131.9);
Tailwind
colors: {
  custom: {
    50: '#d1f8ac',
    500: '#baf488',
    950: '#000000',
  },
}
SCSS
$custom: #baf488;
$custom-light: #d1f8ac;
$custom-dark: #000000;
JSON
{
  "hex": "#baf488",
  "rgb": {
    "r": 186,
    "g": 244,
    "b": 136
  },
  "hsl": {
    "h": 92.222,
    "s": 83.077,
    "l": 74.51
  },
  "oklch": {
    "l": 0.90362,
    "c": 0.15017,
    "h": 131.9
  },
  "luminance": 0.76918
}

Semantic roles & 50–950 ramp

primary
#BAF488
secondary
#9550D1
accent
#06DF7B
background
#FEFFFD
surface
#FBFFF7
border
#D4D7D0
text
#141710
muted
#838581

Preview Lab

Preview with #BAF488

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

Preview Lab → · Contrast checker → · Palette generator →

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