#40D17F#40D17F

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

Color values

HEX#40D17F
RGBrgb(64, 209, 127)
HSLhsl(146, 61%, 54%)
HSVhsv(146, 69%, 82%)
CMYKcmyk(69.4%, 0%, 39.2%, 18%)
CIE-LABlab(74.96, -56.47, 29.85)
CIE-LCHlch(74.96, 63.88, 152.14°)
OKLaboklab(76.49% -0.1524 0.0744)
OKLCHoklch(76.49% 0.17 154)
XYZxyz(28.7430, 48.2200, 27.8671)
Luminance0.4822 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D17F #D14092
analogous
#49D140 #40D17F #40D1C7
triadic
#40D17F #7F40D1 #D17F40
tetradic
#40D17F #4049D1 #D14092 #D1C740
square
#40D17F #4049D1 #D14092 #D1C740
split-complementary
#40D17F #C740D1 #D14049
monochromatic
#1D7945 #29AB61 #40D17F #71DDA0 #A3E9C1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40D17F#FFFFFF#000000##000000
##40D17F1.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)
#D1C079
Deuteranopia (green-blind)
#BFB384
Tritanopia (blue-blind)
#00CFBC
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #40d17f;
/* rgb */ color: rgb(64, 209, 127);
/* oklch */ color: oklch(76.5% 0.170 154.0);
Tailwind
colors: {
  custom: {
    50: '#87e0a5',
    500: '#40d17f',
    950: '#000000',
  },
}
SCSS
$custom: #40d17f;
$custom-light: #87e0a5;
$custom-dark: #000000;
JSON
{
  "hex": "#40d17f",
  "rgb": {
    "r": 64,
    "g": 209,
    "b": 127
  },
  "hsl": {
    "h": 146.069,
    "s": 61.181,
    "l": 53.529
  },
  "oklch": {
    "l": 0.76487,
    "c": 0.16962,
    "h": 154
  },
  "luminance": 0.48223
}

Semantic roles & 50–950 ramp

primary
#40D17F
secondary
#D597BA
accent
#449EE4
background
#F8FDFA
surface
#F0FBF4
border
#CBD4CE
text
#0D150F
muted
#7D837F

Preview Lab

Preview with #40D17F

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

Preview Lab → · Contrast checker → · Palette generator →

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