#BAF686#BAF686

#BAF686 is a very light, vivid yellow-green. Relative luminance 0.781; OKLCH L 90.8% C 0.155 H 131.9°. Best body text is #000000 at 16.61:1 contrast (WCAG AA passes).

Color values

HEX#BAF686
RGBrgb(186, 246, 134)
HSLhsl(92, 86%, 75%)
HSVhsv(92, 46%, 96%)
CMYKcmyk(24.4%, 0%, 45.5%, 3.5%)
CIE-LABlab(90.81, -37.50, 47.69)
CIE-LCHlch(90.81, 60.67, 128.18°)
OKLaboklab(90.78% -0.1035 0.1153)
OKLCHoklch(90.78% 0.155 131.9)
XYZxyz(57.5076, 78.0704, 34.5889)
Luminance0.7807 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF686 #C286F6
analogous
#F2F686 #BAF686 #86F68A
triadic
#BAF686 #86BAF6 #F686BA
tetradic
#BAF686 #86F2F6 #C286F6 #F68A86
square
#BAF686 #86F2F6 #C286F6 #F68A86
split-complementary
#BAF686 #8A86F6 #F686F2
monochromatic
#79EE14 #9AF24D #BAF686 #DAFABF #EFFDE3

Accessibility & contrast

On white

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

On black

16.61
#BAF686 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF686
16.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF686#FFFFFF#000000##000000
##BAF6861.001.2616.6116.61
#FFFFFF1.261.0021.0021.00
#00000016.6121.001.001.00
##00000016.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE87D
Deuteranopia (green-blind)
#F6E38D
Tritanopia (blue-blind)
#BCEEDB
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #baf686;
/* rgb */ color: rgb(186, 246, 134);
/* oklch */ color: oklch(90.8% 0.155 131.9);
Tailwind
colors: {
  custom: {
    50: '#d1f9ab',
    500: '#baf686',
    950: '#000000',
  },
}
SCSS
$custom: #baf686;
$custom-light: #d1f9ab;
$custom-dark: #000000;
JSON
{
  "hex": "#baf686",
  "rgb": {
    "r": 186,
    "g": 246,
    "b": 134
  },
  "hsl": {
    "h": 92.143,
    "s": 86.154,
    "l": 74.51
  },
  "oklch": {
    "l": 0.90781,
    "c": 0.15498,
    "h": 131.9
  },
  "luminance": 0.78072
}

Semantic roles & 50–950 ramp

primary
#BAF686
secondary
#954DD3
accent
#03E37B
background
#FEFFFD
surface
#FBFFF7
border
#D4D7D0
text
#141710
muted
#838581

Preview Lab

Preview with #BAF686

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

Preview Lab → · Contrast checker → · Palette generator →

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