#40D37E#40D37E

#40D37E is a light, vivid green. Relative luminance 0.492; OKLCH L 77.0% C 0.173 H 153.4°. Best body text is #000000 at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#40D37E
RGBrgb(64, 211, 126)
HSLhsl(145, 63%, 54%)
HSVhsv(145, 70%, 83%)
CMYKcmyk(69.7%, 0%, 40.3%, 17.3%)
CIE-LABlab(75.56, -57.40, 31.16)
CIE-LCHlch(75.56, 65.31, 151.51°)
OKLaboklab(76.98% -0.1548 0.0774)
OKLCHoklch(76.98% 0.173 153.4)
XYZxyz(29.1719, 49.1816, 27.6902)
Luminance0.4919 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D37E #D34095
analogous
#4CD340 #40D37E #40D3C8
triadic
#40D37E #7E40D3 #D37E40
tetradic
#40D37E #404CD3 #D34095 #D3C840
square
#40D37E #404CD3 #D34095 #D3C840
split-complementary
#40D37E #C840D3 #D3404C
monochromatic
#1D7C45 #28AE60 #40D37E #72DEA0 #A3EAC1

Accessibility & contrast

On white

1.94
#40D37E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.84
#40D37E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D37E
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D37E#FFFFFF#000000##000000
##40D37E1.001.9410.8410.84
#FFFFFF1.941.0021.0021.00
#00000010.8421.001.001.00
##00000010.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C278
Deuteranopia (green-blind)
#C1B584
Tritanopia (blue-blind)
#00D0BE
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #40d37e;
/* rgb */ color: rgb(64, 211, 126);
/* oklch */ color: oklch(77.0% 0.173 153.4);
Tailwind
colors: {
  custom: {
    50: '#87e2a4',
    500: '#40d37e',
    950: '#000000',
  },
}
SCSS
$custom: #40d37e;
$custom-light: #87e2a4;
$custom-dark: #000000;
JSON
{
  "hex": "#40d37e",
  "rgb": {
    "r": 64,
    "g": 211,
    "b": 126
  },
  "hsl": {
    "h": 145.306,
    "s": 62.553,
    "l": 53.922
  },
  "oklch": {
    "l": 0.76976,
    "c": 0.17313,
    "h": 153.4
  },
  "luminance": 0.49185
}

Semantic roles & 50–950 ramp

primary
#40D37E
secondary
#D798BC
accent
#42A1E6
background
#F9FDFA
surface
#F1FBF4
border
#CBD4CE
text
#0D150F
muted
#7E837F

Preview Lab

Preview with #40D37E

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

Preview Lab → · Contrast checker → · Palette generator →

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