#5AC940#5AC940

#5AC940 is a light, highly saturated green. Relative luminance 0.443; OKLCH L 74.4% C 0.202 H 140.2°. Best body text is #000000 at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#5AC940
RGBrgb(90, 201, 64)
HSLhsl(109, 56%, 52%)
HSVhsv(109, 68%, 79%)
CMYKcmyk(55.2%, 0%, 68.2%, 21.2%)
CIE-LABlab(72.44, -56.51, 56.51)
CIE-LCHlch(72.44, 79.92, 135.00°)
OKLaboklab(74.36% -0.155 0.1293)
OKLCHoklch(74.36% 0.202 140.2)
XYZxyz(26.0274, 44.3149, 12.0316)
Luminance0.4432 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AC940 #AF40C9
analogous
#9FC940 #5AC940 #40C96B
triadic
#5AC940 #405AC9 #C9405A
tetradic
#5AC940 #409FC9 #AF40C9 #C96B40
square
#5AC940 #409FC9 #AF40C9 #C96B40
split-complementary
#5AC940 #6B40C9 #C9409F
monochromatic
#2F6F1F #439F2D #5AC940 #83D670 #ACE49F

Accessibility & contrast

On white

2.13
#5AC940 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.86
#5AC940 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5AC940
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AC940#FFFFFF#000000##000000
##5AC9401.002.139.869.86
#FFFFFF2.131.0021.0021.00
#0000009.8621.001.001.00
##0000009.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB72C
Deuteranopia (green-blind)
#C0AE4D
Tritanopia (blue-blind)
#4DC3AD
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #5ac940;
/* rgb */ color: rgb(90, 201, 64);
/* oklch */ color: oklch(74.4% 0.202 140.2);
Tailwind
colors: {
  custom: {
    50: '#93da7c',
    500: '#5ac940',
    950: '#000000',
  },
}
SCSS
$custom: #5ac940;
$custom-light: #93da7c;
$custom-dark: #000000;
JSON
{
  "hex": "#5ac940",
  "rgb": {
    "r": 90,
    "g": 201,
    "b": 64
  },
  "hsl": {
    "h": 108.613,
    "s": 55.918,
    "l": 51.961
  },
  "oklch": {
    "l": 0.7436,
    "c": 0.20182,
    "h": 140.2
  },
  "luminance": 0.44317
}

Semantic roles & 50–950 ramp

primary
#5AC940
secondary
#C594D0
accent
#49DFC3
background
#F9FDF7
surface
#F2FBEE
border
#CCD4C9
text
#0E150A
muted
#7E837C

Preview Lab

Preview with #5AC940

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

Preview Lab → · Contrast checker → · Palette generator →

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