#40D47F#40D47F

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

Color values

HEX#40D47F
RGBrgb(64, 212, 127)
HSLhsl(146, 63%, 54%)
HSVhsv(146, 70%, 83%)
CMYKcmyk(69.8%, 0%, 40.1%, 16.9%)
CIE-LABlab(75.89, -57.59, 31.07)
CIE-LCHlch(75.89, 65.44, 151.65°)
OKLaboklab(77.25% -0.1554 0.0773)
OKLCHoklch(77.25% 0.174 153.6)
XYZxyz(29.4860, 49.7060, 28.1148)
Luminance0.4971 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D47F #D44095
analogous
#4BD440 #40D47F #40D4C9
triadic
#40D47F #7F40D4 #D47F40
tetradic
#40D47F #404BD4 #D44095 #D4C940
square
#40D47F #404BD4 #D44095 #D4C940
split-complementary
#40D47F #C940D4 #D4404B
monochromatic
#1C7D46 #27AF61 #40D47F #72DFA0 #A4EAC2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40D47F#FFFFFF#000000##000000
##40D47F1.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)
#D4C379
Deuteranopia (green-blind)
#C2B685
Tritanopia (blue-blind)
#00D1BF
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #40d47f;
/* rgb */ color: rgb(64, 212, 127);
/* oklch */ color: oklch(77.2% 0.174 153.6);
Tailwind
colors: {
  custom: {
    50: '#87e2a5',
    500: '#40d47f',
    950: '#000000',
  },
}
SCSS
$custom: #40d47f;
$custom-light: #87e2a5;
$custom-dark: #000000;
JSON
{
  "hex": "#40d47f",
  "rgb": {
    "r": 64,
    "g": 212,
    "b": 127
  },
  "hsl": {
    "h": 145.541,
    "s": 63.248,
    "l": 54.118
  },
  "oklch": {
    "l": 0.77249,
    "c": 0.17352,
    "h": 153.6
  },
  "luminance": 0.49709
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40D47F

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

Preview Lab → · Contrast checker → · Palette generator →

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