#40DC6C#40DC6C

#40DC6C is a light, highly saturated green. Relative luminance 0.534; OKLCH L 79.0% C 0.201 H 148.5°. Best body text is #000000 at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#40DC6C
RGBrgb(64, 220, 108)
HSLhsl(137, 69%, 56%)
HSVhsv(137, 71%, 86%)
CMYKcmyk(70.9%, 0%, 50.9%, 13.7%)
CIE-LABlab(78.08, -63.55, 43.31)
CIE-LCHlch(78.08, 76.91, 145.73°)
OKLaboklab(78.97% -0.1711 0.1047)
OKLCHoklch(78.97% 0.201 148.5)
XYZxyz(30.4120, 53.3557, 22.8804)
Luminance0.5336 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40DC6C #DC40B0
analogous
#62DC40 #40DC6C #40DCBA
triadic
#40DC6C #6C40DC #DC6C40
tetradic
#40DC6C #4062DC #DC40B0 #DCBA40
square
#40DC6C #4062DC #DC40B0 #DCBA40
split-complementary
#40DC6C #BA40DC #DC4062
monochromatic
#198938 #23BC4E #40DC6C #74E594 #A7EFBC

Accessibility & contrast

On white

1.80
#40DC6C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.67
#40DC6C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40DC6C
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40DC6C#FFFFFF#000000##000000
##40DC6C1.001.8011.6711.67
#FFFFFF1.801.0021.0021.00
#00000011.6721.001.001.00
##00000011.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC962
Deuteranopia (green-blind)
#CCBC74
Tritanopia (blue-blind)
#00D8C2
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #40dc6c;
/* rgb */ color: rgb(64, 220, 108);
/* oklch */ color: oklch(79.0% 0.201 148.5);
Tailwind
colors: {
  custom: {
    50: '#89e898',
    500: '#40dc6c',
    950: '#000000',
  },
}
SCSS
$custom: #40dc6c;
$custom-light: #89e898;
$custom-dark: #000000;
JSON
{
  "hex": "#40dc6c",
  "rgb": {
    "r": 64,
    "g": 220,
    "b": 108
  },
  "hsl": {
    "h": 136.923,
    "s": 69.027,
    "l": 55.686
  },
  "oklch": {
    "l": 0.78974,
    "c": 0.20053,
    "h": 148.5
  },
  "luminance": 0.53359
}

Semantic roles & 50–950 ramp

primary
#40DC6C
secondary
#8F3274
accent
#3CBAEC
background
#FCFEFC
surface
#F4FDF5
border
#CED5CF
text
#0D160E
muted
#7F847F

Preview Lab

Preview with #40DC6C

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

Preview Lab → · Contrast checker → · Palette generator →

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