#BAF97D#BAF97D

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

Color values

HEX#BAF97D
RGBrgb(186, 249, 125)
HSLhsl(90, 91%, 73%)
HSVhsv(90, 50%, 98%)
CMYKcmyk(25.3%, 0%, 49.8%, 2.4%)
CIE-LABlab(91.54, -39.84, 52.81)
CIE-LCHlch(91.54, 66.16, 127.03°)
OKLaboklab(91.33% -0.1106 0.1262)
OKLCHoklch(91.33% 0.168 131.2)
XYZxyz(57.8263, 79.6697, 31.7292)
Luminance0.7967 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF97D #BC7DF9
analogous
#F8F97D #BAF97D #7DF97E
triadic
#BAF97D #7DBAF9 #F97DBA
tetradic
#BAF97D #7DF8F9 #BC7DF9 #F97E7D
square
#BAF97D #7DF8F9 #BC7DF9 #F97E7D
split-complementary
#BAF97D #7E7DF9 #F97DF8
monochromatic
#7CF00B #9BF642 #BAF97D #D9FCB7 #EFFEE2

Accessibility & contrast

On white

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

On black

16.93
#BAF97D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF97D
16.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF97D#FFFFFF#000000##000000
##BAF97D1.001.2416.9316.93
#FFFFFF1.241.0021.0021.00
#00000016.9321.001.001.00
##00000016.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA72
Deuteranopia (green-blind)
#F9E585
Tritanopia (blue-blind)
#BDF0DD
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #baf97d;
/* rgb */ color: rgb(186, 249, 125);
/* oklch */ color: oklch(91.3% 0.168 131.2);
Tailwind
colors: {
  custom: {
    50: '#d1fba5',
    500: '#baf97d',
    950: '#000000',
  },
}
SCSS
$custom: #baf97d;
$custom-light: #d1fba5;
$custom-dark: #000000;
JSON
{
  "hex": "#baf97d",
  "rgb": {
    "r": 186,
    "g": 249,
    "b": 125
  },
  "hsl": {
    "h": 90.484,
    "s": 91.176,
    "l": 73.333
  },
  "oklch": {
    "l": 0.91331,
    "c": 0.16777,
    "h": 131.2
  },
  "luminance": 0.79671
}

Semantic roles & 50–950 ramp

primary
#BAF97D
secondary
#8E44D6
accent
#00E675
background
#FEFFFC
surface
#FBFFF6
border
#D4D7D0
text
#14170F
muted
#838580

Preview Lab

Preview with #BAF97D

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

Preview Lab → · Contrast checker → · Palette generator →

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