#40D381#40D381

#40D381 is a light, vivid green. Relative luminance 0.493; OKLCH L 77.0% C 0.170 H 154.3°. Best body text is #000000 at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#40D381
RGBrgb(64, 211, 129)
HSLhsl(147, 63%, 54%)
HSVhsv(147, 70%, 83%)
CMYKcmyk(69.7%, 0%, 38.9%, 17.3%)
CIE-LABlab(75.61, -56.86, 29.68)
CIE-LCHlch(75.61, 64.14, 152.43°)
OKLaboklab(77.03% -0.1535 0.074)
OKLCHoklch(77.03% 0.17 154.3)
XYZxyz(29.3684, 49.2602, 28.7250)
Luminance0.4926 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D381 #D34092
analogous
#49D340 #40D381 #40D3CB
triadic
#40D381 #8140D3 #D38140
tetradic
#40D381 #4049D3 #D34092 #D3CB40
square
#40D381 #4049D3 #D34092 #D3CB40
split-complementary
#40D381 #CB40D3 #D34049
monochromatic
#1D7C47 #28AE63 #40D381 #72DEA2 #A3EAC3

Accessibility & contrast

On white

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

On black

10.85
#40D381 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D381
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D381#FFFFFF#000000##000000
##40D3811.001.9410.8510.85
#FFFFFF1.941.0021.0021.00
#00000010.8521.001.001.00
##00000010.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C27B
Deuteranopia (green-blind)
#C0B586
Tritanopia (blue-blind)
#00D1BE
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #40d381;
/* rgb */ color: rgb(64, 211, 129);
/* oklch */ color: oklch(77.0% 0.170 154.3);
Tailwind
colors: {
  custom: {
    50: '#87e2a6',
    500: '#40d381',
    950: '#000000',
  },
}
SCSS
$custom: #40d381;
$custom-light: #87e2a6;
$custom-dark: #000000;
JSON
{
  "hex": "#40d381",
  "rgb": {
    "r": 64,
    "g": 211,
    "b": 129
  },
  "hsl": {
    "h": 146.531,
    "s": 62.553,
    "l": 53.922
  },
  "oklch": {
    "l": 0.77033,
    "c": 0.17042,
    "h": 154.3
  },
  "luminance": 0.49263
}

Semantic roles & 50–950 ramp

primary
#40D381
secondary
#D798BB
accent
#429DE6
background
#F9FDFA
surface
#F1FBF4
border
#CBD4CE
text
#0D150F
muted
#7E837F

Preview Lab

Preview with #40D381

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

Preview Lab → · Contrast checker → · Palette generator →

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