#BAFA88#BAFA88

#BAFA88 is a very light, vivid yellow-green. Relative luminance 0.806; OKLCH L 91.7% C 0.159 H 132.8°. Best body text is #000000 at 17.12:1 contrast (WCAG AA passes).

Color values

HEX#BAFA88
RGBrgb(186, 250, 136)
HSLhsl(94, 92%, 76%)
HSVhsv(94, 46%, 98%)
CMYKcmyk(25.6%, 0%, 45.6%, 2%)
CIE-LABlab(91.95, -39.06, 48.15)
CIE-LCHlch(91.95, 62.00, 129.05°)
OKLaboklab(91.71% -0.1077 0.1165)
OKLCHoklch(91.71% 0.159 132.8)
XYZxyz(58.8782, 80.5863, 35.7404)
Luminance0.8059 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAFA88 #C888FA
analogous
#F3FA88 #BAFA88 #88FA8F
triadic
#BAFA88 #88BAFA #FA88BA
tetradic
#BAFA88 #88F3FA #C888FA #FA8F88
square
#BAFA88 #88F3FA #C888FA #FA8F88
split-complementary
#BAFA88 #8F88FA #FA88F3
monochromatic
#76F513 #98F84D #BAFA88 #DCFCC3 #EEFEE2

Accessibility & contrast

On white

1.23
#BAFA88 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.12
#BAFA88 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAFA88
17.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAFA88#FFFFFF#000000##000000
##BAFA881.001.2317.1217.12
#FFFFFF1.231.0021.0021.00
#00000017.1221.001.001.00
##00000017.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB7F
Deuteranopia (green-blind)
#F9E68F
Tritanopia (blue-blind)
#BBF2DF
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #bafa88;
/* rgb */ color: rgb(186, 250, 136);
/* oklch */ color: oklch(91.7% 0.159 132.8);
Tailwind
colors: {
  custom: {
    50: '#d1fcac',
    500: '#bafa88',
    950: '#000000',
  },
}
SCSS
$custom: #bafa88;
$custom-light: #d1fcac;
$custom-dark: #000000;
JSON
{
  "hex": "#bafa88",
  "rgb": {
    "r": 186,
    "g": 250,
    "b": 136
  },
  "hsl": {
    "h": 93.684,
    "s": 91.935,
    "l": 75.686
  },
  "oklch": {
    "l": 0.91706,
    "c": 0.15866,
    "h": 132.8
  },
  "luminance": 0.80588
}

Semantic roles & 50–950 ramp

primary
#BAFA88
secondary
#9C4ED9
accent
#00E681
background
#FEFFFD
surface
#FBFFF7
border
#D4D7D0
text
#141710
muted
#838581

Preview Lab

Preview with #BAFA88

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

Preview Lab → · Contrast checker → · Palette generator →

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