#40D97E#40D97E

#40D97E is a light, vivid green. Relative luminance 0.522; OKLCH L 78.5% C 0.181 H 152.6°. Best body text is #000000 at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#40D97E
RGBrgb(64, 217, 126)
HSLhsl(144, 67%, 55%)
HSVhsv(144, 71%, 85%)
CMYKcmyk(70.5%, 0%, 41.9%, 14.9%)
CIE-LABlab(77.41, -59.61, 33.57)
CIE-LCHlch(77.41, 68.42, 150.61°)
OKLaboklab(78.5% -0.1606 0.0831)
OKLCHoklch(78.5% 0.181 152.6)
XYZxyz(30.6904, 52.2186, 28.1964)
Luminance0.5222 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D97E #D9409B
analogous
#4ED940 #40D97E #40D9CB
triadic
#40D97E #7E40D9 #D97E40
tetradic
#40D97E #404ED9 #D9409B #D9CB40
square
#40D97E #404ED9 #D9409B #D9CB40
split-complementary
#40D97E #CB40D9 #D9404E
monochromatic
#1A8445 #24B760 #40D97E #73E3A0 #A6EDC3

Accessibility & contrast

On white

1.83
#40D97E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.44
#40D97E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D97E
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D97E#FFFFFF#000000##000000
##40D97E1.001.8311.4411.44
#FFFFFF1.831.0021.0021.00
#00000011.4421.001.001.00
##00000011.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C777
Deuteranopia (green-blind)
#C7BA84
Tritanopia (blue-blind)
#00D6C3
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #40d97e;
/* rgb */ color: rgb(64, 217, 126);
/* oklch */ color: oklch(78.5% 0.181 152.6);
Tailwind
colors: {
  custom: {
    50: '#88e6a4',
    500: '#40d97e',
    950: '#000000',
  },
}
SCSS
$custom: #40d97e;
$custom-light: #88e6a4;
$custom-dark: #000000;
JSON
{
  "hex": "#40d97e",
  "rgb": {
    "r": 64,
    "g": 217,
    "b": 126
  },
  "hsl": {
    "h": 144.314,
    "s": 66.812,
    "l": 55.098
  },
  "oklch": {
    "l": 0.785,
    "c": 0.18086,
    "h": 152.6
  },
  "luminance": 0.52222
}

Semantic roles & 50–950 ramp

primary
#40D97E
secondary
#8B3267
accent
#3EA4EA
background
#FCFEFC
surface
#F4FCF6
border
#CED5D0
text
#0D160F
muted
#7F8480

Preview Lab

Preview with #40D97E

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

Preview Lab → · Contrast checker → · Palette generator →

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