#40D586#40D586

#40D586 is a light, vivid green. Relative luminance 0.504; OKLCH L 77.6% C 0.169 H 155.4°. Best body text is #000000 at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#40D586
RGBrgb(64, 213, 134)
HSLhsl(148, 64%, 54%)
HSVhsv(148, 70%, 84%)
CMYKcmyk(70%, 0%, 37.1%, 16.5%)
CIE-LABlab(76.31, -56.68, 28.03)
CIE-LCHlch(76.31, 63.23, 153.68°)
OKLaboklab(77.64% -0.1532 0.0702)
OKLCHoklch(77.64% 0.169 155.4)
XYZxyz(30.2089, 50.3963, 30.6850)
Luminance0.5040 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D586 #D5408F
analogous
#45D540 #40D586 #40D5D0
triadic
#40D586 #8640D5 #D58640
tetradic
#40D586 #4045D5 #D5408F #D5D040
square
#40D586 #4045D5 #D5408F #D5D040
split-complementary
#40D586 #D040D5 #D54045
monochromatic
#1C7F4A #27B168 #40D586 #72E0A6 #A4EBC6

Accessibility & contrast

On white

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

On black

11.08
#40D586 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D586
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D586#FFFFFF#000000##000000
##40D5861.001.9011.0811.08
#FFFFFF1.901.0021.0021.00
#00000011.0821.001.001.00
##00000011.0821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40d586;
/* rgb */ color: rgb(64, 213, 134);
/* oklch */ color: oklch(77.6% 0.169 155.4);
Tailwind
colors: {
  custom: {
    50: '#87e3aa',
    500: '#40d586',
    950: '#000000',
  },
}
SCSS
$custom: #40d586;
$custom-light: #87e3aa;
$custom-dark: #000000;
JSON
{
  "hex": "#40d586",
  "rgb": {
    "r": 64,
    "g": 213,
    "b": 134
  },
  "hsl": {
    "h": 148.188,
    "s": 63.948,
    "l": 54.314
  },
  "oklch": {
    "l": 0.77636,
    "c": 0.16852,
    "h": 155.4
  },
  "luminance": 0.504
}

Semantic roles & 50–950 ramp

primary
#40D586
secondary
#86335F
accent
#4199E7
background
#FCFEFD
surface
#F4FCF7
border
#CED5D0
text
#0D1610
muted
#7F8481

Preview Lab

Preview with #40D586

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

Preview Lab → · Contrast checker → · Palette generator →

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