#BAF96B#BAF96B

#BAF96B is a very light, vivid yellow-green. Relative luminance 0.793; OKLCH L 91.1% C 0.184 H 129.5°. Best body text is #000000 at 16.85:1 contrast (WCAG AA passes).

Color values

HEX#BAF96B
RGBrgb(186, 249, 107)
HSLhsl(87, 92%, 70%)
HSVhsv(87, 57%, 98%)
CMYKcmyk(25.3%, 0%, 57%, 2.4%)
CIE-LABlab(91.35, -41.60, 60.67)
CIE-LCHlch(91.35, 73.56, 124.44°)
OKLaboklab(91.12% -0.1168 0.1417)
OKLCHoklch(91.12% 0.184 129.5)
XYZxyz(56.7788, 79.2507, 26.2125)
Luminance0.7925 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF96B #AA6BF9
analogous
#F9F16B #BAF96B #73F96B
triadic
#BAF96B #6BBAF9 #F96BBA
tetradic
#BAF96B #6BF9F1 #AA6BF9 #F96B73
square
#BAF96B #6BF9F1 #AA6BF9 #F96B73
split-complementary
#BAF96B #6B73F9 #F16BF9
monochromatic
#81E009 #9FF730 #BAF96B #D5FBA6 #F1FEE1

Accessibility & contrast

On white

1.25
#BAF96B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.85
#BAF96B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF96B
16.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF96B#FFFFFF#000000##000000
##BAF96B1.001.2516.8516.85
#FFFFFF1.251.0021.0021.00
#00000016.8521.001.001.00
##00000016.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE95C
Deuteranopia (green-blind)
#FBE575
Tritanopia (blue-blind)
#BEEFDA
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #baf96b;
/* rgb */ color: rgb(186, 249, 107);
/* oklch */ color: oklch(91.1% 0.184 129.5);
Tailwind
colors: {
  custom: {
    50: '#d2fb9a',
    500: '#baf96b',
    950: '#000000',
  },
}
SCSS
$custom: #baf96b;
$custom-light: #d2fb9a;
$custom-dark: #000000;
JSON
{
  "hex": "#baf96b",
  "rgb": {
    "r": 186,
    "g": 249,
    "b": 107
  },
  "hsl": {
    "h": 86.62,
    "s": 92.208,
    "l": 69.804
  },
  "oklch": {
    "l": 0.91117,
    "c": 0.18367,
    "h": 129.5
  },
  "luminance": 0.79252
}

Semantic roles & 50–950 ramp

primary
#BAF96B
secondary
#7B35D3
accent
#00E666
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14170E
muted
#83857F

Preview Lab

Preview with #BAF96B

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

Preview Lab → · Contrast checker → · Palette generator →

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