#BAF586#BAF586

#BAF586 is a very light, vivid yellow-green. Relative luminance 0.775; OKLCH L 90.6% C 0.154 H 131.8°. Best body text is #000000 at 16.49:1 contrast (WCAG AA passes).

Color values

HEX#BAF586
RGBrgb(186, 245, 134)
HSLhsl(92, 85%, 74%)
HSVhsv(92, 45%, 96%)
CMYKcmyk(24.1%, 0%, 45.3%, 3.9%)
CIE-LABlab(90.53, -37.05, 47.35)
CIE-LCHlch(90.53, 60.12, 128.04°)
OKLaboklab(90.56% -0.1023 0.1146)
OKLCHoklch(90.56% 0.154 131.8)
XYZxyz(57.2043, 77.4638, 34.4878)
Luminance0.7746 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF586 #C186F5
analogous
#F2F586 #BAF586 #86F58A
triadic
#BAF586 #86BAF5 #F586BA
tetradic
#BAF586 #86F2F5 #C186F5 #F58A86
square
#BAF586 #86F2F5 #C186F5 #F58A86
split-complementary
#BAF586 #8A86F5 #F586F2
monochromatic
#7AEC15 #9AF04D #BAF586 #DAFABF #EFFDE3

Accessibility & contrast

On white

1.27
#BAF586 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.49
#BAF586 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF586
16.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF586#FFFFFF#000000##000000
##BAF5861.001.2716.4916.49
#FFFFFF1.271.0021.0021.00
#00000016.4921.001.001.00
##00000016.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE77D
Deuteranopia (green-blind)
#F5E28D
Tritanopia (blue-blind)
#BCEDDB
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #baf586;
/* rgb */ color: rgb(186, 245, 134);
/* oklch */ color: oklch(90.6% 0.154 131.8);
Tailwind
colors: {
  custom: {
    50: '#d1f8ab',
    500: '#baf586',
    950: '#000000',
  },
}
SCSS
$custom: #baf586;
$custom-light: #d1f8ab;
$custom-dark: #000000;
JSON
{
  "hex": "#baf586",
  "rgb": {
    "r": 186,
    "g": 245,
    "b": 134
  },
  "hsl": {
    "h": 91.892,
    "s": 84.733,
    "l": 74.314
  },
  "oklch": {
    "l": 0.90556,
    "c": 0.15357,
    "h": 131.8
  },
  "luminance": 0.77465
}

Semantic roles & 50–950 ramp

primary
#BAF586
secondary
#944ED2
accent
#04E17A
background
#FEFFFD
surface
#FBFFF7
border
#D4D7D0
text
#141710
muted
#838581

Preview Lab

Preview with #BAF586

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

Preview Lab → · Contrast checker → · Palette generator →

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