#40D97A#40D97A

#40D97A is a light, vivid green. Relative luminance 0.521; OKLCH L 78.4% C 0.184 H 151.7°. Best body text is #000000 at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#40D97A
RGBrgb(64, 217, 122)
HSLhsl(143, 67%, 55%)
HSVhsv(143, 71%, 85%)
CMYKcmyk(70.5%, 0%, 43.8%, 14.9%)
CIE-LABlab(77.35, -60.30, 35.51)
CIE-LCHlch(77.35, 69.98, 149.50°)
OKLaboklab(78.43% -0.1624 0.0875)
OKLCHoklch(78.43% 0.184 151.7)
XYZxyz(30.4375, 52.1174, 26.8641)
Luminance0.5212 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D97A #D9409F
analogous
#53D940 #40D97A #40D9C6
triadic
#40D97A #7A40D9 #D97A40
tetradic
#40D97A #4053D9 #D9409F #D9C640
square
#40D97A #4053D9 #D9409F #D9C640
split-complementary
#40D97A #C640D9 #D94053
monochromatic
#1A8442 #24B75C #40D97A #73E39E #A6EDC1

Accessibility & contrast

On white

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

On black

11.42
#40D97A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D97A
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D97A#FFFFFF#000000##000000
##40D97A1.001.8411.4211.42
#FFFFFF1.841.0021.0021.00
#00000011.4221.001.001.00
##00000011.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC773
Deuteranopia (green-blind)
#C7BA81
Tritanopia (blue-blind)
#00D6C2
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #40d97a;
/* rgb */ color: rgb(64, 217, 122);
/* oklch */ color: oklch(78.4% 0.184 151.7);
Tailwind
colors: {
  custom: {
    50: '#88e6a1',
    500: '#40d97a',
    950: '#000000',
  },
}
SCSS
$custom: #40d97a;
$custom-light: #88e6a1;
$custom-dark: #000000;
JSON
{
  "hex": "#40d97a",
  "rgb": {
    "r": 64,
    "g": 217,
    "b": 122
  },
  "hsl": {
    "h": 142.745,
    "s": 66.812,
    "l": 55.098
  },
  "oklch": {
    "l": 0.7843,
    "c": 0.18445,
    "h": 151.7
  },
  "luminance": 0.52121
}

Semantic roles & 50–950 ramp

primary
#40D97A
secondary
#8B3269
accent
#3EA9EA
background
#FCFEFC
surface
#F4FCF5
border
#CED5CF
text
#0D160F
muted
#7F8480

Preview Lab

Preview with #40D97A

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

Preview Lab → · Contrast checker → · Palette generator →

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