#BAFC6C#BAFC6C

#BAFC6C is a very light, vivid yellow-green. Relative luminance 0.811; OKLCH L 91.8% C 0.187 H 130.0°. Best body text is #000000 at 17.23:1 contrast (WCAG AA passes).

Color values

HEX#BAFC6C
RGBrgb(186, 252, 108)
HSLhsl(88, 96%, 71%)
HSVhsv(88, 57%, 99%)
CMYKcmyk(26.2%, 0%, 57.1%, 1.2%)
CIE-LABlab(92.19, -42.83, 61.20)
CIE-LCHlch(92.19, 74.70, 124.98°)
OKLaboklab(91.81% -0.1201 0.143)
OKLCHoklch(91.81% 0.187 130)
XYZxyz(57.7664, 81.1412, 26.8028)
Luminance0.8114 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAFC6C #AE6CFC
analogous
#FCF66C #BAFC6C #72FC6C
triadic
#BAFC6C #6CBAFC #FC6CBA
tetradic
#BAFC6C #6CFCF6 #AE6CFC #FC6C72
square
#BAFC6C #6CFCF6 #AE6CFC #FC6C72
split-complementary
#BAFC6C #6C72FC #F66CFC
monochromatic
#80E905 #9EFB30 #BAFC6C #D6FDA8 #F1FEE1

Accessibility & contrast

On white

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

On black

17.23
#BAFC6C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAFC6C
17.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAFC6C#FFFFFF#000000##000000
##BAFC6C1.001.2217.2317.23
#FFFFFF1.221.0021.0021.00
#00000017.2321.001.001.00
##00000017.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC5D
Deuteranopia (green-blind)
#FDE776
Tritanopia (blue-blind)
#BEF2DD
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #bafc6c;
/* rgb */ color: rgb(186, 252, 108);
/* oklch */ color: oklch(91.8% 0.187 130.0);
Tailwind
colors: {
  custom: {
    50: '#d2fd9a',
    500: '#bafc6c',
    950: '#000000',
  },
}
SCSS
$custom: #bafc6c;
$custom-light: #d2fd9a;
$custom-dark: #000000;
JSON
{
  "hex": "#bafc6c",
  "rgb": {
    "r": 186,
    "g": 252,
    "b": 108
  },
  "hsl": {
    "h": 87.5,
    "s": 96,
    "l": 70.588
  },
  "oklch": {
    "l": 0.91806,
    "c": 0.18673,
    "h": 130
  },
  "luminance": 0.81143
}

Semantic roles & 50–950 ramp

primary
#BAFC6C
secondary
#7F35D7
accent
#00E669
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14170E
muted
#83857F

Preview Lab

Preview with #BAFC6C

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

Preview Lab → · Contrast checker → · Palette generator →

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