#40D56D#40D56D

#40D56D is a light, vivid green. Relative luminance 0.498; OKLCH L 77.2% C 0.191 H 149.3°. Best body text is #000000 at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#40D56D
RGBrgb(64, 213, 109)
HSLhsl(138, 64%, 54%)
HSVhsv(138, 70%, 84%)
CMYKcmyk(70%, 0%, 48.8%, 16.5%)
CIE-LABlab(75.93, -60.95, 40.16)
CIE-LCHlch(75.93, 72.99, 146.62°)
OKLaboklab(77.2% -0.1641 0.0976)
OKLCHoklch(77.2% 0.191 149.3)
XYZxyz(28.6667, 49.7794, 22.5626)
Luminance0.4978 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D56D #D540A8
analogous
#5ED540 #40D56D #40D5B8
triadic
#40D56D #6D40D5 #D56D40
tetradic
#40D56D #405ED5 #D540A8 #D5B840
square
#40D56D #405ED5 #D540A8 #D5B840
split-complementary
#40D56D #B840D5 #D5405E
monochromatic
#1C7F3A #27B151 #40D56D #72E093 #A4EBBA

Accessibility & contrast

On white

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

On black

10.96
#40D56D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D56D
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D56D#FFFFFF#000000##000000
##40D56D1.001.9210.9610.96
#FFFFFF1.921.0021.0021.00
#00000010.9621.001.001.00
##00000010.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C364
Deuteranopia (green-blind)
#C5B674
Tritanopia (blue-blind)
#00D1BD
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #40d56d;
/* rgb */ color: rgb(64, 213, 109);
/* oklch */ color: oklch(77.2% 0.191 149.3);
Tailwind
colors: {
  custom: {
    50: '#88e398',
    500: '#40d56d',
    950: '#000000',
  },
}
SCSS
$custom: #40d56d;
$custom-light: #88e398;
$custom-dark: #000000;
JSON
{
  "hex": "#40d56d",
  "rgb": {
    "r": 64,
    "g": 213,
    "b": 109
  },
  "hsl": {
    "h": 138.121,
    "s": 63.948,
    "l": 54.314
  },
  "oklch": {
    "l": 0.772,
    "c": 0.19094,
    "h": 149.3
  },
  "luminance": 0.49783
}

Semantic roles & 50–950 ramp

primary
#40D56D
secondary
#D899C5
accent
#41B5E7
background
#F9FEF9
surface
#F1FCF2
border
#CBD5CC
text
#0D160E
muted
#7E847E

Preview Lab

Preview with #40D56D

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

Preview Lab → · Contrast checker → · Palette generator →

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