#BAFA95#BAFA95

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

Color values

HEX#BAFA95
RGBrgb(186, 250, 149)
HSLhsl(98, 91%, 78%)
HSVhsv(98, 40%, 98%)
CMYKcmyk(25.6%, 0%, 40.4%, 2%)
CIE-LABlab(92.12, -37.46, 42.11)
CIE-LCHlch(92.12, 56.36, 131.66°)
OKLaboklab(91.9% -0.1027 0.1034)
OKLCHoklch(91.9% 0.146 134.8)
XYZxyz(59.8587, 80.9785, 40.9046)
Luminance0.8098 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAFA95 #D595FA
analogous
#ECFA95 #BAFA95 #95FAA2
triadic
#BAFA95 #95BAFA #FA95BA
tetradic
#BAFA95 #95ECFA #D595FA #FAA295
square
#BAFA95 #95ECFA #D595FA #FAA295
split-complementary
#BAFA95 #A295FA #FA95EC
monochromatic
#6EF420 #94F75B #BAFA95 #E0FDCF #ECFEE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAFA95#FFFFFF#000000##000000
##BAFA951.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)
#FFEC8D
Deuteranopia (green-blind)
#F8E69B
Tritanopia (blue-blind)
#BAF3E1
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #bafa95;
/* rgb */ color: rgb(186, 250, 149);
/* oklch */ color: oklch(91.9% 0.146 134.8);
Tailwind
colors: {
  custom: {
    50: '#d0fcb5',
    500: '#bafa95',
    950: '#000000',
  },
}
SCSS
$custom: #bafa95;
$custom-light: #d0fcb5;
$custom-dark: #000000;
JSON
{
  "hex": "#bafa95",
  "rgb": {
    "r": 186,
    "g": 250,
    "b": 149
  },
  "hsl": {
    "h": 98.02,
    "s": 90.991,
    "l": 78.235
  },
  "oklch": {
    "l": 0.91904,
    "c": 0.14568,
    "h": 134.8
  },
  "luminance": 0.8098
}

Semantic roles & 50–950 ramp

primary
#BAFA95
secondary
#AB59DA
accent
#00E691
background
#FEFFFD
surface
#FBFFF8
border
#D4D7D1
text
#141711
muted
#838581

Preview Lab

Preview with #BAFA95

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

Preview Lab → · Contrast checker → · Palette generator →

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