#40D17E#40D17E

#40D17E is a light, vivid green. Relative luminance 0.482; OKLCH L 76.5% C 0.171 H 153.7°. Best body text is #000000 at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#40D17E
RGBrgb(64, 209, 126)
HSLhsl(146, 61%, 54%)
HSVhsv(146, 69%, 82%)
CMYKcmyk(69.4%, 0%, 39.7%, 18%)
CIE-LABlab(74.95, -56.66, 30.34)
CIE-LCHlch(74.95, 64.27, 151.83°)
OKLaboklab(76.47% -0.1529 0.0755)
OKLCHoklch(76.47% 0.171 153.7)
XYZxyz(28.6782, 48.1941, 27.5256)
Luminance0.4820 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D17E #D14093
analogous
#4AD140 #40D17E #40D1C6
triadic
#40D17E #7E40D1 #D17E40
tetradic
#40D17E #404AD1 #D14093 #D1C640
square
#40D17E #404AD1 #D14093 #D1C640
split-complementary
#40D17E #C640D1 #D1404A
monochromatic
#1D7945 #29AB61 #40D17E #71DD9F #A3E9C1

Accessibility & contrast

On white

1.97
#40D17E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.64
#40D17E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D17E
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D17E#FFFFFF#000000##000000
##40D17E1.001.9710.6410.64
#FFFFFF1.971.0021.0021.00
#00000010.6421.001.001.00
##00000010.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1C078
Deuteranopia (green-blind)
#BFB384
Tritanopia (blue-blind)
#00CEBC
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #40d17e;
/* rgb */ color: rgb(64, 209, 126);
/* oklch */ color: oklch(76.5% 0.171 153.7);
Tailwind
colors: {
  custom: {
    50: '#87e0a4',
    500: '#40d17e',
    950: '#000000',
  },
}
SCSS
$custom: #40d17e;
$custom-light: #87e0a4;
$custom-dark: #000000;
JSON
{
  "hex": "#40d17e",
  "rgb": {
    "r": 64,
    "g": 209,
    "b": 126
  },
  "hsl": {
    "h": 145.655,
    "s": 61.181,
    "l": 53.529
  },
  "oklch": {
    "l": 0.76468,
    "c": 0.17053,
    "h": 153.7
  },
  "luminance": 0.48197
}

Semantic roles & 50–950 ramp

primary
#40D17E
secondary
#D597BB
accent
#44A0E4
background
#F8FDFA
surface
#F0FBF4
border
#CBD4CE
text
#0D150F
muted
#7D837F

Preview Lab

Preview with #40D17E

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

Preview Lab → · Contrast checker → · Palette generator →

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