#BAFE6C#BAFE6C

#BAFE6C is a very light, vivid yellow-green. Relative luminance 0.824; OKLCH L 92.3% C 0.189 H 130.3°. Best body text is #000000 at 17.48:1 contrast (WCAG AA passes).

Color values

HEX#BAFE6C
RGBrgb(186, 254, 108)
HSLhsl(88, 99%, 71%)
HSVhsv(88, 57%, 100%)
CMYKcmyk(26.8%, 0%, 57.5%, 0.4%)
CIE-LABlab(92.75, -43.70, 61.83)
CIE-LCHlch(92.75, 75.72, 125.25°)
OKLaboklab(92.26% -0.1225 0.1444)
OKLCHoklch(92.26% 0.189 130.3)
XYZxyz(58.3977, 82.4039, 27.0132)
Luminance0.8240 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAFE6C #B06CFE
analogous
#FEF96C #BAFE6C #71FE6C
triadic
#BAFE6C #6CBAFE #FE6CBA
tetradic
#BAFE6C #6CFEF9 #B06CFE #FE6C71
square
#BAFE6C #6CFEF9 #B06CFE #FE6C71
split-complementary
#BAFE6C #6C71FE #F96CFE
monochromatic
#80EE02 #9DFE2F #BAFE6C #D7FEA9 #F1FFE1

Accessibility & contrast

On white

1.20
#BAFE6C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.48
#BAFE6C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAFE6C
17.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAFE6C#FFFFFF#000000##000000
##BAFE6C1.001.2017.4817.48
#FFFFFF1.201.0021.0021.00
#00000017.4821.001.001.00
##00000017.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED5C
Deuteranopia (green-blind)
#FFE976
Tritanopia (blue-blind)
#BEF4DE
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #bafe6c;
/* rgb */ color: rgb(186, 254, 108);
/* oklch */ color: oklch(92.3% 0.189 130.3);
Tailwind
colors: {
  custom: {
    50: '#d2ff9b',
    500: '#bafe6c',
    950: '#000000',
  },
}
SCSS
$custom: #bafe6c;
$custom-light: #d2ff9b;
$custom-dark: #000000;
JSON
{
  "hex": "#bafe6c",
  "rgb": {
    "r": 186,
    "g": 254,
    "b": 108
  },
  "hsl": {
    "h": 87.945,
    "s": 98.649,
    "l": 70.98
  },
  "oklch": {
    "l": 0.92259,
    "c": 0.18932,
    "h": 130.3
  },
  "luminance": 0.82405
}

Semantic roles & 50–950 ramp

primary
#BAFE6C
secondary
#8134DA
accent
#00E66B
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14180E
muted
#83867F

Preview Lab

Preview with #BAFE6C

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

Preview Lab → · Contrast checker → · Palette generator →

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