#BAF580#BAF580

#BAF580 is a very light, vivid yellow-green. Relative luminance 0.773; OKLCH L 90.5% C 0.159 H 131.0°. Best body text is #000000 at 16.46:1 contrast (WCAG AA passes).

Color values

HEX#BAF580
RGBrgb(186, 245, 128)
HSLhsl(90, 85%, 73%)
HSVhsv(90, 48%, 96%)
CMYKcmyk(24.1%, 0%, 47.8%, 3.9%)
CIE-LABlab(90.46, -37.73, 50.10)
CIE-LCHlch(90.46, 62.72, 126.98°)
OKLaboklab(90.47% -0.1045 0.1204)
OKLCHoklch(90.47% 0.159 131)
XYZxyz(56.7976, 77.3011, 32.3461)
Luminance0.7730 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF580 #BB80F5
analogous
#F5F580 #BAF580 #80F580
triadic
#BAF580 #80BAF5 #F580BA
tetradic
#BAF580 #80F5F5 #BB80F5 #F58080
square
#BAF580 #80F5F5 #BB80F5 #F58080
split-complementary
#BAF580 #8080F5 #F580F5
monochromatic
#7CE812 #9BF147 #BAF580 #D9F9B9 #F0FDE3

Accessibility & contrast

On white

1.28
#BAF580 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.46
#BAF580 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF580
16.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF580#FFFFFF#000000##000000
##BAF5801.001.2816.4616.46
#FFFFFF1.281.0021.0021.00
#00000016.4621.001.001.00
##00000016.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE776
Deuteranopia (green-blind)
#F5E287
Tritanopia (blue-blind)
#BDEDDA
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #baf580;
/* rgb */ color: rgb(186, 245, 128);
/* oklch */ color: oklch(90.5% 0.159 131.0);
Tailwind
colors: {
  custom: {
    50: '#d1f8a7',
    500: '#baf580',
    950: '#000000',
  },
}
SCSS
$custom: #baf580;
$custom-light: #d1f8a7;
$custom-dark: #000000;
JSON
{
  "hex": "#baf580",
  "rgb": {
    "r": 186,
    "g": 245,
    "b": 128
  },
  "hsl": {
    "h": 90.256,
    "s": 85.401,
    "l": 73.137
  },
  "oklch": {
    "l": 0.90472,
    "c": 0.15942,
    "h": 131
  },
  "luminance": 0.77302
}

Semantic roles & 50–950 ramp

primary
#BAF580
secondary
#8D48D1
accent
#04E274
background
#FEFFFC
surface
#FBFFF6
border
#D4D7D0
text
#141710
muted
#838580

Preview Lab

Preview with #BAF580

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

Preview Lab → · Contrast checker → · Palette generator →

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