#5AF257#5AF257

#5AF257 is a very light, highly saturated green. Relative luminance 0.664; OKLCH L 84.9% C 0.234 H 142.9°. Best body text is #000000 at 14.27:1 contrast (WCAG AA passes).

Color values

HEX#5AF257
RGBrgb(90, 242, 87)
HSLhsl(119, 86%, 65%)
HSVhsv(119, 64%, 95%)
CMYKcmyk(62.8%, 0%, 64%, 5.1%)
CIE-LABlab(85.18, -68.80, 61.07)
CIE-LCHlch(85.18, 91.99, 138.41°)
OKLaboklab(84.94% -0.187 0.1415)
OKLCHoklch(84.94% 0.234 142.9)
XYZxyz(37.6867, 66.3623, 19.8381)
Luminance0.6637 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AF257 #EF57F2
analogous
#A7F257 #5AF257 #57F2A2
triadic
#5AF257 #575AF2 #F2575A
tetradic
#5AF257 #57A7F2 #EF57F2 #F2A257
square
#5AF257 #57A7F2 #EF57F2 #F2A257
split-complementary
#5AF257 #A257F2 #F257A7
monochromatic
#12C00F #22EE1E #5AF257 #92F690 #CAFBC9

Accessibility & contrast

On white

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

On black

14.27
#5AF257 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5AF257
14.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AF257#FFFFFF#000000##000000
##5AF2571.001.4714.2714.27
#FFFFFF1.471.0021.0021.00
#00000014.2721.001.001.00
##00000014.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7DC44
Deuteranopia (green-blind)
#E5D065
Tritanopia (blue-blind)
#3BEBD2
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #5af257;
/* rgb */ color: rgb(90, 242, 87);
/* oklch */ color: oklch(84.9% 0.234 142.9);
Tailwind
colors: {
  custom: {
    50: '#99f78c',
    500: '#5af257',
    950: '#000000',
  },
}
SCSS
$custom: #5af257;
$custom-light: #99f78c;
$custom-dark: #000000;
JSON
{
  "hex": "#5af257",
  "rgb": {
    "r": 90,
    "g": 242,
    "b": 87
  },
  "hsl": {
    "h": 118.839,
    "s": 85.635,
    "l": 64.51
  },
  "oklch": {
    "l": 0.84941,
    "c": 0.23448,
    "h": 142.9
  },
  "luminance": 0.66366
}

Semantic roles & 50–950 ramp

primary
#5AF257
secondary
#BB30BE
accent
#03E2DE
background
#FCFFFC
surface
#F6FFF4
border
#D0D7CE
text
#0F170D
muted
#80857F

Preview Lab

Preview with #5AF257

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

Preview Lab → · Contrast checker → · Palette generator →

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