#BAF96C#BAF96C

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

Color values

HEX#BAF96C
RGBrgb(186, 249, 108)
HSLhsl(87, 92%, 70%)
HSVhsv(87, 57%, 98%)
CMYKcmyk(25.3%, 0%, 56.6%, 2.4%)
CIE-LABlab(91.36, -41.52, 60.24)
CIE-LCHlch(91.36, 73.16, 124.57°)
OKLaboklab(91.13% -0.1165 0.1409)
OKLCHoklch(91.13% 0.183 129.6)
XYZxyz(56.8317, 79.2719, 26.4912)
Luminance0.7927 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF96C #AB6CF9
analogous
#F9F26C #BAF96C #73F96C
triadic
#BAF96C #6CBAF9 #F96CBA
tetradic
#BAF96C #6CF9F2 #AB6CF9 #F96C73
square
#BAF96C #6CF9F2 #AB6CF9 #F96C73
split-complementary
#BAF96C #6C73F9 #F26CF9
monochromatic
#81E109 #9EF731 #BAF96C #D6FBA7 #F1FEE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAF96C#FFFFFF#000000##000000
##BAF96C1.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)
#FFE95D
Deuteranopia (green-blind)
#FBE576
Tritanopia (blue-blind)
#BEEFDA
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #baf96c;
/* rgb */ color: rgb(186, 249, 108);
/* oklch */ color: oklch(91.1% 0.183 129.6);
Tailwind
colors: {
  custom: {
    50: '#d2fb9a',
    500: '#baf96c',
    950: '#000000',
  },
}
SCSS
$custom: #baf96c;
$custom-light: #d2fb9a;
$custom-dark: #000000;
JSON
{
  "hex": "#baf96c",
  "rgb": {
    "r": 186,
    "g": 249,
    "b": 108
  },
  "hsl": {
    "h": 86.809,
    "s": 92.157,
    "l": 70
  },
  "oklch": {
    "l": 0.91128,
    "c": 0.18282,
    "h": 129.6
  },
  "luminance": 0.79273
}

Semantic roles & 50–950 ramp

primary
#BAF96C
secondary
#7C36D4
accent
#00E667
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14170E
muted
#83857F

Preview Lab

Preview with #BAF96C

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

Preview Lab → · Contrast checker → · Palette generator →

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