#BAF96F#BAF96F

#BAF96F is a very light, vivid yellow-green. Relative luminance 0.793; OKLCH L 91.2% C 0.180 H 129.8°. Best body text is #000000 at 16.87:1 contrast (WCAG AA passes).

Color values

HEX#BAF96F
RGBrgb(186, 249, 111)
HSLhsl(87, 92%, 71%)
HSVhsv(87, 55%, 98%)
CMYKcmyk(25.3%, 0%, 55.4%, 2.4%)
CIE-LABlab(91.39, -41.24, 58.96)
CIE-LCHlch(91.39, 71.95, 124.97°)
OKLaboklab(91.16% -0.1155 0.1385)
OKLCHoklch(91.16% 0.18 129.8)
XYZxyz(56.9941, 79.3368, 27.3466)
Luminance0.7934 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF96F #AE6FF9
analogous
#F9F36F #BAF96F #75F96F
triadic
#BAF96F #6FBAF9 #F96FBA
tetradic
#BAF96F #6FF9F3 #AE6FF9 #F96F75
square
#BAF96F #6FF9F3 #AE6FF9 #F96F75
split-complementary
#BAF96F #6F75F9 #F36FF9
monochromatic
#80E40A #9EF734 #BAF96F #D6FBAA #F1FEE2

Accessibility & contrast

On white

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

On black

16.87
#BAF96F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF96F
16.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF96F#FFFFFF#000000##000000
##BAF96F1.001.2416.8716.87
#FFFFFF1.241.0021.0021.00
#00000016.8721.001.001.00
##00000016.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE961
Deuteranopia (green-blind)
#FAE578
Tritanopia (blue-blind)
#BEEFDB
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #baf96f;
/* rgb */ color: rgb(186, 249, 111);
/* oklch */ color: oklch(91.2% 0.180 129.8);
Tailwind
colors: {
  custom: {
    50: '#d2fb9c',
    500: '#baf96f',
    950: '#000000',
  },
}
SCSS
$custom: #baf96f;
$custom-light: #d2fb9c;
$custom-dark: #000000;
JSON
{
  "hex": "#baf96f",
  "rgb": {
    "r": 186,
    "g": 249,
    "b": 111
  },
  "hsl": {
    "h": 87.391,
    "s": 92,
    "l": 70.588
  },
  "oklch": {
    "l": 0.91161,
    "c": 0.18029,
    "h": 129.8
  },
  "luminance": 0.79338
}

Semantic roles & 50–950 ramp

primary
#BAF96F
secondary
#7F38D4
accent
#00E669
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14170E
muted
#83857F

Preview Lab

Preview with #BAF96F

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

Preview Lab → · Contrast checker → · Palette generator →

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