#BAF97A#BAF97A

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

Color values

HEX#BAF97A
RGBrgb(186, 249, 122)
HSLhsl(90, 91%, 73%)
HSVhsv(90, 51%, 98%)
CMYKcmyk(25.3%, 0%, 51%, 2.4%)
CIE-LABlab(91.50, -40.16, 54.15)
CIE-LCHlch(91.50, 67.42, 126.56°)
OKLaboklab(91.29% -0.1117 0.1289)
OKLCHoklch(91.29% 0.171 130.9)
XYZxyz(57.6375, 79.5942, 30.7351)
Luminance0.7960 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF97A #B97AF9
analogous
#F9F97A #BAF97A #7AF97A
triadic
#BAF97A #7ABAF9 #F97ABA
tetradic
#BAF97A #7AF9F9 #B97AF9 #F97A7A
square
#BAF97A #7AF9F9 #B97AF9 #F97A7A
split-complementary
#BAF97A #7A7AF9 #F97AF9
monochromatic
#7DEE0B #9CF63F #BAF97A #D8FCB5 #F0FEE2

Accessibility & contrast

On white

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

On black

16.92
#BAF97A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF97A
16.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF97A#FFFFFF#000000##000000
##BAF97A1.001.2416.9216.92
#FFFFFF1.241.0021.0021.00
#00000016.9221.001.001.00
##00000016.9221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #baf97a;
/* rgb */ color: rgb(186, 249, 122);
/* oklch */ color: oklch(91.3% 0.171 130.9);
Tailwind
colors: {
  custom: {
    50: '#d1fba3',
    500: '#baf97a',
    950: '#000000',
  },
}
SCSS
$custom: #baf97a;
$custom-light: #d1fba3;
$custom-dark: #000000;
JSON
{
  "hex": "#baf97a",
  "rgb": {
    "r": 186,
    "g": 249,
    "b": 122
  },
  "hsl": {
    "h": 89.764,
    "s": 91.367,
    "l": 72.745
  },
  "oklch": {
    "l": 0.91292,
    "c": 0.17054,
    "h": 130.9
  },
  "luminance": 0.79596
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BAF97A

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

Preview Lab → · Contrast checker → · Palette generator →

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