#40D17C#40D17C

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

Color values

HEX#40D17C
RGBrgb(64, 209, 124)
HSLhsl(145, 61%, 54%)
HSVhsv(145, 69%, 82%)
CMYKcmyk(69.4%, 0%, 40.7%, 18%)
CIE-LABlab(74.92, -57.02, 31.33)
CIE-LCHlch(74.92, 65.06, 151.21°)
OKLaboklab(76.43% -0.1538 0.0778)
OKLCHoklch(76.43% 0.172 153.2)
XYZxyz(28.5504, 48.1430, 26.8527)
Luminance0.4815 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D17C #D14095
analogous
#4CD140 #40D17C #40D1C5
triadic
#40D17C #7C40D1 #D17C40
tetradic
#40D17C #404CD1 #D14095 #D1C540
square
#40D17C #404CD1 #D14095 #D1C540
split-complementary
#40D17C #C540D1 #D1404C
monochromatic
#1D7943 #29AB5F #40D17C #71DD9E #A3E9C0

Accessibility & contrast

On white

1.98
#40D17C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##40D17C#FFFFFF#000000##000000
##40D17C1.001.9810.6310.63
#FFFFFF1.981.0021.0021.00
#00000010.6321.001.001.00
##00000010.6321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40d17c;
/* rgb */ color: rgb(64, 209, 124);
/* oklch */ color: oklch(76.4% 0.172 153.2);
Tailwind
colors: {
  custom: {
    50: '#87e0a3',
    500: '#40d17c',
    950: '#000000',
  },
}
SCSS
$custom: #40d17c;
$custom-light: #87e0a3;
$custom-dark: #000000;
JSON
{
  "hex": "#40d17c",
  "rgb": {
    "r": 64,
    "g": 209,
    "b": 124
  },
  "hsl": {
    "h": 144.828,
    "s": 61.181,
    "l": 53.529
  },
  "oklch": {
    "l": 0.76431,
    "c": 0.17234,
    "h": 153.2
  },
  "luminance": 0.48146
}

Semantic roles & 50–950 ramp

primary
#40D17C
secondary
#D597BC
accent
#44A2E4
background
#F9FDFA
surface
#F1FBF4
border
#CBD4CE
text
#0D150F
muted
#7E837F

Preview Lab

Preview with #40D17C

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

Preview Lab → · Contrast checker → · Palette generator →

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