#BAF577#BAF577

#BAF577 is a very light, vivid yellow-green. Relative luminance 0.771; OKLCH L 90.4% C 0.168 H 129.9°. Best body text is #000000 at 16.42:1 contrast (WCAG AA passes).

Color values

HEX#BAF577
RGBrgb(186, 245, 119)
HSLhsl(88, 86%, 71%)
HSVhsv(88, 51%, 96%)
CMYKcmyk(24.1%, 0%, 51.4%, 3.9%)
CIE-LABlab(90.36, -38.69, 54.16)
CIE-LCHlch(90.36, 66.56, 125.54°)
OKLaboklab(90.35% -0.1078 0.1287)
OKLCHoklch(90.35% 0.168 129.9)
XYZxyz(56.2313, 77.0746, 29.3635)
Luminance0.7708 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF577 #B277F5
analogous
#F5F177 #BAF577 #7BF577
triadic
#BAF577 #77BAF5 #F577BA
tetradic
#BAF577 #77F5F1 #B277F5 #F5777B
square
#BAF577 #77F5F1 #B277F5 #F5777B
split-complementary
#BAF577 #777BF5 #F177F5
monochromatic
#7FE111 #9DF13E #BAF577 #D7F9B0 #F1FDE2

Accessibility & contrast

On white

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

On black

16.42
#BAF577 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF577
16.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF577#FFFFFF#000000##000000
##BAF5771.001.2816.4216.42
#FFFFFF1.281.0021.0021.00
#00000016.4221.001.001.00
##00000016.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE66B
Deuteranopia (green-blind)
#F6E27F
Tritanopia (blue-blind)
#BEECD8
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #baf577;
/* rgb */ color: rgb(186, 245, 119);
/* oklch */ color: oklch(90.4% 0.168 129.9);
Tailwind
colors: {
  custom: {
    50: '#d1f8a1',
    500: '#baf577',
    950: '#000000',
  },
}
SCSS
$custom: #baf577;
$custom-light: #d1f8a1;
$custom-dark: #000000;
JSON
{
  "hex": "#baf577",
  "rgb": {
    "r": 186,
    "g": 245,
    "b": 119
  },
  "hsl": {
    "h": 88.095,
    "s": 86.301,
    "l": 71.373
  },
  "oklch": {
    "l": 0.90354,
    "c": 0.16787,
    "h": 129.9
  },
  "luminance": 0.77076
}

Semantic roles & 50–950 ramp

primary
#BAF577
secondary
#8440D0
accent
#03E36C
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14170F
muted
#838580

Preview Lab

Preview with #BAF577

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

Preview Lab → · Contrast checker → · Palette generator →

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