#BAFA8D#BAFA8D

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

Color values

HEX#BAFA8D
RGBrgb(186, 250, 141)
HSLhsl(95, 92%, 77%)
HSVhsv(95, 44%, 98%)
CMYKcmyk(25.6%, 0%, 43.6%, 2%)
CIE-LABlab(92.01, -38.47, 45.84)
CIE-LCHlch(92.01, 59.84, 130.00°)
OKLaboklab(91.78% -0.1058 0.1115)
OKLCHoklch(91.78% 0.154 133.5)
XYZxyz(59.2418, 80.7317, 37.6557)
Luminance0.8073 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAFA8D #CD8DFA
analogous
#F1FA8D #BAFA8D #8DFA97
triadic
#BAFA8D #8DBAFA #FA8DBA
tetradic
#BAFA8D #8DF1FA #CD8DFA #FA978D
square
#BAFA8D #8DF1FA #CD8DFA #FA978D
split-complementary
#BAFA8D #978DFA #FA8DF1
monochromatic
#73F518 #97F752 #BAFA8D #DDFDC8 #EDFEE2

Accessibility & contrast

On white

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

On black

17.15
#BAFA8D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAFA8D
17.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAFA8D#FFFFFF#000000##000000
##BAFA8D1.001.2217.1517.15
#FFFFFF1.221.0021.0021.00
#00000017.1521.001.001.00
##00000017.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB84
Deuteranopia (green-blind)
#F8E693
Tritanopia (blue-blind)
#BBF2E0
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #bafa8d;
/* rgb */ color: rgb(186, 250, 141);
/* oklch */ color: oklch(91.8% 0.154 133.5);
Tailwind
colors: {
  custom: {
    50: '#d1fcb0',
    500: '#bafa8d',
    950: '#000000',
  },
}
SCSS
$custom: #bafa8d;
$custom-light: #d1fcb0;
$custom-dark: #000000;
JSON
{
  "hex": "#bafa8d",
  "rgb": {
    "r": 186,
    "g": 250,
    "b": 141
  },
  "hsl": {
    "h": 95.229,
    "s": 91.597,
    "l": 76.667
  },
  "oklch": {
    "l": 0.9178,
    "c": 0.15374,
    "h": 133.5
  },
  "luminance": 0.80733
}

Semantic roles & 50–950 ramp

primary
#BAFA8D
secondary
#A152D9
accent
#00E687
background
#FEFFFD
surface
#FBFFF7
border
#D4D7D0
text
#141711
muted
#838581

Preview Lab

Preview with #BAFA8D

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

Preview Lab → · Contrast checker → · Palette generator →

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