#BAF587#BAF587

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

Color values

HEX#BAF587
RGBrgb(186, 245, 135)
HSLhsl(92, 85%, 75%)
HSVhsv(92, 45%, 96%)
CMYKcmyk(24.1%, 0%, 44.9%, 3.9%)
CIE-LABlab(90.55, -36.93, 46.89)
CIE-LCHlch(90.55, 59.69, 128.23°)
OKLaboklab(90.57% -0.1019 0.1136)
OKLCHoklch(90.57% 0.153 131.9)
XYZxyz(57.2744, 77.4918, 34.8568)
Luminance0.7749 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF587 #C287F5
analogous
#F1F587 #BAF587 #87F58B
triadic
#BAF587 #87BAF5 #F587BA
tetradic
#BAF587 #87F1F5 #C287F5 #F58B87
square
#BAF587 #87F1F5 #C287F5 #F58B87
split-complementary
#BAF587 #8B87F5 #F587F1
monochromatic
#79EC16 #9AF04F #BAF587 #DAFABF #EFFDE3

Accessibility & contrast

On white

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

On black

16.50
#BAF587 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF587
16.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF587#FFFFFF#000000##000000
##BAF5871.001.2716.5016.50
#FFFFFF1.271.0021.0021.00
#00000016.5021.001.001.00
##00000016.5021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #baf587;
/* rgb */ color: rgb(186, 245, 135);
/* oklch */ color: oklch(90.6% 0.153 131.9);
Tailwind
colors: {
  custom: {
    50: '#d1f8ac',
    500: '#baf587',
    950: '#000000',
  },
}
SCSS
$custom: #baf587;
$custom-light: #d1f8ac;
$custom-dark: #000000;
JSON
{
  "hex": "#baf587",
  "rgb": {
    "r": 186,
    "g": 245,
    "b": 135
  },
  "hsl": {
    "h": 92.182,
    "s": 84.615,
    "l": 74.51
  },
  "oklch": {
    "l": 0.90571,
    "c": 0.15258,
    "h": 131.9
  },
  "luminance": 0.77493
}

Semantic roles & 50–950 ramp

primary
#BAF587
secondary
#954ED2
accent
#04E17B
background
#FEFFFD
surface
#FBFFF7
border
#D4D7D0
text
#141710
muted
#838581

Preview Lab

Preview with #BAF587

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

Preview Lab → · Contrast checker → · Palette generator →

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