#40D377#40D377

#40D377 is a light, vivid green. Relative luminance 0.490; OKLCH L 76.9% C 0.179 H 151.6°. Best body text is #000000 at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#40D377
RGBrgb(64, 211, 119)
HSLhsl(142, 63%, 54%)
HSVhsv(142, 70%, 83%)
CMYKcmyk(69.7%, 0%, 43.6%, 17.3%)
CIE-LABlab(75.46, -58.62, 34.57)
CIE-LCHlch(75.46, 68.06, 149.47°)
OKLaboklab(76.85% -0.1579 0.0852)
OKLCHoklch(76.85% 0.179 151.6)
XYZxyz(28.7360, 49.0072, 25.3941)
Luminance0.4901 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D377 #D3409C
analogous
#53D340 #40D377 #40D3C1
triadic
#40D377 #7740D3 #D37740
tetradic
#40D377 #4053D3 #D3409C #D3C140
square
#40D377 #4053D3 #D3409C #D3C140
split-complementary
#40D377 #C140D3 #D34053
monochromatic
#1D7C40 #28AE5A #40D377 #72DE9A #A3EABE

Accessibility & contrast

On white

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

On black

10.80
#40D377 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D377
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D377#FFFFFF#000000##000000
##40D3771.001.9410.8010.80
#FFFFFF1.941.0021.0021.00
#00000010.8021.001.001.00
##00000010.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C170
Deuteranopia (green-blind)
#C2B57D
Tritanopia (blue-blind)
#00D0BD
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #40d377;
/* rgb */ color: rgb(64, 211, 119);
/* oklch */ color: oklch(76.9% 0.179 151.6);
Tailwind
colors: {
  custom: {
    50: '#87e29f',
    500: '#40d377',
    950: '#000000',
  },
}
SCSS
$custom: #40d377;
$custom-light: #87e29f;
$custom-dark: #000000;
JSON
{
  "hex": "#40d377",
  "rgb": {
    "r": 64,
    "g": 211,
    "b": 119
  },
  "hsl": {
    "h": 142.449,
    "s": 62.553,
    "l": 53.922
  },
  "oklch": {
    "l": 0.76852,
    "c": 0.17946,
    "h": 151.6
  },
  "luminance": 0.4901
}

Semantic roles & 50–950 ramp

primary
#40D377
secondary
#D798BF
accent
#42A8E6
background
#F9FDF9
surface
#F1FBF2
border
#CBD4CC
text
#0D150E
muted
#7E837E

Preview Lab

Preview with #40D377

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

Preview Lab → · Contrast checker → · Palette generator →

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