#40D47E#40D47E

#40D47E is a light, vivid green. Relative luminance 0.497; OKLCH L 77.2% C 0.174 H 153.3°. Best body text is #000000 at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#40D47E
RGBrgb(64, 212, 126)
HSLhsl(145, 63%, 54%)
HSVhsv(145, 70%, 83%)
CMYKcmyk(69.8%, 0%, 40.6%, 16.9%)
CIE-LABlab(75.87, -57.77, 31.56)
CIE-LCHlch(75.87, 65.83, 151.35°)
OKLaboklab(77.23% -0.1558 0.0784)
OKLCHoklch(77.23% 0.174 153.3)
XYZxyz(29.4211, 49.6800, 27.7733)
Luminance0.4968 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D47E #D44096
analogous
#4CD440 #40D47E #40D4C8
triadic
#40D47E #7E40D4 #D47E40
tetradic
#40D47E #404CD4 #D44096 #D4C840
square
#40D47E #404CD4 #D44096 #D4C840
split-complementary
#40D47E #C840D4 #D4404C
monochromatic
#1C7D45 #27AF60 #40D47E #72DFA0 #A4EAC1

Accessibility & contrast

On white

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

On black

10.94
#40D47E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D47E
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D47E#FFFFFF#000000##000000
##40D47E1.001.9210.9410.94
#FFFFFF1.921.0021.0021.00
#00000010.9421.001.001.00
##00000010.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C378
Deuteranopia (green-blind)
#C2B684
Tritanopia (blue-blind)
#00D1BF
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #40d47e;
/* rgb */ color: rgb(64, 212, 126);
/* oklch */ color: oklch(77.2% 0.174 153.3);
Tailwind
colors: {
  custom: {
    50: '#87e2a4',
    500: '#40d47e',
    950: '#000000',
  },
}
SCSS
$custom: #40d47e;
$custom-light: #87e2a4;
$custom-dark: #000000;
JSON
{
  "hex": "#40d47e",
  "rgb": {
    "r": 64,
    "g": 212,
    "b": 126
  },
  "hsl": {
    "h": 145.135,
    "s": 63.248,
    "l": 54.118
  },
  "oklch": {
    "l": 0.77231,
    "c": 0.17443,
    "h": 153.3
  },
  "luminance": 0.49683
}

Semantic roles & 50–950 ramp

primary
#40D47E
secondary
#D798BD
accent
#42A1E6
background
#F9FEFA
surface
#F1FCF4
border
#CBD5CE
text
#0D150F
muted
#7E847F

Preview Lab

Preview with #40D47E

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

Preview Lab → · Contrast checker → · Palette generator →

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