#BAFC73#BAFC73

#BAFC73 is a very light, vivid yellow-green. Relative luminance 0.813; OKLCH L 91.9% C 0.181 H 130.6°. Best body text is #000000 at 17.26:1 contrast (WCAG AA passes).

Color values

HEX#BAFC73
RGBrgb(186, 252, 115)
HSLhsl(89, 96%, 72%)
HSVhsv(89, 54%, 99%)
CMYKcmyk(26.2%, 0%, 54.4%, 1.2%)
CIE-LABlab(92.26, -42.18, 58.21)
CIE-LCHlch(92.26, 71.89, 125.93°)
OKLaboklab(91.88% -0.1178 0.1372)
OKLCHoklch(91.88% 0.181 130.6)
XYZxyz(58.1540, 81.2962, 28.8441)
Luminance0.8130 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAFC73 #B573FC
analogous
#FCF973 #BAFC73 #76FC73
triadic
#BAFC73 #73BAFC #FC73BA
tetradic
#BAFC73 #73FCF9 #B573FC #FC7376
square
#BAFC73 #73FCF9 #B573FC #FC7376
split-complementary
#BAFC73 #7376FC #F973FC
monochromatic
#7FEF05 #9CFB37 #BAFC73 #D8FDAF #F0FEE1

Accessibility & contrast

On white

1.22
#BAFC73 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.26
#BAFC73 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAFC73
17.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAFC73#FFFFFF#000000##000000
##BAFC731.001.2217.2617.26
#FFFFFF1.221.0021.0021.00
#00000017.2621.001.001.00
##00000017.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC66
Deuteranopia (green-blind)
#FDE77C
Tritanopia (blue-blind)
#BDF3DE
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #bafc73;
/* rgb */ color: rgb(186, 252, 115);
/* oklch */ color: oklch(91.9% 0.181 130.6);
Tailwind
colors: {
  custom: {
    50: '#d2fd9f',
    500: '#bafc73',
    950: '#000000',
  },
}
SCSS
$custom: #bafc73;
$custom-light: #d2fd9f;
$custom-dark: #000000;
JSON
{
  "hex": "#bafc73",
  "rgb": {
    "r": 186,
    "g": 252,
    "b": 115
  },
  "hsl": {
    "h": 88.905,
    "s": 95.804,
    "l": 71.961
  },
  "oklch": {
    "l": 0.91884,
    "c": 0.1808,
    "h": 130.6
  },
  "luminance": 0.81298
}

Semantic roles & 50–950 ramp

primary
#BAFC73
secondary
#873BD8
accent
#00E66F
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14170F
muted
#838580

Preview Lab

Preview with #BAFC73

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

Preview Lab → · Contrast checker → · Palette generator →

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