#40DB5C#40DB5C

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

Color values

HEX#40DB5C
RGBrgb(64, 219, 92)
HSLhsl(131, 68%, 55%)
HSVhsv(131, 71%, 86%)
CMYKcmyk(70.8%, 0%, 58%, 14.1%)
CIE-LABlab(77.59, -65.36, 50.17)
CIE-LCHlch(77.59, 82.40, 142.49°)
OKLaboklab(78.51% -0.1763 0.1187)
OKLCHoklch(78.51% 0.213 146)
XYZxyz(29.3756, 52.5225, 18.7128)
Luminance0.5253 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40DB5C #DB40BF
analogous
#71DB40 #40DB5C #40DBAA
triadic
#40DB5C #5C40DB #DB5C40
tetradic
#40DB5C #4071DB #DB40BF #DBAA40
square
#40DB5C #4071DB #DB40BF #DBAA40
split-complementary
#40DB5C #AA40DB #DB4071
monochromatic
#19872D #23BB3F #40DB5C #73E588 #A7EEB4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40DB5C#FFFFFF#000000##000000
##40DB5C1.001.8311.5111.51
#FFFFFF1.831.0021.0021.00
#00000011.5121.001.001.00
##00000011.5121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40db5c;
/* rgb */ color: rgb(64, 219, 92);
/* oklch */ color: oklch(78.5% 0.213 146.0);
Tailwind
colors: {
  custom: {
    50: '#8ae78e',
    500: '#40db5c',
    950: '#000000',
  },
}
SCSS
$custom: #40db5c;
$custom-light: #8ae78e;
$custom-dark: #000000;
JSON
{
  "hex": "#40db5c",
  "rgb": {
    "r": 64,
    "g": 219,
    "b": 92
  },
  "hsl": {
    "h": 130.839,
    "s": 68.282,
    "l": 55.49
  },
  "oklch": {
    "l": 0.78507,
    "c": 0.21254,
    "h": 146
  },
  "luminance": 0.52526
}

Semantic roles & 50–950 ramp

primary
#40DB5C
secondary
#8D327D
accent
#3DCCEB
background
#FCFEFC
surface
#F4FDF4
border
#CED5CE
text
#0D160C
muted
#7F847F

Preview Lab

Preview with #40DB5C

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

Preview Lab → · Contrast checker → · Palette generator →

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