#BAF588#BAF588

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

Color values

HEX#BAF588
RGBrgb(186, 245, 136)
HSLhsl(92, 84%, 75%)
HSVhsv(92, 44%, 96%)
CMYKcmyk(24.1%, 0%, 44.5%, 3.9%)
CIE-LABlab(90.56, -36.82, 46.42)
CIE-LCHlch(90.56, 59.25, 128.42°)
OKLaboklab(90.59% -0.1015 0.1126)
OKLCHoklch(90.59% 0.152 132)
XYZxyz(57.3451, 77.5201, 35.2294)
Luminance0.7752 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF588 #C388F5
analogous
#F1F588 #BAF588 #88F58D
triadic
#BAF588 #88BAF5 #F588BA
tetradic
#BAF588 #88F1F5 #C388F5 #F58D88
square
#BAF588 #88F1F5 #C388F5 #F58D88
split-complementary
#BAF588 #8D88F5 #F588F1
monochromatic
#79EC17 #99F050 #BAF588 #DBFAC0 #EFFDE3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAF588#FFFFFF#000000##000000
##BAF5881.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)
#FDE77F
Deuteranopia (green-blind)
#F5E28E
Tritanopia (blue-blind)
#BCEDDB
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #baf588;
/* rgb */ color: rgb(186, 245, 136);
/* oklch */ color: oklch(90.6% 0.152 132.0);
Tailwind
colors: {
  custom: {
    50: '#d1f8ac',
    500: '#baf588',
    950: '#000000',
  },
}
SCSS
$custom: #baf588;
$custom-light: #d1f8ac;
$custom-dark: #000000;
JSON
{
  "hex": "#baf588",
  "rgb": {
    "r": 186,
    "g": 245,
    "b": 136
  },
  "hsl": {
    "h": 92.477,
    "s": 84.496,
    "l": 74.706
  },
  "oklch": {
    "l": 0.90586,
    "c": 0.15158,
    "h": 132
  },
  "luminance": 0.77521
}

Semantic roles & 50–950 ramp

primary
#BAF588
secondary
#964FD2
accent
#05E17C
background
#FEFFFD
surface
#FBFFF7
border
#D4D7D0
text
#141710
muted
#838581

Preview Lab

Preview with #BAF588

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

Preview Lab → · Contrast checker → · Palette generator →

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