#BAFE6F#BAFE6F

#BAFE6F is a very light, vivid yellow-green. Relative luminance 0.825; OKLCH L 92.3% C 0.187 H 130.6°. Best body text is #000000 at 17.49:1 contrast (WCAG AA passes).

Color values

HEX#BAFE6F
RGBrgb(186, 254, 111)
HSLhsl(89, 99%, 72%)
HSVhsv(89, 56%, 100%)
CMYKcmyk(26.8%, 0%, 56.3%, 0.4%)
CIE-LABlab(92.78, -43.43, 60.57)
CIE-LCHlch(92.78, 74.53, 125.64°)
OKLaboklab(92.29% -0.1215 0.1419)
OKLCHoklch(92.29% 0.187 130.6)
XYZxyz(58.5602, 82.4689, 27.8686)
Luminance0.8247 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAFE6F #B36FFE
analogous
#FEFA6F #BAFE6F #73FE6F
triadic
#BAFE6F #6FBAFE #FE6FBA
tetradic
#BAFE6F #6FFEFA #B36FFE #FE6F73
square
#BAFE6F #6FFEFA #B36FFE #FE6F73
split-complementary
#BAFE6F #6F73FE #FA6FFE
monochromatic
#7FF102 #9DFE32 #BAFE6F #D7FEAC #F0FFE1

Accessibility & contrast

On white

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

On black

17.49
#BAFE6F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAFE6F
17.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAFE6F#FFFFFF#000000##000000
##BAFE6F1.001.2017.4917.49
#FFFFFF1.201.0021.0021.00
#00000017.4921.001.001.00
##00000017.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE60
Deuteranopia (green-blind)
#FFE979
Tritanopia (blue-blind)
#BEF4DF
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #bafe6f;
/* rgb */ color: rgb(186, 254, 111);
/* oklch */ color: oklch(92.3% 0.187 130.6);
Tailwind
colors: {
  custom: {
    50: '#d2ff9c',
    500: '#bafe6f',
    950: '#000000',
  },
}
SCSS
$custom: #bafe6f;
$custom-light: #d2ff9c;
$custom-dark: #000000;
JSON
{
  "hex": "#bafe6f",
  "rgb": {
    "r": 186,
    "g": 254,
    "b": 111
  },
  "hsl": {
    "h": 88.531,
    "s": 98.621,
    "l": 71.569
  },
  "oklch": {
    "l": 0.92291,
    "c": 0.18683,
    "h": 130.6
  },
  "luminance": 0.8247
}

Semantic roles & 50–950 ramp

primary
#BAFE6F
secondary
#8537DA
accent
#00E66D
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14180F
muted
#838680

Preview Lab

Preview with #BAFE6F

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

Preview Lab → · Contrast checker → · Palette generator →

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