#BAF97E#BAF97E

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

Color values

HEX#BAF97E
RGBrgb(186, 249, 126)
HSLhsl(91, 91%, 74%)
HSVhsv(91, 49%, 98%)
CMYKcmyk(25.3%, 0%, 49.4%, 2.4%)
CIE-LABlab(91.55, -39.74, 52.36)
CIE-LCHlch(91.55, 65.73, 127.19°)
OKLaboklab(91.34% -0.1102 0.1252)
OKLCHoklch(91.34% 0.167 131.4)
XYZxyz(57.8905, 79.6954, 32.0673)
Luminance0.7970 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF97E #BD7EF9
analogous
#F7F97E #BAF97E #7EF97F
triadic
#BAF97E #7EBAF9 #F97EBA
tetradic
#BAF97E #7EF7F9 #BD7EF9 #F97F7E
square
#BAF97E #7EF7F9 #BD7EF9 #F97F7E
split-complementary
#BAF97E #7F7EF9 #F97EF7
monochromatic
#7BF10B #9BF644 #BAF97E #D9FCB8 #EFFEE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAF97E#FFFFFF#000000##000000
##BAF97E1.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)
#FFEA73
Deuteranopia (green-blind)
#F9E586
Tritanopia (blue-blind)
#BDF0DD
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #baf97e;
/* rgb */ color: rgb(186, 249, 126);
/* oklch */ color: oklch(91.3% 0.167 131.4);
Tailwind
colors: {
  custom: {
    50: '#d1fba6',
    500: '#baf97e',
    950: '#000000',
  },
}
SCSS
$custom: #baf97e;
$custom-light: #d1fba6;
$custom-dark: #000000;
JSON
{
  "hex": "#baf97e",
  "rgb": {
    "r": 186,
    "g": 249,
    "b": 126
  },
  "hsl": {
    "h": 90.732,
    "s": 91.111,
    "l": 73.529
  },
  "oklch": {
    "l": 0.91344,
    "c": 0.16683,
    "h": 131.4
  },
  "luminance": 0.79697
}

Semantic roles & 50–950 ramp

primary
#BAF97E
secondary
#8F45D6
accent
#00E676
background
#FEFFFC
surface
#FBFFF6
border
#D4D7D0
text
#14170F
muted
#838580

Preview Lab

Preview with #BAF97E

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

Preview Lab → · Contrast checker → · Palette generator →

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