#BAF979#BAF979

#BAF979 is a very light, vivid yellow-green. Relative luminance 0.796; OKLCH L 91.3% C 0.171 H 130.8°. Best body text is #000000 at 16.91:1 contrast (WCAG AA passes).

Color values

HEX#BAF979
RGBrgb(186, 249, 121)
HSLhsl(90, 91%, 73%)
HSVhsv(90, 51%, 98%)
CMYKcmyk(25.3%, 0%, 51.4%, 2.4%)
CIE-LABlab(91.49, -40.26, 54.60)
CIE-LCHlch(91.49, 67.84, 126.41°)
OKLaboklab(91.28% -0.112 0.1298)
OKLCHoklch(91.28% 0.171 130.8)
XYZxyz(57.5759, 79.5695, 30.4104)
Luminance0.7957 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF979 #B879F9
analogous
#F9F879 #BAF979 #7AF979
triadic
#BAF979 #79BAF9 #F979BA
tetradic
#BAF979 #79F9F8 #B879F9 #F9797A
square
#BAF979 #79F9F8 #B879F9 #F9797A
split-complementary
#BAF979 #797AF9 #F879F9
monochromatic
#7EED0B #9CF63E #BAF979 #D8FCB4 #F0FEE2

Accessibility & contrast

On white

1.24
#BAF979 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.91
#BAF979 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF979
16.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF979#FFFFFF#000000##000000
##BAF9791.001.2416.9116.91
#FFFFFF1.241.0021.0021.00
#00000016.9121.001.001.00
##00000016.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA6D
Deuteranopia (green-blind)
#FAE581
Tritanopia (blue-blind)
#BDF0DC
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #baf979;
/* rgb */ color: rgb(186, 249, 121);
/* oklch */ color: oklch(91.3% 0.171 130.8);
Tailwind
colors: {
  custom: {
    50: '#d1fba3',
    500: '#baf979',
    950: '#000000',
  },
}
SCSS
$custom: #baf979;
$custom-light: #d1fba3;
$custom-dark: #000000;
JSON
{
  "hex": "#baf979",
  "rgb": {
    "r": 186,
    "g": 249,
    "b": 121
  },
  "hsl": {
    "h": 89.531,
    "s": 91.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.9128,
    "c": 0.17145,
    "h": 130.8
  },
  "luminance": 0.79571
}

Semantic roles & 50–950 ramp

primary
#BAF979
secondary
#8A41D5
accent
#00E671
background
#FEFFFC
surface
#FBFFF6
border
#D4D7D0
text
#14170F
muted
#838580

Preview Lab

Preview with #BAF979

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

Preview Lab → · Contrast checker → · Palette generator →

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