#BAF286#BAF286

#BAF286 is a very light, vivid yellow-green. Relative luminance 0.757; OKLCH L 89.9% C 0.149 H 131.3°. Best body text is #000000 at 16.13:1 contrast (WCAG AA passes).

Color values

HEX#BAF286
RGBrgb(186, 242, 134)
HSLhsl(91, 81%, 74%)
HSVhsv(91, 45%, 95%)
CMYKcmyk(23.1%, 0%, 44.6%, 5.1%)
CIE-LABlab(89.70, -35.69, 46.31)
CIE-LCHlch(89.70, 58.47, 127.62°)
OKLaboklab(89.89% -0.0985 0.1122)
OKLCHoklch(89.89% 0.149 131.3)
XYZxyz(56.3041, 75.6633, 34.1877)
Luminance0.7567 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF286 #BE86F2
analogous
#F0F286 #BAF286 #86F288
triadic
#BAF286 #86BAF2 #F286BA
tetradic
#BAF286 #86F0F2 #BE86F2 #F28886
square
#BAF286 #86F0F2 #BE86F2 #F28886
split-complementary
#BAF286 #8886F2 #F286F0
monochromatic
#7BE519 #9AEC4F #BAF286 #DAF8BD #EFFCE3

Accessibility & contrast

On white

1.30
#BAF286 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.13
#BAF286 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF286
16.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF286#FFFFFF#000000##000000
##BAF2861.001.3016.1316.13
#FFFFFF1.301.0021.0021.00
#00000016.1321.001.001.00
##00000016.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE47D
Deuteranopia (green-blind)
#F2E08C
Tritanopia (blue-blind)
#BCEAD8
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #baf286;
/* rgb */ color: rgb(186, 242, 134);
/* oklch */ color: oklch(89.9% 0.149 131.3);
Tailwind
colors: {
  custom: {
    50: '#d1f6ab',
    500: '#baf286',
    950: '#000000',
  },
}
SCSS
$custom: #baf286;
$custom-light: #d1f6ab;
$custom-dark: #000000;
JSON
{
  "hex": "#baf286",
  "rgb": {
    "r": 186,
    "g": 242,
    "b": 134
  },
  "hsl": {
    "h": 91.111,
    "s": 80.597,
    "l": 73.725
  },
  "oklch": {
    "l": 0.89885,
    "c": 0.14932,
    "h": 131.3
  },
  "luminance": 0.75665
}

Semantic roles & 50–950 ramp

primary
#BAF286
secondary
#904ECE
accent
#09DD77
background
#FEFFFD
surface
#FBFEF7
border
#D4D6D0
text
#141710
muted
#838581

Preview Lab

Preview with #BAF286

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

Preview Lab → · Contrast checker → · Palette generator →

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