#40D17D#40D17D

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

Color values

HEX#40D17D
RGBrgb(64, 209, 125)
HSLhsl(145, 61%, 54%)
HSVhsv(145, 69%, 82%)
CMYKcmyk(69.4%, 0%, 40.2%, 18%)
CIE-LABlab(74.93, -56.84, 30.84)
CIE-LCHlch(74.93, 64.66, 151.52°)
OKLaboklab(76.45% -0.1533 0.0767)
OKLCHoklch(76.45% 0.171 153.4)
XYZxyz(28.6140, 48.1684, 27.1875)
Luminance0.4817 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D17D #D14094
analogous
#4BD140 #40D17D #40D1C5
triadic
#40D17D #7D40D1 #D17D40
tetradic
#40D17D #404BD1 #D14094 #D1C540
square
#40D17D #404BD1 #D14094 #D1C540
split-complementary
#40D17D #C540D1 #D1404B
monochromatic
#1D7944 #29AB60 #40D17D #71DD9F #A3E9C0

Accessibility & contrast

On white

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

On black

10.63
#40D17D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D17D
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D17D#FFFFFF#000000##000000
##40D17D1.001.9710.6310.63
#FFFFFF1.971.0021.0021.00
#00000010.6321.001.001.00
##00000010.6321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40d17d;
/* rgb */ color: rgb(64, 209, 125);
/* oklch */ color: oklch(76.4% 0.171 153.4);
Tailwind
colors: {
  custom: {
    50: '#87e0a3',
    500: '#40d17d',
    950: '#000000',
  },
}
SCSS
$custom: #40d17d;
$custom-light: #87e0a3;
$custom-dark: #000000;
JSON
{
  "hex": "#40d17d",
  "rgb": {
    "r": 64,
    "g": 209,
    "b": 125
  },
  "hsl": {
    "h": 145.241,
    "s": 61.181,
    "l": 53.529
  },
  "oklch": {
    "l": 0.76449,
    "c": 0.17144,
    "h": 153.4
  },
  "luminance": 0.48172
}

Semantic roles & 50–950 ramp

primary
#40D17D
secondary
#D597BB
accent
#44A1E4
background
#F9FDFA
surface
#F1FBF4
border
#CBD4CE
text
#0D150F
muted
#7E837F

Preview Lab

Preview with #40D17D

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

Preview Lab → · Contrast checker → · Palette generator →

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