#40DC4E#40DC4E

#40DC4E is a light, highly saturated green. Relative luminance 0.528; OKLCH L 78.6% C 0.224 H 144.3°. Best body text is #000000 at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#40DC4E
RGBrgb(64, 220, 78)
HSLhsl(125, 69%, 56%)
HSVhsv(125, 71%, 86%)
CMYKcmyk(70.9%, 0%, 64.5%, 13.7%)
CIE-LABlab(77.77, -67.26, 56.42)
CIE-LCHlch(77.77, 87.79, 140.01°)
OKLaboklab(78.61% -0.182 0.1308)
OKLCHoklch(78.61% 0.224 144.3)
XYZxyz(29.0808, 52.8232, 15.8695)
Luminance0.5283 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40DC4E #DC40CE
analogous
#80DC40 #40DC4E #40DC9C
triadic
#40DC4E #4E40DC #DC4E40
tetradic
#40DC4E #4080DC #DC40CE #DC9C40
square
#40DC4E #4080DC #DC40CE #DC9C40
split-complementary
#40DC4E #9C40DC #DC4080
monochromatic
#198923 #23BC30 #40DC4E #74E57E #A7EFAE

Accessibility & contrast

On white

1.82
#40DC4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.57
#40DC4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40DC4E
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40DC4E#FFFFFF#000000##000000
##40DC4E1.001.8211.5711.57
#FFFFFF1.821.0021.0021.00
#00000011.5721.001.001.00
##00000011.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C83C
Deuteranopia (green-blind)
#CEBB5B
Tritanopia (blue-blind)
#00D6BF
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #40dc4e;
/* rgb */ color: rgb(64, 220, 78);
/* oklch */ color: oklch(78.6% 0.224 144.3);
Tailwind
colors: {
  custom: {
    50: '#8ae885',
    500: '#40dc4e',
    950: '#000000',
  },
}
SCSS
$custom: #40dc4e;
$custom-light: #8ae885;
$custom-dark: #000000;
JSON
{
  "hex": "#40dc4e",
  "rgb": {
    "r": 64,
    "g": 220,
    "b": 78
  },
  "hsl": {
    "h": 125.385,
    "s": 69.027,
    "l": 55.686
  },
  "oklch": {
    "l": 0.78612,
    "c": 0.22413,
    "h": 144.3
  },
  "luminance": 0.52826
}

Semantic roles & 50–950 ramp

primary
#40DC4E
secondary
#8F3286
accent
#3CDCEC
background
#FCFEFB
surface
#F4FDF2
border
#CED5CC
text
#0D160B
muted
#7F847E

Preview Lab

Preview with #40DC4E

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

Preview Lab → · Contrast checker → · Palette generator →

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