#BAFA86#BAFA86

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

Color values

HEX#BAFA86
RGBrgb(186, 250, 134)
HSLhsl(93, 92%, 75%)
HSVhsv(93, 46%, 98%)
CMYKcmyk(25.6%, 0%, 46.4%, 2%)
CIE-LABlab(91.92, -39.29, 49.07)
CIE-LCHlch(91.92, 62.86, 128.69°)
OKLaboklab(91.68% -0.1085 0.1184)
OKLCHoklch(91.68% 0.161 132.5)
XYZxyz(58.7374, 80.5300, 34.9988)
Luminance0.8053 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAFA86 #C686FA
analogous
#F4FA86 #BAFA86 #86FA8C
triadic
#BAFA86 #86BAFA #FA86BA
tetradic
#BAFA86 #86F4FA #C686FA #FA8C86
square
#BAFA86 #86F4FA #C686FA #FA8C86
split-complementary
#BAFA86 #8C86FA #FA86F4
monochromatic
#77F510 #98F84B #BAFA86 #DCFCC1 #EEFEE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAFA86#FFFFFF#000000##000000
##BAFA861.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)
#FFEB7C
Deuteranopia (green-blind)
#F9E68D
Tritanopia (blue-blind)
#BCF2DF
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #bafa86;
/* rgb */ color: rgb(186, 250, 134);
/* oklch */ color: oklch(91.7% 0.161 132.5);
Tailwind
colors: {
  custom: {
    50: '#d1fcab',
    500: '#bafa86',
    950: '#000000',
  },
}
SCSS
$custom: #bafa86;
$custom-light: #d1fcab;
$custom-dark: #000000;
JSON
{
  "hex": "#bafa86",
  "rgb": {
    "r": 186,
    "g": 250,
    "b": 134
  },
  "hsl": {
    "h": 93.103,
    "s": 92.063,
    "l": 75.294
  },
  "oklch": {
    "l": 0.91678,
    "c": 0.1606,
    "h": 132.5
  },
  "luminance": 0.80532
}

Semantic roles & 50–950 ramp

primary
#BAFA86
secondary
#994CD8
accent
#00E67F
background
#FEFFFD
surface
#FBFFF7
border
#D4D7D0
text
#141710
muted
#838581

Preview Lab

Preview with #BAFA86

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

Preview Lab → · Contrast checker → · Palette generator →

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