#5ACC40#5ACC40

#5ACC40 is a light, highly saturated green. Relative luminance 0.457; OKLCH L 75.1% C 0.205 H 140.2°. Best body text is #000000 at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#5ACC40
RGBrgb(90, 204, 64)
HSLhsl(109, 58%, 53%)
HSVhsv(109, 69%, 80%)
CMYKcmyk(55.9%, 0%, 68.6%, 20%)
CIE-LABlab(73.37, -57.61, 57.49)
CIE-LCHlch(73.37, 81.39, 135.06°)
OKLaboklab(75.13% -0.1579 0.1314)
OKLCHoklch(75.13% 0.205 140.2)
XYZxyz(26.7335, 45.7273, 12.2670)
Luminance0.4573 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5ACC40 #B240CC
analogous
#A0CC40 #5ACC40 #40CC6C
triadic
#5ACC40 #405ACC #CC405A
tetradic
#5ACC40 #40A0CC #B240CC #CC6C40
square
#5ACC40 #40A0CC #B240CC #CC6C40
split-complementary
#5ACC40 #6C40CC #CC40A0
monochromatic
#2E731F #42A32C #5ACC40 #84D970 #ADE6A1

Accessibility & contrast

On white

2.07
#5ACC40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.15
#5ACC40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5ACC40
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5ACC40#FFFFFF#000000##000000
##5ACC401.002.0710.1510.15
#FFFFFF2.071.0021.0021.00
#00000010.1521.001.001.00
##00000010.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BA2B
Deuteranopia (green-blind)
#C3B14D
Tritanopia (blue-blind)
#4CC6B0
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #5acc40;
/* rgb */ color: rgb(90, 204, 64);
/* oklch */ color: oklch(75.1% 0.205 140.2);
Tailwind
colors: {
  custom: {
    50: '#94dc7c',
    500: '#5acc40',
    950: '#000000',
  },
}
SCSS
$custom: #5acc40;
$custom-light: #94dc7c;
$custom-dark: #000000;
JSON
{
  "hex": "#5acc40",
  "rgb": {
    "r": 90,
    "g": 204,
    "b": 64
  },
  "hsl": {
    "h": 108.857,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.75127,
    "c": 0.20542,
    "h": 140.2
  },
  "luminance": 0.4573
}

Semantic roles & 50–950 ramp

primary
#5ACC40
secondary
#C795D2
accent
#47E1C4
background
#F9FDF7
surface
#F2FBEE
border
#CCD4C9
text
#0E150A
muted
#7E837C

Preview Lab

Preview with #5ACC40

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

Preview Lab → · Contrast checker → · Palette generator →

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