#40DB4C#40DB4C

#40DB4C is a light, highly saturated green. Relative luminance 0.523; OKLCH L 78.3% C 0.224 H 144.1°. Best body text is #000000 at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#40DB4C
RGBrgb(64, 219, 76)
HSLhsl(125, 68%, 55%)
HSVhsv(125, 71%, 86%)
CMYKcmyk(70.8%, 0%, 65.3%, 14.1%)
CIE-LABlab(77.44, -67.14, 56.88)
CIE-LCHlch(77.44, 88.00, 139.73°)
OKLaboklab(78.33% -0.1817 0.1316)
OKLCHoklch(78.33% 0.224 144.1)
XYZxyz(28.7485, 52.2716, 15.4104)
Luminance0.5228 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40DB4C #DB40CF
analogous
#81DB40 #40DB4C #40DB99
triadic
#40DB4C #4C40DB #DB4C40
tetradic
#40DB4C #4081DB #DB40CF #DB9940
square
#40DB4C #4081DB #DB40CF #DB9940
split-complementary
#40DB4C #9940DB #DB4081
monochromatic
#198722 #23BB2F #40DB4C #73E57C #A7EEAD

Accessibility & contrast

On white

1.83
#40DB4C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.46
#40DB4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40DB4C
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40DB4C#FFFFFF#000000##000000
##40DB4C1.001.8311.4611.46
#FFFFFF1.831.0021.0021.00
#00000011.4621.001.001.00
##00000011.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC73A
Deuteranopia (green-blind)
#CDBB59
Tritanopia (blue-blind)
#00D5BE
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #40db4c;
/* rgb */ color: rgb(64, 219, 76);
/* oklch */ color: oklch(78.3% 0.224 144.1);
Tailwind
colors: {
  custom: {
    50: '#8ae784',
    500: '#40db4c',
    950: '#000000',
  },
}
SCSS
$custom: #40db4c;
$custom-light: #8ae784;
$custom-dark: #000000;
JSON
{
  "hex": "#40db4c",
  "rgb": {
    "r": 64,
    "g": 219,
    "b": 76
  },
  "hsl": {
    "h": 124.645,
    "s": 68.282,
    "l": 55.49
  },
  "oklch": {
    "l": 0.78335,
    "c": 0.22438,
    "h": 144.1
  },
  "luminance": 0.52275
}

Semantic roles & 50–950 ramp

primary
#40DB4C
secondary
#8D3286
accent
#3DDEEB
background
#FCFEFB
surface
#F4FDF2
border
#CED5CC
text
#0D160B
muted
#7F847E

Preview Lab

Preview with #40DB4C

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

Preview Lab → · Contrast checker → · Palette generator →

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