#5AF170#5AF170

#5AF170 is a very light, highly saturated green. Relative luminance 0.663; OKLCH L 85.0% C 0.214 H 145.9°. Best body text is #000000 at 14.25:1 contrast (WCAG AA passes).

Color values

HEX#5AF170
RGBrgb(90, 241, 112)
HSLhsl(129, 84%, 65%)
HSVhsv(129, 63%, 95%)
CMYKcmyk(62.7%, 0%, 53.5%, 5.5%)
CIE-LABlab(85.12, -65.63, 50.14)
CIE-LCHlch(85.12, 82.59, 142.62°)
OKLaboklab(84.97% -0.1774 0.12)
OKLCHoklch(84.97% 0.214 145.9)
XYZxyz(38.5938, 66.2502, 26.0798)
Luminance0.6625 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AF170 #F15ADB
analogous
#8FF15A #5AF170 #5AF1BC
triadic
#5AF170 #705AF1 #F1705A
tetradic
#5AF170 #5A8FF1 #F15ADB #F1BC5A
square
#5AF170 #5A8FF1 #F15ADB #F1BC5A
split-complementary
#5AF170 #BC5AF1 #F15A8F
monochromatic
#10C02A #22EC3F #5AF170 #92F6A1 #CBFBD2

Accessibility & contrast

On white

1.47
#5AF170 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.25
#5AF170 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5AF170
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AF170#FFFFFF#000000##000000
##5AF1701.001.4714.2514.25
#FFFFFF1.471.0021.0021.00
#00000014.2521.001.001.00
##00000014.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DD64
Deuteranopia (green-blind)
#E2D07A
Tritanopia (blue-blind)
#32EBD4
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #5af170;
/* rgb */ color: rgb(90, 241, 112);
/* oklch */ color: oklch(85.0% 0.214 145.9);
Tailwind
colors: {
  custom: {
    50: '#98f79c',
    500: '#5af170',
    950: '#000000',
  },
}
SCSS
$custom: #5af170;
$custom-light: #98f79c;
$custom-dark: #000000;
JSON
{
  "hex": "#5af170",
  "rgb": {
    "r": 90,
    "g": 241,
    "b": 112
  },
  "hsl": {
    "h": 128.742,
    "s": 84.358,
    "l": 64.902
  },
  "oklch": {
    "l": 0.84973,
    "c": 0.21417,
    "h": 145.9
  },
  "luminance": 0.66254
}

Semantic roles & 50–950 ramp

primary
#5AF170
secondary
#BE31AA
accent
#05C1E1
background
#FCFFFC
surface
#F5FFF5
border
#CFD7CF
text
#0F170E
muted
#80857F

Preview Lab

Preview with #5AF170

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

Preview Lab → · Contrast checker → · Palette generator →

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