#5AFA56#5AFA56

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

Color values

HEX#5AFA56
RGBrgb(90, 250, 86)
HSLhsl(119, 94%, 66%)
HSVhsv(119, 66%, 98%)
CMYKcmyk(64%, 0%, 65.6%, 2%)
CIE-LABlab(87.59, -71.56, 64.09)
CIE-LCHlch(87.59, 96.06, 138.15°)
OKLaboklab(86.93% -0.1945 0.1478)
OKLCHoklch(86.93% 0.244 142.8)
XYZxyz(40.0795, 71.2127, 20.4355)
Luminance0.7122 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AFA56 #F656FA
analogous
#ACFA56 #5AFA56 #56FAA4
triadic
#5AFA56 #565AFA #FA565A
tetradic
#5AFA56 #56ACFA #F656FA #FAA456
square
#5AFA56 #56ACFA #F656FA #FAA456
split-complementary
#5AFA56 #A456FA #FA56AC
monochromatic
#0BCF06 #20F81B #5AFA56 #94FC91 #CEFECD

Accessibility & contrast

On white

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

On black

15.24
#5AFA56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5AFA56
15.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AFA56#FFFFFF#000000##000000
##5AFA561.001.3815.2415.24
#FFFFFF1.381.0021.0021.00
#00000015.2421.001.001.00
##00000015.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE440
Deuteranopia (green-blind)
#ECD665
Tritanopia (blue-blind)
#37F3D8
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #5afa56;
/* rgb */ color: rgb(90, 250, 86);
/* oklch */ color: oklch(86.9% 0.244 142.8);
Tailwind
colors: {
  custom: {
    50: '#9afd8d',
    500: '#5afa56',
    950: '#000000',
  },
}
SCSS
$custom: #5afa56;
$custom-light: #9afd8d;
$custom-dark: #000000;
JSON
{
  "hex": "#5afa56",
  "rgb": {
    "r": 90,
    "g": 250,
    "b": 86
  },
  "hsl": {
    "h": 118.537,
    "s": 94.253,
    "l": 65.882
  },
  "oklch": {
    "l": 0.8693,
    "c": 0.24428,
    "h": 142.8
  },
  "luminance": 0.71217
}

Semantic roles & 50–950 ramp

primary
#5AFA56
secondary
#C72ACB
accent
#00E6E0
background
#FCFFFC
surface
#F6FFF4
border
#D0D7CE
text
#10180D
muted
#80867F

Preview Lab

Preview with #5AFA56

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

Preview Lab → · Contrast checker → · Palette generator →

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