#BAFC8D#BAFC8D

#BAFC8D is a very light, vivid yellow-green. Relative luminance 0.820; OKLCH L 92.2% C 0.157 H 133.8°. Best body text is #000000 at 17.40:1 contrast (WCAG AA passes).

Color values

HEX#BAFC8D
RGBrgb(186, 252, 141)
HSLhsl(96, 95%, 77%)
HSVhsv(96, 44%, 99%)
CMYKcmyk(26.2%, 0%, 44%, 1.2%)
CIE-LABlab(92.57, -39.36, 46.54)
CIE-LCHlch(92.57, 60.95, 130.22°)
OKLaboklab(92.23% -0.1083 0.1131)
OKLCHoklch(92.23% 0.157 133.8)
XYZxyz(59.8666, 81.9813, 37.8639)
Luminance0.8198 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAFC8D #CF8DFC
analogous
#F1FC8D #BAFC8D #8DFC98
triadic
#BAFC8D #8DBAFC #FC8DBA
tetradic
#BAFC8D #8DF1FC #CF8DFC #FC988D
square
#BAFC8D #8DF1FC #CF8DFC #FC988D
split-complementary
#BAFC8D #988DFC #FC8DF1
monochromatic
#72F916 #96FA51 #BAFC8D #DEFEC9 #EDFEE1

Accessibility & contrast

On white

1.21
#BAFC8D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.40
#BAFC8D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAFC8D
17.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAFC8D#FFFFFF#000000##000000
##BAFC8D1.001.2117.4017.40
#FFFFFF1.211.0021.0021.00
#00000017.4021.001.001.00
##00000017.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED84
Deuteranopia (green-blind)
#FAE894
Tritanopia (blue-blind)
#BBF4E1
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #bafc8d;
/* rgb */ color: rgb(186, 252, 141);
/* oklch */ color: oklch(92.2% 0.157 133.8);
Tailwind
colors: {
  custom: {
    50: '#d1fdb0',
    500: '#bafc8d',
    950: '#000000',
  },
}
SCSS
$custom: #bafc8d;
$custom-light: #d1fdb0;
$custom-dark: #000000;
JSON
{
  "hex": "#bafc8d",
  "rgb": {
    "r": 186,
    "g": 252,
    "b": 141
  },
  "hsl": {
    "h": 95.676,
    "s": 94.872,
    "l": 77.059
  },
  "oklch": {
    "l": 0.92228,
    "c": 0.15658,
    "h": 133.8
  },
  "luminance": 0.81983
}

Semantic roles & 50–950 ramp

primary
#BAFC8D
secondary
#A451DC
accent
#00E688
background
#FEFFFD
surface
#FBFFF7
border
#D4D7D0
text
#141711
muted
#838581

Preview Lab

Preview with #BAFC8D

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

Preview Lab → · Contrast checker → · Palette generator →

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