#40DB5D#40DB5D

#40DB5D is a light, highly saturated green. Relative luminance 0.525; OKLCH L 78.5% C 0.212 H 146.2°. Best body text is #000000 at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#40DB5D
RGBrgb(64, 219, 93)
HSLhsl(131, 68%, 55%)
HSVhsv(131, 71%, 86%)
CMYKcmyk(70.8%, 0%, 57.5%, 14.1%)
CIE-LABlab(77.60, -65.24, 49.73)
CIE-LCHlch(77.60, 82.03, 142.68°)
OKLaboklab(78.52% -0.1759 0.1178)
OKLCHoklch(78.52% 0.212 146.2)
XYZxyz(29.4196, 52.5401, 18.9446)
Luminance0.5254 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40DB5D #DB40BE
analogous
#70DB40 #40DB5D #40DBAB
triadic
#40DB5D #5D40DB #DB5D40
tetradic
#40DB5D #4070DB #DB40BE #DBAB40
square
#40DB5D #4070DB #DB40BE #DBAB40
split-complementary
#40DB5D #AB40DB #DB4070
monochromatic
#19872E #23BB40 #40DB5D #73E589 #A7EEB4

Accessibility & contrast

On white

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

On black

11.51
#40DB5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40DB5D
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40DB5D#FFFFFF#000000##000000
##40DB5D1.001.8211.5111.51
#FFFFFF1.821.0021.0021.00
#00000011.5121.001.001.00
##00000011.5121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40db5d;
/* rgb */ color: rgb(64, 219, 93);
/* oklch */ color: oklch(78.5% 0.212 146.2);
Tailwind
colors: {
  custom: {
    50: '#8ae78e',
    500: '#40db5d',
    950: '#000000',
  },
}
SCSS
$custom: #40db5d;
$custom-light: #8ae78e;
$custom-dark: #000000;
JSON
{
  "hex": "#40db5d",
  "rgb": {
    "r": 64,
    "g": 219,
    "b": 93
  },
  "hsl": {
    "h": 131.226,
    "s": 68.282,
    "l": 55.49
  },
  "oklch": {
    "l": 0.78519,
    "c": 0.21174,
    "h": 146.2
  },
  "luminance": 0.52543
}

Semantic roles & 50–950 ramp

primary
#40DB5D
secondary
#8D327C
accent
#3DCAEB
background
#FCFEFC
surface
#F4FDF4
border
#CED5CE
text
#0D160D
muted
#7F847F

Preview Lab

Preview with #40DB5D

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

Preview Lab → · Contrast checker → · Palette generator →

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