#BAFD6C#BAFD6C

#BAFD6C is a very light, vivid yellow-green. Relative luminance 0.818; OKLCH L 92.0% C 0.188 H 130.2°. Best body text is #000000 at 17.35:1 contrast (WCAG AA passes).

Color values

HEX#BAFD6C
RGBrgb(186, 253, 108)
HSLhsl(88, 97%, 71%)
HSVhsv(88, 57%, 99%)
CMYKcmyk(26.5%, 0%, 57.3%, 0.8%)
CIE-LABlab(92.47, -43.26, 61.52)
CIE-LCHlch(92.47, 75.21, 125.12°)
OKLaboklab(92.03% -0.1213 0.1437)
OKLCHoklch(92.03% 0.188 130.2)
XYZxyz(58.0812, 81.7709, 26.9077)
Luminance0.8177 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAFD6C #AF6CFD
analogous
#FDF76C #BAFD6C #71FD6C
triadic
#BAFD6C #6CBAFD #FD6CBA
tetradic
#BAFD6C #6CFDF7 #AF6CFD #FD6C71
square
#BAFD6C #6CFDF7 #AF6CFD #FD6C71
split-complementary
#BAFD6C #6C71FD #F76CFD
monochromatic
#80EB03 #9EFC30 #BAFD6C #D6FEA8 #F1FFE1

Accessibility & contrast

On white

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

On black

17.35
#BAFD6C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAFD6C
17.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAFD6C#FFFFFF#000000##000000
##BAFD6C1.001.2117.3517.35
#FFFFFF1.211.0021.0021.00
#00000017.3521.001.001.00
##00000017.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED5D
Deuteranopia (green-blind)
#FEE876
Tritanopia (blue-blind)
#BEF3DE
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #bafd6c;
/* rgb */ color: rgb(186, 253, 108);
/* oklch */ color: oklch(92.0% 0.188 130.2);
Tailwind
colors: {
  custom: {
    50: '#d2fe9a',
    500: '#bafd6c',
    950: '#000000',
  },
}
SCSS
$custom: #bafd6c;
$custom-light: #d2fe9a;
$custom-dark: #000000;
JSON
{
  "hex": "#bafd6c",
  "rgb": {
    "r": 186,
    "g": 253,
    "b": 108
  },
  "hsl": {
    "h": 87.724,
    "s": 97.315,
    "l": 70.784
  },
  "oklch": {
    "l": 0.92032,
    "c": 0.18802,
    "h": 130.2
  },
  "luminance": 0.81772
}

Semantic roles & 50–950 ramp

primary
#BAFD6C
secondary
#8035D9
accent
#00E66A
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14180E
muted
#83867F

Preview Lab

Preview with #BAFD6C

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

Preview Lab → · Contrast checker → · Palette generator →

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