#BAF96A#BAF96A

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

Color values

HEX#BAF96A
RGBrgb(186, 249, 106)
HSLhsl(86, 92%, 70%)
HSVhsv(86, 57%, 98%)
CMYKcmyk(25.3%, 0%, 57.4%, 2.4%)
CIE-LABlab(91.34, -41.69, 61.09)
CIE-LCHlch(91.34, 73.96, 124.31°)
OKLaboklab(91.11% -0.1171 0.1426)
OKLCHoklch(91.11% 0.184 129.4)
XYZxyz(56.7265, 79.2298, 25.9371)
Luminance0.7923 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF96A #A96AF9
analogous
#F9F16A #BAF96A #72F96A
triadic
#BAF96A #6ABAF9 #F96ABA
tetradic
#BAF96A #6AF9F1 #A96AF9 #F96A72
square
#BAF96A #6AF9F1 #A96AF9 #F96A72
split-complementary
#BAF96A #6A72F9 #F16AF9
monochromatic
#81E009 #9FF72F #BAF96A #D5FBA5 #F0FEE0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAF96A#FFFFFF#000000##000000
##BAF96A1.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)
#FFE95B
Deuteranopia (green-blind)
#FBE574
Tritanopia (blue-blind)
#BFEFDA
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #baf96a;
/* rgb */ color: rgb(186, 249, 106);
/* oklch */ color: oklch(91.1% 0.184 129.4);
Tailwind
colors: {
  custom: {
    50: '#d2fb99',
    500: '#baf96a',
    950: '#000000',
  },
}
SCSS
$custom: #baf96a;
$custom-light: #d2fb99;
$custom-dark: #000000;
JSON
{
  "hex": "#baf96a",
  "rgb": {
    "r": 186,
    "g": 249,
    "b": 106
  },
  "hsl": {
    "h": 86.434,
    "s": 92.258,
    "l": 69.608
  },
  "oklch": {
    "l": 0.91106,
    "c": 0.18449,
    "h": 129.4
  },
  "luminance": 0.79231
}

Semantic roles & 50–950 ramp

primary
#BAF96A
secondary
#7A34D3
accent
#00E665
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14170E
muted
#83857F

Preview Lab

Preview with #BAF96A

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

Preview Lab → · Contrast checker → · Palette generator →

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