#40D56C#40D56C

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

Color values

HEX#40D56C
RGBrgb(64, 213, 108)
HSLhsl(138, 64%, 54%)
HSVhsv(138, 70%, 84%)
CMYKcmyk(70%, 0%, 49.3%, 16.5%)
CIE-LABlab(75.92, -61.11, 40.63)
CIE-LCHlch(75.92, 73.38, 146.38°)
OKLaboklab(77.19% -0.1645 0.0986)
OKLCHoklch(77.19% 0.192 149.1)
XYZxyz(28.6131, 49.7580, 22.2807)
Luminance0.4976 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D56C #D540A9
analogous
#5FD540 #40D56C #40D5B6
triadic
#40D56C #6C40D5 #D56C40
tetradic
#40D56C #405FD5 #D540A9 #D5B640
square
#40D56C #405FD5 #D540A9 #D5B640
split-complementary
#40D56C #B640D5 #D5405F
monochromatic
#1C7F39 #27B150 #40D56C #72E093 #A4EBB9

Accessibility & contrast

On white

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

On black

10.95
#40D56C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D56C
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D56C#FFFFFF#000000##000000
##40D56C1.001.9210.9510.95
#FFFFFF1.921.0021.0021.00
#00000010.9521.001.001.00
##00000010.9521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40d56c;
/* rgb */ color: rgb(64, 213, 108);
/* oklch */ color: oklch(77.2% 0.192 149.1);
Tailwind
colors: {
  custom: {
    50: '#88e398',
    500: '#40d56c',
    950: '#000000',
  },
}
SCSS
$custom: #40d56c;
$custom-light: #88e398;
$custom-dark: #000000;
JSON
{
  "hex": "#40d56c",
  "rgb": {
    "r": 64,
    "g": 213,
    "b": 108
  },
  "hsl": {
    "h": 137.718,
    "s": 63.948,
    "l": 54.314
  },
  "oklch": {
    "l": 0.77185,
    "c": 0.19181,
    "h": 149.1
  },
  "luminance": 0.49761
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40D56C

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

Preview Lab → · Contrast checker → · Palette generator →

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