#BAFC8F#BAFC8F

#BAFC8F is a very light, vivid yellow-green. Relative luminance 0.820; OKLCH L 92.3% C 0.155 H 134.1°. Best body text is #000000 at 17.41:1 contrast (WCAG AA passes).

Color values

HEX#BAFC8F
RGBrgb(186, 252, 143)
HSLhsl(96, 95%, 77%)
HSVhsv(96, 43%, 99%)
CMYKcmyk(26.2%, 0%, 43.3%, 1.2%)
CIE-LABlab(92.59, -39.12, 45.61)
CIE-LCHlch(92.59, 60.09, 130.61°)
OKLaboklab(92.26% -0.1075 0.1111)
OKLCHoklch(92.26% 0.155 134.1)
XYZxyz(60.0168, 82.0413, 38.6547)
Luminance0.8204 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAFC8F #D18FFC
analogous
#F1FC8F #BAFC8F #8FFC9A
triadic
#BAFC8F #8FBAFC #FC8FBA
tetradic
#BAFC8F #8FF1FC #D18FFC #FC9A8F
square
#BAFC8F #8FF1FC #D18FFC #FC9A8F
split-complementary
#BAFC8F #9A8FFC #FC8FF1
monochromatic
#71F918 #95FA53 #BAFC8F #DFFECB #EDFEE1

Accessibility & contrast

On white

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

On black

17.41
#BAFC8F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAFC8F
17.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAFC8F#FFFFFF#000000##000000
##BAFC8F1.001.2117.4117.41
#FFFFFF1.211.0021.0021.00
#00000017.4121.001.001.00
##00000017.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED86
Deuteranopia (green-blind)
#FAE895
Tritanopia (blue-blind)
#BAF4E2
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #bafc8f;
/* rgb */ color: rgb(186, 252, 143);
/* oklch */ color: oklch(92.3% 0.155 134.1);
Tailwind
colors: {
  custom: {
    50: '#d1fdb1',
    500: '#bafc8f',
    950: '#000000',
  },
}
SCSS
$custom: #bafc8f;
$custom-light: #d1fdb1;
$custom-dark: #000000;
JSON
{
  "hex": "#bafc8f",
  "rgb": {
    "r": 186,
    "g": 252,
    "b": 143
  },
  "hsl": {
    "h": 96.33,
    "s": 94.783,
    "l": 77.451
  },
  "oklch": {
    "l": 0.92258,
    "c": 0.1546,
    "h": 134.1
  },
  "luminance": 0.82043
}

Semantic roles & 50–950 ramp

primary
#BAFC8F
secondary
#A653DC
accent
#00E68B
background
#FEFFFD
surface
#FBFFF8
border
#D4D7D1
text
#141711
muted
#838581

Preview Lab

Preview with #BAFC8F

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

Preview Lab → · Contrast checker → · Palette generator →

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