#BAFC8A#BAFC8A

#BAFC8A is a very light, vivid yellow-green. Relative luminance 0.819; OKLCH L 92.2% C 0.160 H 133.3°. Best body text is #000000 at 17.38:1 contrast (WCAG AA passes).

Color values

HEX#BAFC8A
RGBrgb(186, 252, 138)
HSLhsl(95, 95%, 76%)
HSVhsv(95, 45%, 99%)
CMYKcmyk(26.2%, 0%, 45.2%, 1.2%)
CIE-LABlab(92.53, -39.72, 47.92)
CIE-LCHlch(92.53, 62.24, 129.65°)
OKLaboklab(92.18% -0.1094 0.1161)
OKLCHoklch(92.18% 0.16 133.3)
XYZxyz(59.6464, 81.8932, 36.7042)
Luminance0.8189 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAFC8A #CC8AFC
analogous
#F3FC8A #BAFC8A #8AFC93
triadic
#BAFC8A #8ABAFC #FC8ABA
tetradic
#BAFC8A #8AF3FC #CC8AFC #FC938A
square
#BAFC8A #8AF3FC #CC8AFC #FC938A
split-complementary
#BAFC8A #938AFC #FC8AF3
monochromatic
#74F913 #97FA4E #BAFC8A #DDFEC6 #EDFEE1

Accessibility & contrast

On white

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

On black

17.38
#BAFC8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAFC8A
17.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAFC8A#FFFFFF#000000##000000
##BAFC8A1.001.2117.3817.38
#FFFFFF1.211.0021.0021.00
#00000017.3821.001.001.00
##00000017.3821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bafc8a;
/* rgb */ color: rgb(186, 252, 138);
/* oklch */ color: oklch(92.2% 0.160 133.3);
Tailwind
colors: {
  custom: {
    50: '#d1fdae',
    500: '#bafc8a',
    950: '#000000',
  },
}
SCSS
$custom: #bafc8a;
$custom-light: #d1fdae;
$custom-dark: #000000;
JSON
{
  "hex": "#bafc8a",
  "rgb": {
    "r": 186,
    "g": 252,
    "b": 138
  },
  "hsl": {
    "h": 94.737,
    "s": 95,
    "l": 76.471
  },
  "oklch": {
    "l": 0.92184,
    "c": 0.15952,
    "h": 133.3
  },
  "luminance": 0.81895
}

Semantic roles & 50–950 ramp

primary
#BAFC8A
secondary
#A04FDC
accent
#00E685
background
#FEFFFD
surface
#FBFFF7
border
#D4D7D0
text
#141710
muted
#838581

Preview Lab

Preview with #BAFC8A

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

Preview Lab → · Contrast checker → · Palette generator →

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