#5AFA57#5AFA57

#5AFA57 is a very light, highly saturated green. Relative luminance 0.712; OKLCH L 86.9% C 0.244 H 142.9°. Best body text is #000000 at 15.25:1 contrast (WCAG AA passes).

Color values

HEX#5AFA57
RGBrgb(90, 250, 87)
HSLhsl(119, 94%, 66%)
HSVhsv(119, 65%, 98%)
CMYKcmyk(64%, 0%, 65.2%, 2%)
CIE-LABlab(87.60, -71.47, 63.71)
CIE-LCHlch(87.60, 95.74, 138.28°)
OKLaboklab(86.94% -0.1942 0.1471)
OKLCHoklch(86.94% 0.244 142.9)
XYZxyz(40.1201, 71.2289, 20.6492)
Luminance0.7123 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AFA57 #F757FA
analogous
#ABFA57 #5AFA57 #57FAA5
triadic
#5AFA57 #575AFA #FA575A
tetradic
#5AFA57 #57ABFA #F757FA #FAA557
square
#5AFA57 #57ABFA #F757FA #FAA557
split-complementary
#5AFA57 #A557FA #FA57AB
monochromatic
#0AD006 #20F81C #5AFA57 #94FC92 #CFFECE

Accessibility & contrast

On white

1.38
#5AFA57 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.25
#5AFA57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5AFA57
15.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AFA57#FFFFFF#000000##000000
##5AFA571.001.3815.2515.25
#FFFFFF1.381.0021.0021.00
#00000015.2521.001.001.00
##00000015.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE442
Deuteranopia (green-blind)
#ECD766
Tritanopia (blue-blind)
#37F3D9
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #5afa57;
/* rgb */ color: rgb(90, 250, 87);
/* oklch */ color: oklch(86.9% 0.244 142.9);
Tailwind
colors: {
  custom: {
    50: '#9afd8d',
    500: '#5afa57',
    950: '#000000',
  },
}
SCSS
$custom: #5afa57;
$custom-light: #9afd8d;
$custom-dark: #000000;
JSON
{
  "hex": "#5afa57",
  "rgb": {
    "r": 90,
    "g": 250,
    "b": 87
  },
  "hsl": {
    "h": 118.896,
    "s": 94.22,
    "l": 66.078
  },
  "oklch": {
    "l": 0.86939,
    "c": 0.24361,
    "h": 142.9
  },
  "luminance": 0.71233
}

Semantic roles & 50–950 ramp

primary
#5AFA57
secondary
#C82ACB
accent
#00E6E1
background
#FCFFFC
surface
#F6FFF4
border
#D0D7CE
text
#10180D
muted
#80867F

Preview Lab

Preview with #5AFA57

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

Preview Lab → · Contrast checker → · Palette generator →

#5AFA57 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva