#40D582#40D582

#40D582 is a light, vivid green. Relative luminance 0.503; OKLCH L 77.6% C 0.172 H 154.2°. Best body text is #000000 at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#40D582
RGBrgb(64, 213, 130)
HSLhsl(147, 64%, 54%)
HSVhsv(147, 70%, 84%)
CMYKcmyk(70%, 0%, 39%, 16.5%)
CIE-LABlab(76.25, -57.42, 30.00)
CIE-LCHlch(76.25, 64.79, 152.41°)
OKLaboklab(77.56% -0.155 0.0748)
OKLCHoklch(77.56% 0.172 154.2)
XYZxyz(29.9352, 50.2868, 29.2435)
Luminance0.5029 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D582 #D54093
analogous
#49D540 #40D582 #40D5CC
triadic
#40D582 #8240D5 #D58240
tetradic
#40D582 #4049D5 #D54093 #D5CC40
square
#40D582 #4049D5 #D54093 #D5CC40
split-complementary
#40D582 #CC40D5 #D54049
monochromatic
#1C7F48 #27B164 #40D582 #72E0A3 #A4EBC4

Accessibility & contrast

On white

1.90
#40D582 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.06
#40D582 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D582
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D582#FFFFFF#000000##000000
##40D5821.001.9011.0611.06
#FFFFFF1.901.0021.0021.00
#00000011.0621.001.001.00
##00000011.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C47C
Deuteranopia (green-blind)
#C2B788
Tritanopia (blue-blind)
#00D3C0
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #40d582;
/* rgb */ color: rgb(64, 213, 130);
/* oklch */ color: oklch(77.6% 0.172 154.2);
Tailwind
colors: {
  custom: {
    50: '#87e3a7',
    500: '#40d582',
    950: '#000000',
  },
}
SCSS
$custom: #40d582;
$custom-light: #87e3a7;
$custom-dark: #000000;
JSON
{
  "hex": "#40d582",
  "rgb": {
    "r": 64,
    "g": 213,
    "b": 130
  },
  "hsl": {
    "h": 146.577,
    "s": 63.948,
    "l": 54.314
  },
  "oklch": {
    "l": 0.77559,
    "c": 0.17211,
    "h": 154.2
  },
  "luminance": 0.5029
}

Semantic roles & 50–950 ramp

primary
#40D582
secondary
#863361
accent
#419DE7
background
#FCFEFC
surface
#F4FCF6
border
#CED5D0
text
#0D160F
muted
#7F8480

Preview Lab

Preview with #40D582

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

Preview Lab → · Contrast checker → · Palette generator →

#40D582 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva