#BAF86A#BAF86A

#BAF86A is a very light, vivid yellow-green. Relative luminance 0.786; OKLCH L 90.9% C 0.183 H 129.2°. Best body text is #000000 at 16.72:1 contrast (WCAG AA passes).

Color values

HEX#BAF86A
RGBrgb(186, 248, 106)
HSLhsl(86, 91%, 69%)
HSVhsv(86, 57%, 97%)
CMYKcmyk(25%, 0%, 57.3%, 2.7%)
CIE-LABlab(91.06, -41.25, 60.77)
CIE-LCHlch(91.06, 73.45, 124.17°)
OKLaboklab(90.88% -0.1159 0.1419)
OKLCHoklch(90.88% 0.183 129.2)
XYZxyz(56.4182, 78.6132, 25.8343)
Luminance0.7862 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF86A #A86AF8
analogous
#F8EF6A #BAF86A #73F86A
triadic
#BAF86A #6ABAF8 #F86ABA
tetradic
#BAF86A #6AF8EF #A86AF8 #F86A73
square
#BAF86A #6AF8EF #A86AF8 #F86A73
split-complementary
#BAF86A #6A73F8 #EF6AF8
monochromatic
#81DD0A #9FF530 #BAF86A #D5FBA4 #F0FDDF

Accessibility & contrast

On white

1.26
#BAF86A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.72
#BAF86A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF86A
16.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF86A#FFFFFF#000000##000000
##BAF86A1.001.2616.7216.72
#FFFFFF1.261.0021.0021.00
#00000016.7221.001.001.00
##00000016.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE85B
Deuteranopia (green-blind)
#FAE474
Tritanopia (blue-blind)
#BFEED9
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #baf86a;
/* rgb */ color: rgb(186, 248, 106);
/* oklch */ color: oklch(90.9% 0.183 129.2);
Tailwind
colors: {
  custom: {
    50: '#d2fb99',
    500: '#baf86a',
    950: '#000000',
  },
}
SCSS
$custom: #baf86a;
$custom-light: #d2fb99;
$custom-dark: #000000;
JSON
{
  "hex": "#baf86a",
  "rgb": {
    "r": 186,
    "g": 248,
    "b": 106
  },
  "hsl": {
    "h": 86.197,
    "s": 91.026,
    "l": 69.412
  },
  "oklch": {
    "l": 0.9088,
    "c": 0.18319,
    "h": 129.2
  },
  "luminance": 0.78615
}

Semantic roles & 50–950 ramp

primary
#BAF86A
secondary
#7934D2
accent
#00E664
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14170E
muted
#83857F

Preview Lab

Preview with #BAF86A

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

Preview Lab → · Contrast checker → · Palette generator →

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