#BAFA87#BAFA87

#BAFA87 is a very light, vivid yellow-green. Relative luminance 0.806; OKLCH L 91.7% C 0.160 H 132.6°. Best body text is #000000 at 17.11:1 contrast (WCAG AA passes).

Color values

HEX#BAFA87
RGBrgb(186, 250, 135)
HSLhsl(93, 92%, 75%)
HSVhsv(93, 46%, 98%)
CMYKcmyk(25.6%, 0%, 46%, 2%)
CIE-LABlab(91.93, -39.18, 48.61)
CIE-LCHlch(91.93, 62.43, 128.87°)
OKLaboklab(91.69% -0.1081 0.1175)
OKLCHoklch(91.69% 0.16 132.6)
XYZxyz(58.8075, 80.5580, 35.3678)
Luminance0.8056 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAFA87 #C787FA
analogous
#F4FA87 #BAFA87 #87FA8D
triadic
#BAFA87 #87BAFA #FA87BA
tetradic
#BAFA87 #87F4FA #C787FA #FA8D87
square
#BAFA87 #87F4FA #C787FA #FA8D87
split-complementary
#BAFA87 #8D87FA #FA87F4
monochromatic
#76F511 #98F84C #BAFA87 #DCFCC2 #EEFEE2

Accessibility & contrast

On white

1.23
#BAFA87 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.11
#BAFA87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAFA87
17.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAFA87#FFFFFF#000000##000000
##BAFA871.001.2317.1117.11
#FFFFFF1.231.0021.0021.00
#00000017.1121.001.001.00
##00000017.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB7E
Deuteranopia (green-blind)
#F9E68E
Tritanopia (blue-blind)
#BBF2DF
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #bafa87;
/* rgb */ color: rgb(186, 250, 135);
/* oklch */ color: oklch(91.7% 0.160 132.6);
Tailwind
colors: {
  custom: {
    50: '#d1fcac',
    500: '#bafa87',
    950: '#000000',
  },
}
SCSS
$custom: #bafa87;
$custom-light: #d1fcac;
$custom-dark: #000000;
JSON
{
  "hex": "#bafa87",
  "rgb": {
    "r": 186,
    "g": 250,
    "b": 135
  },
  "hsl": {
    "h": 93.391,
    "s": 92,
    "l": 75.49
  },
  "oklch": {
    "l": 0.91692,
    "c": 0.15963,
    "h": 132.6
  },
  "luminance": 0.8056
}

Semantic roles & 50–950 ramp

primary
#BAFA87
secondary
#9A4DD8
accent
#00E680
background
#FEFFFD
surface
#FBFFF7
border
#D4D7D0
text
#141710
muted
#838581

Preview Lab

Preview with #BAFA87

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

Preview Lab → · Contrast checker → · Palette generator →

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