#BAFA96#BAFA96

#BAFA96 is a very light, vivid yellow-green. Relative luminance 0.810; OKLCH L 91.9% C 0.145 H 135.0°. Best body text is #000000 at 17.20:1 contrast (WCAG AA passes).

Color values

HEX#BAFA96
RGBrgb(186, 250, 150)
HSLhsl(98, 91%, 78%)
HSVhsv(98, 40%, 98%)
CMYKcmyk(25.6%, 0%, 40%, 2%)
CIE-LABlab(92.14, -37.33, 41.64)
CIE-LCHlch(92.14, 55.92, 131.88°)
OKLaboklab(91.92% -0.1023 0.1023)
OKLCHoklch(91.92% 0.145 135)
XYZxyz(59.9389, 81.0106, 41.3268)
Luminance0.8101 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAFA96 #D696FA
analogous
#ECFA96 #BAFA96 #96FAA4
triadic
#BAFA96 #96BAFA #FA96BA
tetradic
#BAFA96 #96ECFA #D696FA #FAA496
square
#BAFA96 #96ECFA #D696FA #FAA496
split-complementary
#BAFA96 #A496FA #FA96EC
monochromatic
#6DF421 #94F75C #BAFA96 #E0FDD0 #ECFEE2

Accessibility & contrast

On white

1.22
#BAFA96 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.20
#BAFA96 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAFA96
17.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAFA96#FFFFFF#000000##000000
##BAFA961.001.2217.2017.20
#FFFFFF1.221.0021.0021.00
#00000017.2021.001.001.00
##00000017.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC8F
Deuteranopia (green-blind)
#F7E69C
Tritanopia (blue-blind)
#BAF3E1
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #bafa96;
/* rgb */ color: rgb(186, 250, 150);
/* oklch */ color: oklch(91.9% 0.145 135.0);
Tailwind
colors: {
  custom: {
    50: '#d0fcb6',
    500: '#bafa96',
    950: '#000000',
  },
}
SCSS
$custom: #bafa96;
$custom-light: #d0fcb6;
$custom-dark: #000000;
JSON
{
  "hex": "#bafa96",
  "rgb": {
    "r": 186,
    "g": 250,
    "b": 150
  },
  "hsl": {
    "h": 98.4,
    "s": 90.909,
    "l": 78.431
  },
  "oklch": {
    "l": 0.91921,
    "c": 0.14466,
    "h": 135
  },
  "luminance": 0.81012
}

Semantic roles & 50–950 ramp

primary
#BAFA96
secondary
#AC5ADA
accent
#00E693
background
#FEFFFD
surface
#FBFFF8
border
#D4D7D1
text
#141711
muted
#838581

Preview Lab

Preview with #BAFA96

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

Preview Lab → · Contrast checker → · Palette generator →

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