#BAFA79#BAFA79

#BAFA79 is a very light, vivid yellow-green. Relative luminance 0.802; OKLCH L 91.5% C 0.173 H 130.9°. Best body text is #000000 at 17.04:1 contrast (WCAG AA passes).

Color values

HEX#BAFA79
RGBrgb(186, 250, 121)
HSLhsl(90, 93%, 73%)
HSVhsv(90, 52%, 98%)
CMYKcmyk(25.6%, 0%, 51.6%, 2%)
CIE-LABlab(91.77, -40.70, 54.93)
CIE-LCHlch(91.77, 68.37, 126.54°)
OKLaboklab(91.51% -0.1132 0.1305)
OKLCHoklch(91.51% 0.173 130.9)
XYZxyz(57.8858, 80.1893, 30.5137)
Luminance0.8019 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAFA79 #B979FA
analogous
#FAF979 #BAFA79 #7AFA79
triadic
#BAFA79 #79BAFA #FA79BA
tetradic
#BAFA79 #79FAF9 #B979FA #FA797A
square
#BAFA79 #79FAF9 #B979FA #FA797A
split-complementary
#BAFA79 #797AFA #F979FA
monochromatic
#7DF009 #9CF83E #BAFA79 #D8FCB4 #F0FEE2

Accessibility & contrast

On white

1.23
#BAFA79 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.04
#BAFA79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAFA79
17.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAFA79#FFFFFF#000000##000000
##BAFA791.001.2317.0417.04
#FFFFFF1.231.0021.0021.00
#00000017.0421.001.001.00
##00000017.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB6D
Deuteranopia (green-blind)
#FAE681
Tritanopia (blue-blind)
#BDF1DD
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #bafa79;
/* rgb */ color: rgb(186, 250, 121);
/* oklch */ color: oklch(91.5% 0.173 130.9);
Tailwind
colors: {
  custom: {
    50: '#d1fca3',
    500: '#bafa79',
    950: '#000000',
  },
}
SCSS
$custom: #bafa79;
$custom-light: #d1fca3;
$custom-dark: #000000;
JSON
{
  "hex": "#bafa79",
  "rgb": {
    "r": 186,
    "g": 250,
    "b": 121
  },
  "hsl": {
    "h": 89.767,
    "s": 92.806,
    "l": 72.745
  },
  "oklch": {
    "l": 0.91505,
    "c": 0.1728,
    "h": 130.9
  },
  "luminance": 0.80191
}

Semantic roles & 50–950 ramp

primary
#BAFA79
secondary
#8B41D7
accent
#00E672
background
#FEFFFC
surface
#FBFFF6
border
#D4D7D0
text
#14170F
muted
#838580

Preview Lab

Preview with #BAFA79

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

Preview Lab → · Contrast checker → · Palette generator →

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