#40D382#40D382

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

Color values

HEX#40D382
RGBrgb(64, 211, 130)
HSLhsl(147, 63%, 54%)
HSVhsv(147, 70%, 83%)
CMYKcmyk(69.7%, 0%, 38.4%, 17.3%)
CIE-LABlab(75.63, -56.67, 29.19)
CIE-LCHlch(75.63, 63.75, 152.75°)
OKLaboklab(77.05% -0.1531 0.0729)
OKLCHoklch(77.05% 0.17 154.5)
XYZxyz(29.4352, 49.2869, 29.0768)
Luminance0.4929 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D382 #D34091
analogous
#48D340 #40D382 #40D3CC
triadic
#40D382 #8240D3 #D38240
tetradic
#40D382 #4048D3 #D34091 #D3CC40
square
#40D382 #4048D3 #D34091 #D3CC40
split-complementary
#40D382 #CC40D3 #D34048
monochromatic
#1D7C47 #28AE64 #40D382 #72DEA3 #A3EAC3

Accessibility & contrast

On white

1.93
#40D382 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.86
#40D382 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D382
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D382#FFFFFF#000000##000000
##40D3821.001.9310.8610.86
#FFFFFF1.931.0021.0021.00
#00000010.8621.001.001.00
##00000010.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2C27C
Deuteranopia (green-blind)
#C0B587
Tritanopia (blue-blind)
#00D1BF
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #40d382;
/* rgb */ color: rgb(64, 211, 130);
/* oklch */ color: oklch(77.1% 0.170 154.5);
Tailwind
colors: {
  custom: {
    50: '#87e2a7',
    500: '#40d382',
    950: '#000000',
  },
}
SCSS
$custom: #40d382;
$custom-light: #87e2a7;
$custom-dark: #000000;
JSON
{
  "hex": "#40d382",
  "rgb": {
    "r": 64,
    "g": 211,
    "b": 130
  },
  "hsl": {
    "h": 146.939,
    "s": 62.553,
    "l": 53.922
  },
  "oklch": {
    "l": 0.77052,
    "c": 0.16952,
    "h": 154.5
  },
  "luminance": 0.4929
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40D382

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

Preview Lab → · Contrast checker → · Palette generator →

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