#BAFE4E#BAFE4E

#BAFE4E is a very light, highly saturated yellow-green. Relative luminance 0.819; OKLCH L 92.0% C 0.211 H 128.4°. Best body text is #000000 at 17.37:1 contrast (WCAG AA passes).

Color values

HEX#BAFE4E
RGBrgb(186, 254, 78)
HSLhsl(83, 99%, 65%)
HSVhsv(83, 69%, 100%)
CMYKcmyk(26.8%, 0%, 69.3%, 0.4%)
CIE-LABlab(92.52, -45.94, 73.41)
CIE-LCHlch(92.52, 86.60, 122.04°)
OKLaboklab(91.99% -0.131 0.1652)
OKLCHoklch(91.99% 0.211 128.4)
XYZxyz(57.0666, 81.8714, 20.0024)
Luminance0.8187 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAFE4E #924EFE
analogous
#FEEA4E #BAFE4E #62FE4E
triadic
#BAFE4E #4EBAFE #FE4EBA
tetradic
#BAFE4E #4EFEEA #924EFE #FE4E62
square
#BAFE4E #4EFEEA #924EFE #FE4E62
split-complementary
#BAFE4E #4E62FE #EA4EFE
monochromatic
#80D001 #A2FE11 #BAFE4E #D2FE8B #E9FFC8

Accessibility & contrast

On white

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

On black

17.37
#BAFE4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAFE4E
17.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAFE4E#FFFFFF#000000##000000
##BAFE4E1.001.2117.3717.37
#FFFFFF1.211.0021.0021.00
#00000017.3721.001.001.00
##00000017.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED31
Deuteranopia (green-blind)
#FFE85D
Tritanopia (blue-blind)
#C0F3DB
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #bafe4e;
/* rgb */ color: rgb(186, 254, 78);
/* oklch */ color: oklch(92.0% 0.211 128.4);
Tailwind
colors: {
  custom: {
    50: '#d3ff89',
    500: '#bafe4e',
    950: '#000000',
  },
}
SCSS
$custom: #bafe4e;
$custom-light: #d3ff89;
$custom-dark: #000000;
JSON
{
  "hex": "#bafe4e",
  "rgb": {
    "r": 186,
    "g": 254,
    "b": 78
  },
  "hsl": {
    "h": 83.182,
    "s": 98.876,
    "l": 65.098
  },
  "oklch": {
    "l": 0.91993,
    "c": 0.21088,
    "h": 128.4
  },
  "luminance": 0.81873
}

Semantic roles & 50–950 ramp

primary
#BAFE4E
secondary
#6525CB
accent
#00E659
background
#FEFFFC
surface
#FBFFF4
border
#D4D7CE
text
#15180C
muted
#84867F

Preview Lab

Preview with #BAFE4E

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

Preview Lab → · Contrast checker → · Palette generator →

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