#40D589#40D589

#40D589 is a light, vivid green. Relative luminance 0.505; OKLCH L 77.7% C 0.166 H 156.3°. Best body text is #000000 at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#40D589
RGBrgb(64, 213, 137)
HSLhsl(149, 64%, 54%)
HSVhsv(149, 70%, 84%)
CMYKcmyk(70%, 0%, 35.7%, 16.5%)
CIE-LABlab(76.36, -56.10, 26.55)
CIE-LCHlch(76.36, 62.07, 154.67°)
OKLaboklab(77.7% -0.1519 0.0667)
OKLCHoklch(77.7% 0.166 156.3)
XYZxyz(30.4211, 50.4812, 31.8027)
Luminance0.5049 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D589 #D5408C
analogous
#42D540 #40D589 #40D5D3
triadic
#40D589 #8940D5 #D58940
tetradic
#40D589 #4042D5 #D5408C #D5D340
square
#40D589 #4042D5 #D5408C #D5D340
split-complementary
#40D589 #D340D5 #D54042
monochromatic
#1C7F4C #27B16B #40D589 #72E0A8 #A4EBC7

Accessibility & contrast

On white

1.89
#40D589 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.10
#40D589 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D589
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D589#FFFFFF#000000##000000
##40D5891.001.8911.1011.10
#FFFFFF1.891.0021.0021.00
#00000011.1021.001.001.00
##00000011.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C484
Deuteranopia (green-blind)
#C1B78E
Tritanopia (blue-blind)
#00D3C1
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #40d589;
/* rgb */ color: rgb(64, 213, 137);
/* oklch */ color: oklch(77.7% 0.166 156.3);
Tailwind
colors: {
  custom: {
    50: '#87e3ac',
    500: '#40d589',
    950: '#000000',
  },
}
SCSS
$custom: #40d589;
$custom-light: #87e3ac;
$custom-dark: #000000;
JSON
{
  "hex": "#40d589",
  "rgb": {
    "r": 64,
    "g": 213,
    "b": 137
  },
  "hsl": {
    "h": 149.396,
    "s": 63.948,
    "l": 54.314
  },
  "oklch": {
    "l": 0.77695,
    "c": 0.16584,
    "h": 156.3
  },
  "luminance": 0.50485
}

Semantic roles & 50–950 ramp

primary
#40D589
secondary
#86335D
accent
#4196E7
background
#FCFEFD
surface
#F4FCF7
border
#CED5D0
text
#0D1610
muted
#7F8481

Preview Lab

Preview with #40D589

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

Preview Lab → · Contrast checker → · Palette generator →

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