#40D974#40D974

#40D974 is a light, vivid green. Relative luminance 0.520; OKLCH L 78.3% C 0.190 H 150.4°. Best body text is #000000 at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#40D974
RGBrgb(64, 217, 116)
HSLhsl(140, 67%, 55%)
HSVhsv(140, 71%, 85%)
CMYKcmyk(70.5%, 0%, 46.5%, 14.9%)
CIE-LABlab(77.26, -61.28, 38.39)
CIE-LCHlch(77.26, 72.31, 147.94°)
OKLaboklab(78.33% -0.165 0.0939)
OKLCHoklch(78.33% 0.19 150.4)
XYZxyz(30.0771, 51.9733, 24.9663)
Luminance0.5198 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D974 #D940A5
analogous
#59D940 #40D974 #40D9C0
triadic
#40D974 #7440D9 #D97440
tetradic
#40D974 #4059D9 #D940A5 #D9C040
square
#40D974 #4059D9 #D940A5 #D9C040
split-complementary
#40D974 #C040D9 #D94059
monochromatic
#1A843E #24B756 #40D974 #73E399 #A6EDBE

Accessibility & contrast

On white

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

On black

11.40
#40D974 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D974
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D974#FFFFFF#000000##000000
##40D9741.001.8411.4011.40
#FFFFFF1.841.0021.0021.00
#00000011.4021.001.001.00
##00000011.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC76C
Deuteranopia (green-blind)
#C8BA7B
Tritanopia (blue-blind)
#00D5C1
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #40d974;
/* rgb */ color: rgb(64, 217, 116);
/* oklch */ color: oklch(78.3% 0.190 150.4);
Tailwind
colors: {
  custom: {
    50: '#88e69d',
    500: '#40d974',
    950: '#000000',
  },
}
SCSS
$custom: #40d974;
$custom-light: #88e69d;
$custom-dark: #000000;
JSON
{
  "hex": "#40d974",
  "rgb": {
    "r": 64,
    "g": 217,
    "b": 116
  },
  "hsl": {
    "h": 140.392,
    "s": 66.812,
    "l": 55.098
  },
  "oklch": {
    "l": 0.78331,
    "c": 0.1898,
    "h": 150.4
  },
  "luminance": 0.51977
}

Semantic roles & 50–950 ramp

primary
#40D974
secondary
#8B326D
accent
#3EAFEA
background
#FCFEFC
surface
#F4FCF5
border
#CED5CF
text
#0D160E
muted
#7F847F

Preview Lab

Preview with #40D974

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

Preview Lab → · Contrast checker → · Palette generator →

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