#BAFA8B#BAFA8B

#BAFA8B is a very light, vivid yellow-green. Relative luminance 0.807; OKLCH L 91.8% C 0.156 H 133.2°. Best body text is #000000 at 17.13:1 contrast (WCAG AA passes).

Color values

HEX#BAFA8B
RGBrgb(186, 250, 139)
HSLhsl(95, 92%, 76%)
HSVhsv(95, 44%, 98%)
CMYKcmyk(25.6%, 0%, 44.4%, 2%)
CIE-LABlab(91.99, -38.71, 46.77)
CIE-LCHlch(91.99, 60.71, 129.61°)
OKLaboklab(91.75% -0.1066 0.1135)
OKLCHoklch(91.75% 0.156 133.2)
XYZxyz(59.0944, 80.6728, 36.8790)
Luminance0.8067 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAFA8B #CB8BFA
analogous
#F1FA8B #BAFA8B #8BFA94
triadic
#BAFA8B #8BBAFA #FA8BBA
tetradic
#BAFA8B #8BF1FA #CB8BFA #FA948B
square
#BAFA8B #8BF1FA #CB8BFA #FA948B
split-complementary
#BAFA8B #948BFA #FA8BF1
monochromatic
#74F516 #97F750 #BAFA8B #DDFDC6 #EEFEE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAFA8B#FFFFFF#000000##000000
##BAFA8B1.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)
#FFEB82
Deuteranopia (green-blind)
#F9E692
Tritanopia (blue-blind)
#BBF2E0
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #bafa8b;
/* rgb */ color: rgb(186, 250, 139);
/* oklch */ color: oklch(91.8% 0.156 133.2);
Tailwind
colors: {
  custom: {
    50: '#d1fcae',
    500: '#bafa8b',
    950: '#000000',
  },
}
SCSS
$custom: #bafa8b;
$custom-light: #d1fcae;
$custom-dark: #000000;
JSON
{
  "hex": "#bafa8b",
  "rgb": {
    "r": 186,
    "g": 250,
    "b": 139
  },
  "hsl": {
    "h": 94.595,
    "s": 91.736,
    "l": 76.275
  },
  "oklch": {
    "l": 0.9175,
    "c": 0.15571,
    "h": 133.2
  },
  "luminance": 0.80674
}

Semantic roles & 50–950 ramp

primary
#BAFA8B
secondary
#9F50D9
accent
#00E684
background
#FEFFFD
surface
#FBFFF7
border
#D4D7D0
text
#141710
muted
#838581

Preview Lab

Preview with #BAFA8B

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

Preview Lab → · Contrast checker → · Palette generator →

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