#BAFA8A#BAFA8A

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

Color values

HEX#BAFA8A
RGBrgb(186, 250, 138)
HSLhsl(94, 92%, 76%)
HSVhsv(94, 45%, 98%)
CMYKcmyk(25.6%, 0%, 44.8%, 2%)
CIE-LABlab(91.97, -38.83, 47.23)
CIE-LCHlch(91.97, 61.14, 129.42°)
OKLaboklab(91.74% -0.107 0.1145)
OKLCHoklch(91.74% 0.157 133)
XYZxyz(59.0216, 80.6437, 36.4960)
Luminance0.8065 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAFA8A #CA8AFA
analogous
#F2FA8A #BAFA8A #8AFA92
triadic
#BAFA8A #8ABAFA #FA8ABA
tetradic
#BAFA8A #8AF2FA #CA8AFA #FA928A
square
#BAFA8A #8AF2FA #CA8AFA #FA928A
split-complementary
#BAFA8A #928AFA #FA8AF2
monochromatic
#75F515 #97F74F #BAFA8A #DDFDC5 #EEFEE2

Accessibility & contrast

On white

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

On black

17.13
#BAFA8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAFA8A
17.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAFA8A#FFFFFF#000000##000000
##BAFA8A1.001.2317.1317.13
#FFFFFF1.231.0021.0021.00
#00000017.1321.001.001.00
##00000017.1321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bafa8a;
/* rgb */ color: rgb(186, 250, 138);
/* oklch */ color: oklch(91.7% 0.157 133.0);
Tailwind
colors: {
  custom: {
    50: '#d1fcae',
    500: '#bafa8a',
    950: '#000000',
  },
}
SCSS
$custom: #bafa8a;
$custom-light: #d1fcae;
$custom-dark: #000000;
JSON
{
  "hex": "#bafa8a",
  "rgb": {
    "r": 186,
    "g": 250,
    "b": 138
  },
  "hsl": {
    "h": 94.286,
    "s": 91.803,
    "l": 76.078
  },
  "oklch": {
    "l": 0.91735,
    "c": 0.15669,
    "h": 133
  },
  "luminance": 0.80645
}

Semantic roles & 50–950 ramp

primary
#BAFA8A
secondary
#9E4FD9
accent
#00E683
background
#FEFFFD
surface
#FBFFF7
border
#D4D7D0
text
#141710
muted
#838581

Preview Lab

Preview with #BAFA8A

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

Preview Lab → · Contrast checker → · Palette generator →

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