#BAFE68#BAFE68

#BAFE68 is a very light, vivid yellow-green. Relative luminance 0.823; OKLCH L 92.2% C 0.193 H 130.0°. Best body text is #000000 at 17.46:1 contrast (WCAG AA passes).

Color values

HEX#BAFE68
RGBrgb(186, 254, 104)
HSLhsl(87, 99%, 70%)
HSVhsv(87, 59%, 100%)
CMYKcmyk(26.8%, 0%, 59.1%, 0.4%)
CIE-LABlab(92.72, -44.04, 63.49)
CIE-LCHlch(92.72, 77.27, 124.75°)
OKLaboklab(92.22% -0.1238 0.1475)
OKLCHoklch(92.22% 0.193 130)
XYZxyz(58.1897, 82.3207, 25.9177)
Luminance0.8232 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAFE68 #AC68FE
analogous
#FEF768 #BAFE68 #6FFE68
triadic
#BAFE68 #68BAFE #FE68BA
tetradic
#BAFE68 #68FEF7 #AC68FE #FE686F
square
#BAFE68 #68FEF7 #AC68FE #FE686F
split-complementary
#BAFE68 #686FFE #F768FE
monochromatic
#81EA02 #9EFE2B #BAFE68 #D6FEA5 #F1FFE1

Accessibility & contrast

On white

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

On black

17.46
#BAFE68 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAFE68
17.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAFE68#FFFFFF#000000##000000
##BAFE681.001.2017.4617.46
#FFFFFF1.201.0021.0021.00
#00000017.4621.001.001.00
##00000017.4621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bafe68;
/* rgb */ color: rgb(186, 254, 104);
/* oklch */ color: oklch(92.2% 0.193 130.0);
Tailwind
colors: {
  custom: {
    50: '#d2ff98',
    500: '#bafe68',
    950: '#000000',
  },
}
SCSS
$custom: #bafe68;
$custom-light: #d2ff98;
$custom-dark: #000000;
JSON
{
  "hex": "#bafe68",
  "rgb": {
    "r": 186,
    "g": 254,
    "b": 104
  },
  "hsl": {
    "h": 87.2,
    "s": 98.684,
    "l": 70.196
  },
  "oklch": {
    "l": 0.92217,
    "c": 0.19254,
    "h": 130
  },
  "luminance": 0.82322
}

Semantic roles & 50–950 ramp

primary
#BAFE68
secondary
#7D31D9
accent
#00E668
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14180E
muted
#83867F

Preview Lab

Preview with #BAFE68

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

Preview Lab → · Contrast checker → · Palette generator →

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