#BAFC77#BAFC77

#BAFC77 is a very light, vivid yellow-green. Relative luminance 0.814; OKLCH L 91.9% C 0.177 H 131.0°. Best body text is #000000 at 17.28:1 contrast (WCAG AA passes).

Color values

HEX#BAFC77
RGBrgb(186, 252, 119)
HSLhsl(90, 96%, 73%)
HSVhsv(90, 53%, 99%)
CMYKcmyk(26.2%, 0%, 52.8%, 1.2%)
CIE-LABlab(92.31, -41.79, 56.47)
CIE-LCHlch(92.31, 70.25, 126.50°)
OKLaboklab(91.93% -0.1164 0.1337)
OKLCHoklch(91.93% 0.177 131)
XYZxyz(58.3892, 81.3903, 30.0828)
Luminance0.8139 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAFC77 #B977FC
analogous
#FCFB77 #BAFC77 #78FC77
triadic
#BAFC77 #77BAFC #FC77BA
tetradic
#BAFC77 #77FCFB #B977FC #FC7778
square
#BAFC77 #77FCFB #B977FC #FC7778
split-complementary
#BAFC77 #7778FC #FB77FC
monochromatic
#7DF305 #9CFB3B #BAFC77 #D8FDB3 #F0FEE1

Accessibility & contrast

On white

1.22
#BAFC77 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.28
#BAFC77 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAFC77
17.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAFC77#FFFFFF#000000##000000
##BAFC771.001.2217.2817.28
#FFFFFF1.221.0021.0021.00
#00000017.2821.001.001.00
##00000017.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC6A
Deuteranopia (green-blind)
#FCE780
Tritanopia (blue-blind)
#BDF3DE
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #bafc77;
/* rgb */ color: rgb(186, 252, 119);
/* oklch */ color: oklch(91.9% 0.177 131.0);
Tailwind
colors: {
  custom: {
    50: '#d2fda1',
    500: '#bafc77',
    950: '#000000',
  },
}
SCSS
$custom: #bafc77;
$custom-light: #d2fda1;
$custom-dark: #000000;
JSON
{
  "hex": "#bafc77",
  "rgb": {
    "r": 186,
    "g": 252,
    "b": 119
  },
  "hsl": {
    "h": 89.774,
    "s": 95.683,
    "l": 72.745
  },
  "oklch": {
    "l": 0.91931,
    "c": 0.17729,
    "h": 131
  },
  "luminance": 0.81392
}

Semantic roles & 50–950 ramp

primary
#BAFC77
secondary
#8B3ED9
accent
#00E672
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14170F
muted
#838580

Preview Lab

Preview with #BAFC77

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

Preview Lab → · Contrast checker → · Palette generator →

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