#40DC4F#40DC4F

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

Color values

HEX#40DC4F
RGBrgb(64, 220, 79)
HSLhsl(126, 69%, 56%)
HSVhsv(126, 71%, 86%)
CMYKcmyk(70.9%, 0%, 64.1%, 13.7%)
CIE-LABlab(77.78, -67.16, 56.02)
CIE-LCHlch(77.78, 87.46, 140.17°)
OKLaboklab(78.62% -0.1817 0.1301)
OKLCHoklch(78.62% 0.223 144.4)
XYZxyz(29.1169, 52.8377, 16.0598)
Luminance0.5284 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40DC4F #DC40CD
analogous
#7FDC40 #40DC4F #40DC9D
triadic
#40DC4F #4F40DC #DC4F40
tetradic
#40DC4F #407FDC #DC40CD #DC9D40
square
#40DC4F #407FDC #DC40CD #DC9D40
split-complementary
#40DC4F #9D40DC #DC407F
monochromatic
#198924 #23BC31 #40DC4F #74E57F #A7EFAE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40DC4F#FFFFFF#000000##000000
##40DC4F1.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)
#E0C83E
Deuteranopia (green-blind)
#CEBB5C
Tritanopia (blue-blind)
#00D6BF
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #40dc4f;
/* rgb */ color: rgb(64, 220, 79);
/* oklch */ color: oklch(78.6% 0.223 144.4);
Tailwind
colors: {
  custom: {
    50: '#8ae886',
    500: '#40dc4f',
    950: '#000000',
  },
}
SCSS
$custom: #40dc4f;
$custom-light: #8ae886;
$custom-dark: #000000;
JSON
{
  "hex": "#40dc4f",
  "rgb": {
    "r": 64,
    "g": 220,
    "b": 79
  },
  "hsl": {
    "h": 125.769,
    "s": 69.027,
    "l": 55.686
  },
  "oklch": {
    "l": 0.78622,
    "c": 0.22344,
    "h": 144.4
  },
  "luminance": 0.52841
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40DC4F

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

Preview Lab → · Contrast checker → · Palette generator →

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