#BAFD72#BAFD72

#BAFD72 is a very light, vivid yellow-green. Relative luminance 0.819; OKLCH L 92.1% C 0.183 H 130.7°. Best body text is #000000 at 17.38:1 contrast (WCAG AA passes).

Color values

HEX#BAFD72
RGBrgb(186, 253, 114)
HSLhsl(89, 97%, 72%)
HSVhsv(89, 55%, 99%)
CMYKcmyk(26.5%, 0%, 54.9%, 0.8%)
CIE-LABlab(92.53, -42.71, 58.97)
CIE-LCHlch(92.53, 72.81, 125.92°)
OKLaboklab(92.1% -0.1193 0.1387)
OKLCHoklch(92.1% 0.183 130.7)
XYZxyz(58.4116, 81.9030, 28.6477)
Luminance0.8190 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAFD72 #B572FD
analogous
#FDFB72 #BAFD72 #75FD72
triadic
#BAFD72 #72BAFD #FD72BA
tetradic
#BAFD72 #72FDFB #B572FD #FD7275
square
#BAFD72 #72FDFB #B572FD #FD7275
split-complementary
#BAFD72 #7275FD #FB72FD
monochromatic
#7FF103 #9CFC36 #BAFD72 #D8FEAE #F0FFE1

Accessibility & contrast

On white

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

On black

17.38
#BAFD72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAFD72
17.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAFD72#FFFFFF#000000##000000
##BAFD721.001.2117.3817.38
#FFFFFF1.211.0021.0021.00
#00000017.3821.001.001.00
##00000017.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED64
Deuteranopia (green-blind)
#FEE87B
Tritanopia (blue-blind)
#BDF4DE
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #bafd72;
/* rgb */ color: rgb(186, 253, 114);
/* oklch */ color: oklch(92.1% 0.183 130.7);
Tailwind
colors: {
  custom: {
    50: '#d2fe9e',
    500: '#bafd72',
    950: '#000000',
  },
}
SCSS
$custom: #bafd72;
$custom-light: #d2fe9e;
$custom-dark: #000000;
JSON
{
  "hex": "#bafd72",
  "rgb": {
    "r": 186,
    "g": 253,
    "b": 114
  },
  "hsl": {
    "h": 88.921,
    "s": 97.203,
    "l": 71.961
  },
  "oklch": {
    "l": 0.92099,
    "c": 0.18299,
    "h": 130.7
  },
  "luminance": 0.81905
}

Semantic roles & 50–950 ramp

primary
#BAFD72
secondary
#873AD9
accent
#00E66F
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14180F
muted
#838680

Preview Lab

Preview with #BAFD72

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

Preview Lab → · Contrast checker → · Palette generator →

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