#40D977#40D977

#40D977 is a light, vivid green. Relative luminance 0.520; OKLCH L 78.4% C 0.187 H 151.0°. Best body text is #000000 at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#40D977
RGBrgb(64, 217, 119)
HSLhsl(142, 67%, 55%)
HSVhsv(142, 71%, 85%)
CMYKcmyk(70.5%, 0%, 45.2%, 14.9%)
CIE-LABlab(77.31, -60.79, 36.95)
CIE-LCHlch(77.31, 71.14, 148.71°)
OKLaboklab(78.38% -0.1637 0.0907)
OKLCHoklch(78.38% 0.187 151)
XYZxyz(30.2545, 52.0442, 25.9003)
Luminance0.5205 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D977 #D940A2
analogous
#55D940 #40D977 #40D9C4
triadic
#40D977 #7740D9 #D97740
tetradic
#40D977 #4055D9 #D940A2 #D9C440
square
#40D977 #4055D9 #D940A2 #D9C440
split-complementary
#40D977 #C440D9 #D94055
monochromatic
#1A8440 #24B759 #40D977 #73E39B #A6EDC0

Accessibility & contrast

On white

1.84
#40D977 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.41
#40D977 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D977
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D977#FFFFFF#000000##000000
##40D9771.001.8411.4111.41
#FFFFFF1.841.0021.0021.00
#00000011.4121.001.001.00
##00000011.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC76F
Deuteranopia (green-blind)
#C7BA7E
Tritanopia (blue-blind)
#00D6C1
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #40d977;
/* rgb */ color: rgb(64, 217, 119);
/* oklch */ color: oklch(78.4% 0.187 151.0);
Tailwind
colors: {
  custom: {
    50: '#88e69f',
    500: '#40d977',
    950: '#000000',
  },
}
SCSS
$custom: #40d977;
$custom-light: #88e69f;
$custom-dark: #000000;
JSON
{
  "hex": "#40d977",
  "rgb": {
    "r": 64,
    "g": 217,
    "b": 119
  },
  "hsl": {
    "h": 141.569,
    "s": 66.812,
    "l": 55.098
  },
  "oklch": {
    "l": 0.7838,
    "c": 0.18713,
    "h": 151
  },
  "luminance": 0.52048
}

Semantic roles & 50–950 ramp

primary
#40D977
secondary
#8B326B
accent
#3EACEA
background
#FCFEFC
surface
#F4FCF5
border
#CED5CF
text
#0D160F
muted
#7F8480

Preview Lab

Preview with #40D977

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

Preview Lab → · Contrast checker → · Palette generator →

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