#BAF986#BAF986

#BAF986 is a very light, vivid yellow-green. Relative luminance 0.799; OKLCH L 91.5% C 0.159 H 132.3°. Best body text is #000000 at 16.98:1 contrast (WCAG AA passes).

Color values

HEX#BAF986
RGBrgb(186, 249, 134)
HSLhsl(93, 91%, 75%)
HSVhsv(93, 46%, 98%)
CMYKcmyk(25.3%, 0%, 46.2%, 2.4%)
CIE-LABlab(91.64, -38.85, 48.73)
CIE-LCHlch(91.64, 62.32, 128.56°)
OKLaboklab(91.45% -0.1072 0.1177)
OKLCHoklch(91.45% 0.159 132.3)
XYZxyz(58.4275, 79.9102, 34.8955)
Luminance0.7991 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF986 #C586F9
analogous
#F3F986 #BAF986 #86F98C
triadic
#BAF986 #86BAF9 #F986BA
tetradic
#BAF986 #86F3F9 #C586F9 #F98C86
square
#BAF986 #86F3F9 #C586F9 #F98C86
split-complementary
#BAF986 #8C86F9 #F986F3
monochromatic
#77F311 #99F64C #BAF986 #DBFCC0 #EEFEE2

Accessibility & contrast

On white

1.24
#BAF986 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.98
#BAF986 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF986
16.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF986#FFFFFF#000000##000000
##BAF9861.001.2416.9816.98
#FFFFFF1.241.0021.0021.00
#00000016.9821.001.001.00
##00000016.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA7C
Deuteranopia (green-blind)
#F8E58D
Tritanopia (blue-blind)
#BCF1DE
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #baf986;
/* rgb */ color: rgb(186, 249, 134);
/* oklch */ color: oklch(91.5% 0.159 132.3);
Tailwind
colors: {
  custom: {
    50: '#d1fbab',
    500: '#baf986',
    950: '#000000',
  },
}
SCSS
$custom: #baf986;
$custom-light: #d1fbab;
$custom-dark: #000000;
JSON
{
  "hex": "#baf986",
  "rgb": {
    "r": 186,
    "g": 249,
    "b": 134
  },
  "hsl": {
    "h": 92.87,
    "s": 90.551,
    "l": 75.098
  },
  "oklch": {
    "l": 0.91453,
    "c": 0.1592,
    "h": 132.3
  },
  "luminance": 0.79912
}

Semantic roles & 50–950 ramp

primary
#BAF986
secondary
#984CD7
accent
#00E67E
background
#FEFFFD
surface
#FBFFF7
border
#D4D7D0
text
#141710
muted
#838581

Preview Lab

Preview with #BAF986

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

Preview Lab → · Contrast checker → · Palette generator →

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