#40DC5D#40DC5D

#40DC5D is a light, highly saturated green. Relative luminance 0.531; OKLCH L 78.8% C 0.213 H 146.1°. Best body text is #000000 at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#40DC5D
RGBrgb(64, 220, 93)
HSLhsl(131, 69%, 56%)
HSVhsv(131, 71%, 86%)
CMYKcmyk(70.9%, 0%, 57.7%, 13.7%)
CIE-LABlab(77.91, -65.57, 50.09)
CIE-LCHlch(77.91, 82.52, 142.62°)
OKLaboklab(78.78% -0.1768 0.1186)
OKLCHoklch(78.78% 0.213 146.1)
XYZxyz(29.6812, 53.0634, 19.0318)
Luminance0.5307 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40DC5D #DC40BF
analogous
#71DC40 #40DC5D #40DCAB
triadic
#40DC5D #5D40DC #DC5D40
tetradic
#40DC5D #4071DC #DC40BF #DCAB40
square
#40DC5D #4071DC #DC40BF #DCAB40
split-complementary
#40DC5D #AB40DC #DC4071
monochromatic
#19892E #23BC3F #40DC5D #74E589 #A7EFB5

Accessibility & contrast

On white

1.81
#40DC5D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.61
#40DC5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40DC5D
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40DC5D#FFFFFF#000000##000000
##40DC5D1.001.8111.6111.61
#FFFFFF1.811.0021.0021.00
#00000011.6121.001.001.00
##00000011.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC850
Deuteranopia (green-blind)
#CDBC67
Tritanopia (blue-blind)
#00D7C0
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #40dc5d;
/* rgb */ color: rgb(64, 220, 93);
/* oklch */ color: oklch(78.8% 0.213 146.1);
Tailwind
colors: {
  custom: {
    50: '#8ae88e',
    500: '#40dc5d',
    950: '#000000',
  },
}
SCSS
$custom: #40dc5d;
$custom-light: #8ae88e;
$custom-dark: #000000;
JSON
{
  "hex": "#40dc5d",
  "rgb": {
    "r": 64,
    "g": 220,
    "b": 93
  },
  "hsl": {
    "h": 131.154,
    "s": 69.027,
    "l": 55.686
  },
  "oklch": {
    "l": 0.78776,
    "c": 0.21294,
    "h": 146.1
  },
  "luminance": 0.53067
}

Semantic roles & 50–950 ramp

primary
#40DC5D
secondary
#8F327D
accent
#3CCBEC
background
#FCFEFC
surface
#F4FDF4
border
#CED5CE
text
#0D160D
muted
#7F847F

Preview Lab

Preview with #40DC5D

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

Preview Lab → · Contrast checker → · Palette generator →

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