#5AF271#5AF271

#5AF271 is a very light, highly saturated green. Relative luminance 0.669; OKLCH L 85.2% C 0.215 H 146.0°. Best body text is #000000 at 14.37:1 contrast (WCAG AA passes).

Color values

HEX#5AF271
RGBrgb(90, 242, 113)
HSLhsl(129, 85%, 65%)
HSVhsv(129, 63%, 95%)
CMYKcmyk(62.8%, 0%, 53.3%, 5.1%)
CIE-LABlab(85.44, -65.85, 50.06)
CIE-LCHlch(85.44, 82.72, 142.76°)
OKLaboklab(85.23% -0.178 0.1199)
OKLCHoklch(85.23% 0.215 146)
XYZxyz(38.9466, 66.8663, 26.4736)
Luminance0.6687 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AF271 #F25ADB
analogous
#8FF25A #5AF271 #5AF2BD
triadic
#5AF271 #715AF2 #F2715A
tetradic
#5AF271 #5A8FF2 #F25ADB #F2BD5A
square
#5AF271 #5A8FF2 #F25ADB #F2BD5A
split-complementary
#5AF271 #BD5AF2 #F25A8F
monochromatic
#0FC22A #21EE40 #5AF271 #93F6A2 #CBFBD3

Accessibility & contrast

On white

1.46
#5AF271 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.37
#5AF271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5AF271
14.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AF271#FFFFFF#000000##000000
##5AF2711.001.4614.3714.37
#FFFFFF1.461.0021.0021.00
#00000014.3721.001.001.00
##00000014.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DD65
Deuteranopia (green-blind)
#E2D07B
Tritanopia (blue-blind)
#31EDD5
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #5af271;
/* rgb */ color: rgb(90, 242, 113);
/* oklch */ color: oklch(85.2% 0.215 146.0);
Tailwind
colors: {
  custom: {
    50: '#98f79d',
    500: '#5af271',
    950: '#000000',
  },
}
SCSS
$custom: #5af271;
$custom-light: #98f79d;
$custom-dark: #000000;
JSON
{
  "hex": "#5af271",
  "rgb": {
    "r": 90,
    "g": 242,
    "b": 113
  },
  "hsl": {
    "h": 129.079,
    "s": 85.393,
    "l": 65.098
  },
  "oklch": {
    "l": 0.85234,
    "c": 0.21457,
    "h": 146
  },
  "luminance": 0.6687
}

Semantic roles & 50–950 ramp

primary
#5AF271
secondary
#C030AA
accent
#04C0E2
background
#FCFFFC
surface
#F5FFF5
border
#CFD7CF
text
#0F170E
muted
#80857F

Preview Lab

Preview with #5AF271

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

Preview Lab → · Contrast checker → · Palette generator →

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