#40D47A#40D47A

#40D47A is a light, vivid green. Relative luminance 0.496; OKLCH L 77.2% C 0.178 H 152.3°. Best body text is #000000 at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#40D47A
RGBrgb(64, 212, 122)
HSLhsl(144, 63%, 54%)
HSVhsv(144, 70%, 83%)
CMYKcmyk(69.8%, 0%, 42.5%, 16.9%)
CIE-LABlab(75.81, -58.48, 33.52)
CIE-LCHlch(75.81, 67.40, 150.18°)
OKLaboklab(77.16% -0.1576 0.0828)
OKLCHoklch(77.16% 0.178 152.3)
XYZxyz(29.1682, 49.5788, 26.4410)
Luminance0.4958 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D47A #D4409A
analogous
#50D440 #40D47A #40D4C4
triadic
#40D47A #7A40D4 #D47A40
tetradic
#40D47A #4050D4 #D4409A #D4C440
square
#40D47A #4050D4 #D4409A #D4C440
split-complementary
#40D47A #C440D4 #D44050
monochromatic
#1C7D42 #27AF5D #40D47A #72DF9D #A4EAC0

Accessibility & contrast

On white

1.92
#40D47A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.92
#40D47A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D47A
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D47A#FFFFFF#000000##000000
##40D47A1.001.9210.9210.92
#FFFFFF1.921.0021.0021.00
#00000010.9221.001.001.00
##00000010.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C373
Deuteranopia (green-blind)
#C2B680
Tritanopia (blue-blind)
#00D1BE
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #40d47a;
/* rgb */ color: rgb(64, 212, 122);
/* oklch */ color: oklch(77.2% 0.178 152.3);
Tailwind
colors: {
  custom: {
    50: '#87e2a1',
    500: '#40d47a',
    950: '#000000',
  },
}
SCSS
$custom: #40d47a;
$custom-light: #87e2a1;
$custom-dark: #000000;
JSON
{
  "hex": "#40d47a",
  "rgb": {
    "r": 64,
    "g": 212,
    "b": 122
  },
  "hsl": {
    "h": 143.514,
    "s": 63.248,
    "l": 54.118
  },
  "oklch": {
    "l": 0.77159,
    "c": 0.17804,
    "h": 152.3
  },
  "luminance": 0.49582
}

Semantic roles & 50–950 ramp

primary
#40D47A
secondary
#D798BF
accent
#42A6E6
background
#F9FEFA
surface
#F1FCF3
border
#CBD5CD
text
#0D150F
muted
#7E847F

Preview Lab

Preview with #40D47A

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

Preview Lab → · Contrast checker → · Palette generator →

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