#40D588#40D588

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

Color values

HEX#40D588
RGBrgb(64, 213, 136)
HSLhsl(149, 64%, 54%)
HSVhsv(149, 70%, 84%)
CMYKcmyk(70%, 0%, 36.2%, 16.5%)
CIE-LABlab(76.35, -56.29, 27.04)
CIE-LCHlch(76.35, 62.45, 154.34°)
OKLaboklab(77.68% -0.1523 0.0678)
OKLCHoklch(77.68% 0.167 156)
XYZxyz(30.3497, 50.4526, 31.4266)
Luminance0.5046 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D588 #D5408D
analogous
#43D540 #40D588 #40D5D2
triadic
#40D588 #8840D5 #D58840
tetradic
#40D588 #4043D5 #D5408D #D5D240
square
#40D588 #4043D5 #D5408D #D5D240
split-complementary
#40D588 #D240D5 #D54043
monochromatic
#1C7F4C #27B16A #40D588 #72E0A7 #A4EBC7

Accessibility & contrast

On white

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

On black

11.09
#40D588 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D588
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D588#FFFFFF#000000##000000
##40D5881.001.8911.0911.09
#FFFFFF1.891.0021.0021.00
#00000011.0921.001.001.00
##00000011.0921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40d588;
/* rgb */ color: rgb(64, 213, 136);
/* oklch */ color: oklch(77.7% 0.167 156.0);
Tailwind
colors: {
  custom: {
    50: '#87e3ab',
    500: '#40d588',
    950: '#000000',
  },
}
SCSS
$custom: #40d588;
$custom-light: #87e3ab;
$custom-dark: #000000;
JSON
{
  "hex": "#40d588",
  "rgb": {
    "r": 64,
    "g": 213,
    "b": 136
  },
  "hsl": {
    "h": 148.993,
    "s": 63.948,
    "l": 54.314
  },
  "oklch": {
    "l": 0.77675,
    "c": 0.16673,
    "h": 156
  },
  "luminance": 0.50456
}

Semantic roles & 50–950 ramp

primary
#40D588
secondary
#86335E
accent
#4197E7
background
#FCFEFD
surface
#F4FCF7
border
#CED5D0
text
#0D1610
muted
#7F8481

Preview Lab

Preview with #40D588

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

Preview Lab → · Contrast checker → · Palette generator →

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