#BAFE8A#BAFE8A

#BAFE8A is a very light, vivid yellow-green. Relative luminance 0.832; OKLCH L 92.6% C 0.162 H 133.6°. Best body text is #000000 at 17.63:1 contrast (WCAG AA passes).

Color values

HEX#BAFE8A
RGBrgb(186, 254, 138)
HSLhsl(95, 98%, 77%)
HSVhsv(95, 46%, 100%)
CMYKcmyk(26.8%, 0%, 45.7%, 0.4%)
CIE-LABlab(93.08, -40.60, 48.62)
CIE-LCHlch(93.08, 63.34, 129.87°)
OKLaboklab(92.63% -0.1119 0.1176)
OKLCHoklch(92.63% 0.162 133.6)
XYZxyz(60.2778, 83.1559, 36.9147)
Luminance0.8316 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAFE8A #CE8AFE
analogous
#F4FE8A #BAFE8A #8AFE94
triadic
#BAFE8A #8ABAFE #FE8ABA
tetradic
#BAFE8A #8AF4FE #CE8AFE #FE948A
square
#BAFE8A #8AF4FE #CE8AFE #FE948A
split-complementary
#BAFE8A #948AFE #FE8AF4
monochromatic
#72FD11 #96FD4D #BAFE8A #DEFFC7 #EDFFE1

Accessibility & contrast

On white

1.19
#BAFE8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.63
#BAFE8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAFE8A
17.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAFE8A#FFFFFF#000000##000000
##BAFE8A1.001.1917.6317.63
#FFFFFF1.191.0021.0021.00
#00000017.6321.001.001.00
##00000017.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF81
Deuteranopia (green-blind)
#FCE991
Tritanopia (blue-blind)
#BBF6E3
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #bafe8a;
/* rgb */ color: rgb(186, 254, 138);
/* oklch */ color: oklch(92.6% 0.162 133.6);
Tailwind
colors: {
  custom: {
    50: '#d1ffae',
    500: '#bafe8a',
    950: '#000000',
  },
}
SCSS
$custom: #bafe8a;
$custom-light: #d1ffae;
$custom-dark: #000000;
JSON
{
  "hex": "#bafe8a",
  "rgb": {
    "r": 186,
    "g": 254,
    "b": 138
  },
  "hsl": {
    "h": 95.172,
    "s": 98.305,
    "l": 76.863
  },
  "oklch": {
    "l": 0.92633,
    "c": 0.16235,
    "h": 133.6
  },
  "luminance": 0.83158
}

Semantic roles & 50–950 ramp

primary
#BAFE8A
secondary
#A34EDE
accent
#00E687
background
#FEFFFD
surface
#FBFFF7
border
#D4D7D0
text
#141810
muted
#838681

Preview Lab

Preview with #BAFE8A

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

Preview Lab → · Contrast checker → · Palette generator →

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