#40D37D#40D37D

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

Color values

HEX#40D37D
RGBrgb(64, 211, 125)
HSLhsl(145, 63%, 54%)
HSVhsv(145, 70%, 83%)
CMYKcmyk(69.7%, 0%, 40.8%, 17.3%)
CIE-LABlab(75.55, -57.58, 31.65)
CIE-LCHlch(75.55, 65.70, 151.21°)
OKLaboklab(76.96% -0.1553 0.0786)
OKLCHoklch(76.96% 0.174 153.2)
XYZxyz(29.1077, 49.1559, 27.3521)
Luminance0.4916 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D37D #D34096
analogous
#4DD340 #40D37D #40D3C7
triadic
#40D37D #7D40D3 #D37D40
tetradic
#40D37D #404DD3 #D34096 #D3C740
square
#40D37D #404DD3 #D34096 #D3C740
split-complementary
#40D37D #C740D3 #D3404D
monochromatic
#1D7C44 #28AE60 #40D37D #72DE9F #A3EAC1

Accessibility & contrast

On white

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

On black

10.83
#40D37D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D37D
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D37D#FFFFFF#000000##000000
##40D37D1.001.9410.8310.83
#FFFFFF1.941.0021.0021.00
#00000010.8321.001.001.00
##00000010.8321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40d37d;
/* rgb */ color: rgb(64, 211, 125);
/* oklch */ color: oklch(77.0% 0.174 153.2);
Tailwind
colors: {
  custom: {
    50: '#87e2a3',
    500: '#40d37d',
    950: '#000000',
  },
}
SCSS
$custom: #40d37d;
$custom-light: #87e2a3;
$custom-dark: #000000;
JSON
{
  "hex": "#40d37d",
  "rgb": {
    "r": 64,
    "g": 211,
    "b": 125
  },
  "hsl": {
    "h": 144.898,
    "s": 62.553,
    "l": 53.922
  },
  "oklch": {
    "l": 0.76958,
    "c": 0.17403,
    "h": 153.2
  },
  "luminance": 0.49159
}

Semantic roles & 50–950 ramp

primary
#40D37D
secondary
#D798BD
accent
#42A2E6
background
#F9FDFA
surface
#F1FBF4
border
#CBD4CE
text
#0D150F
muted
#7E837F

Preview Lab

Preview with #40D37D

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

Preview Lab → · Contrast checker → · Palette generator →

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