#BAFD74#BAFD74

#BAFD74 is a very light, vivid yellow-green. Relative luminance 0.820; OKLCH L 92.1% C 0.181 H 130.9°. Best body text is #000000 at 17.39:1 contrast (WCAG AA passes).

Color values

HEX#BAFD74
RGBrgb(186, 253, 116)
HSLhsl(89, 97%, 72%)
HSVhsv(89, 54%, 99%)
CMYKcmyk(26.5%, 0%, 54.2%, 0.8%)
CIE-LABlab(92.55, -42.52, 58.11)
CIE-LCHlch(92.55, 72.00, 126.20°)
OKLaboklab(92.12% -0.1186 0.137)
OKLCHoklch(92.12% 0.181 130.9)
XYZxyz(58.5267, 81.9491, 29.2538)
Luminance0.8195 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAFD74 #B774FD
analogous
#FDFB74 #BAFD74 #76FD74
triadic
#BAFD74 #74BAFD #FD74BA
tetradic
#BAFD74 #74FDFB #B774FD #FD7476
square
#BAFD74 #74FDFB #B774FD #FD7476
split-complementary
#BAFD74 #7476FD #FB74FD
monochromatic
#7EF303 #9CFC38 #BAFD74 #D8FEB0 #F0FFE1

Accessibility & contrast

On white

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

On black

17.39
#BAFD74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAFD74
17.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAFD74#FFFFFF#000000##000000
##BAFD741.001.2117.3917.39
#FFFFFF1.211.0021.0021.00
#00000017.3921.001.001.00
##00000017.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED67
Deuteranopia (green-blind)
#FDE87D
Tritanopia (blue-blind)
#BDF4DF
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #bafd74;
/* rgb */ color: rgb(186, 253, 116);
/* oklch */ color: oklch(92.1% 0.181 130.9);
Tailwind
colors: {
  custom: {
    50: '#d2fea0',
    500: '#bafd74',
    950: '#000000',
  },
}
SCSS
$custom: #bafd74;
$custom-light: #d2fea0;
$custom-dark: #000000;
JSON
{
  "hex": "#bafd74",
  "rgb": {
    "r": 186,
    "g": 253,
    "b": 116
  },
  "hsl": {
    "h": 89.343,
    "s": 97.163,
    "l": 72.353
  },
  "oklch": {
    "l": 0.92122,
    "c": 0.18125,
    "h": 130.9
  },
  "luminance": 0.81951
}

Semantic roles & 50–950 ramp

primary
#BAFD74
secondary
#893BDA
accent
#00E670
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14180F
muted
#838680

Preview Lab

Preview with #BAFD74

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

Preview Lab → · Contrast checker → · Palette generator →

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