#BAF97F#BAF97F

#BAF97F is a very light, vivid yellow-green. Relative luminance 0.797; OKLCH L 91.4% C 0.166 H 131.5°. Best body text is #000000 at 16.94:1 contrast (WCAG AA passes).

Color values

HEX#BAF97F
RGBrgb(186, 249, 127)
HSLhsl(91, 91%, 74%)
HSVhsv(91, 49%, 98%)
CMYKcmyk(25.3%, 0%, 49%, 2.4%)
CIE-LABlab(91.56, -39.63, 51.91)
CIE-LCHlch(91.56, 65.31, 127.36°)
OKLaboklab(91.36% -0.1098 0.1243)
OKLCHoklch(91.36% 0.166 131.5)
XYZxyz(57.9553, 79.7213, 32.4088)
Luminance0.7972 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF97F #BE7FF9
analogous
#F7F97F #BAF97F #7FF981
triadic
#BAF97F #7FBAF9 #F97FBA
tetradic
#BAF97F #7FF7F9 #BE7FF9 #F9817F
square
#BAF97F #7FF7F9 #BE7FF9 #F9817F
split-complementary
#BAF97F #817FF9 #F97FF7
monochromatic
#7BF20B #9AF645 #BAF97F #DAFCB9 #EFFEE2

Accessibility & contrast

On white

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

On black

16.94
#BAF97F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF97F
16.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF97F#FFFFFF#000000##000000
##BAF97F1.001.2416.9416.94
#FFFFFF1.241.0021.0021.00
#00000016.9421.001.001.00
##00000016.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA74
Deuteranopia (green-blind)
#F9E587
Tritanopia (blue-blind)
#BCF0DD
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #baf97f;
/* rgb */ color: rgb(186, 249, 127);
/* oklch */ color: oklch(91.4% 0.166 131.5);
Tailwind
colors: {
  custom: {
    50: '#d1fba6',
    500: '#baf97f',
    950: '#000000',
  },
}
SCSS
$custom: #baf97f;
$custom-light: #d1fba6;
$custom-dark: #000000;
JSON
{
  "hex": "#baf97f",
  "rgb": {
    "r": 186,
    "g": 249,
    "b": 127
  },
  "hsl": {
    "h": 90.984,
    "s": 91.045,
    "l": 73.725
  },
  "oklch": {
    "l": 0.91357,
    "c": 0.16589,
    "h": 131.5
  },
  "luminance": 0.79723
}

Semantic roles & 50–950 ramp

primary
#BAF97F
secondary
#9046D6
accent
#00E677
background
#FEFFFC
surface
#FBFFF6
border
#D4D7D0
text
#141710
muted
#838580

Preview Lab

Preview with #BAF97F

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

Preview Lab → · Contrast checker → · Palette generator →

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