#BAF86F#BAF86F

#BAF86F is a very light, vivid yellow-green. Relative luminance 0.787; OKLCH L 90.9% C 0.179 H 129.7°. Best body text is #000000 at 16.74:1 contrast (WCAG AA passes).

Color values

HEX#BAF86F
RGBrgb(186, 248, 111)
HSLhsl(87, 91%, 70%)
HSVhsv(87, 55%, 97%)
CMYKcmyk(25%, 0%, 55.2%, 2.7%)
CIE-LABlab(91.11, -40.80, 58.64)
CIE-LCHlch(91.11, 71.44, 124.83°)
OKLaboklab(90.94% -0.1142 0.1378)
OKLCHoklch(90.94% 0.179 129.7)
XYZxyz(56.6859, 78.7203, 27.2438)
Luminance0.7872 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF86F #AD6FF8
analogous
#F8F16F #BAF86F #76F86F
triadic
#BAF86F #6FBAF8 #F86FBA
tetradic
#BAF86F #6FF8F1 #AD6FF8 #F86F76
square
#BAF86F #6FF8F1 #AD6FF8 #F86F76
split-complementary
#BAF86F #6F76F8 #F16FF8
monochromatic
#80E20B #9EF535 #BAF86F #D6FBA9 #F1FEE2

Accessibility & contrast

On white

1.25
#BAF86F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.74
#BAF86F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF86F
16.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF86F#FFFFFF#000000##000000
##BAF86F1.001.2516.7416.74
#FFFFFF1.251.0021.0021.00
#00000016.7421.001.001.00
##00000016.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE861
Deuteranopia (green-blind)
#FAE478
Tritanopia (blue-blind)
#BEEEDA
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #baf86f;
/* rgb */ color: rgb(186, 248, 111);
/* oklch */ color: oklch(90.9% 0.179 129.7);
Tailwind
colors: {
  custom: {
    50: '#d2fb9c',
    500: '#baf86f',
    950: '#000000',
  },
}
SCSS
$custom: #baf86f;
$custom-light: #d2fb9c;
$custom-dark: #000000;
JSON
{
  "hex": "#baf86f",
  "rgb": {
    "r": 186,
    "g": 248,
    "b": 111
  },
  "hsl": {
    "h": 87.153,
    "s": 90.728,
    "l": 70.392
  },
  "oklch": {
    "l": 0.90935,
    "c": 0.17897,
    "h": 129.7
  },
  "luminance": 0.78722
}

Semantic roles & 50–950 ramp

primary
#BAF86F
secondary
#7E38D3
accent
#00E668
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14170E
muted
#83857F

Preview Lab

Preview with #BAF86F

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

Preview Lab → · Contrast checker → · Palette generator →

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