#40DB6C#40DB6C

#40DB6C is a light, vivid green. Relative luminance 0.528; OKLCH L 78.7% C 0.199 H 148.6°. Best body text is #000000 at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#40DB6C
RGBrgb(64, 219, 108)
HSLhsl(137, 68%, 55%)
HSVhsv(137, 71%, 86%)
CMYKcmyk(70.8%, 0%, 50.7%, 14.1%)
CIE-LABlab(77.78, -63.21, 42.93)
CIE-LCHlch(77.78, 76.41, 145.82°)
OKLaboklab(78.72% -0.1701 0.1038)
OKLCHoklch(78.72% 0.199 148.6)
XYZxyz(30.1503, 52.8323, 22.7931)
Luminance0.5284 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40DB6C #DB40AF
analogous
#61DB40 #40DB6C #40DBB9
triadic
#40DB6C #6C40DB #DB6C40
tetradic
#40DB6C #4061DB #DB40AF #DBB940
square
#40DB6C #4061DB #DB40AF #DBB940
split-complementary
#40DB6C #B940DB #DB4061
monochromatic
#198739 #23BB4E #40DB6C #73E594 #A7EEBB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40DB6C#FFFFFF#000000##000000
##40DB6C1.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)
#DDC863
Deuteranopia (green-blind)
#CBBB74
Tritanopia (blue-blind)
#00D7C1
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #40db6c;
/* rgb */ color: rgb(64, 219, 108);
/* oklch */ color: oklch(78.7% 0.199 148.6);
Tailwind
colors: {
  custom: {
    50: '#89e798',
    500: '#40db6c',
    950: '#000000',
  },
}
SCSS
$custom: #40db6c;
$custom-light: #89e798;
$custom-dark: #000000;
JSON
{
  "hex": "#40db6c",
  "rgb": {
    "r": 64,
    "g": 219,
    "b": 108
  },
  "hsl": {
    "h": 137.032,
    "s": 68.282,
    "l": 55.49
  },
  "oklch": {
    "l": 0.78719,
    "c": 0.1993,
    "h": 148.6
  },
  "luminance": 0.52836
}

Semantic roles & 50–950 ramp

primary
#40DB6C
secondary
#8D3273
accent
#3DBAEB
background
#FCFEFC
surface
#F4FDF5
border
#CED5CF
text
#0D160E
muted
#7F847F

Preview Lab

Preview with #40DB6C

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

Preview Lab → · Contrast checker → · Palette generator →

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