#40DF5A#40DF5A

#40DF5A is a light, highly saturated green. Relative luminance 0.546; OKLCH L 79.5% C 0.219 H 145.6°. Best body text is #000000 at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#40DF5A
RGBrgb(64, 223, 90)
HSLhsl(130, 71%, 56%)
HSVhsv(130, 71%, 87%)
CMYKcmyk(71.3%, 0%, 59.6%, 12.5%)
CIE-LABlab(78.81, -66.93, 52.47)
CIE-LCHlch(78.81, 85.05, 141.90°)
OKLaboklab(79.51% -0.1806 0.1235)
OKLCHoklch(79.51% 0.219 145.6)
XYZxyz(30.3454, 54.6001, 18.6105)
Luminance0.5460 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40DF5A #DF40C5
analogous
#76DF40 #40DF5A #40DFA9
triadic
#40DF5A #5A40DF #DF5A40
tetradic
#40DF5A #4076DF #DF40C5 #DFA940
square
#40DF5A #4076DF #DF40C5 #DFA940
split-complementary
#40DF5A #A940DF #DF4076
monochromatic
#188D2B #20C13B #40DF5A #74E887 #A9F1B5

Accessibility & contrast

On white

1.76
#40DF5A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.92
#40DF5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40DF5A
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40DF5A#FFFFFF#000000##000000
##40DF5A1.001.7611.9211.92
#FFFFFF1.761.0021.0021.00
#00000011.9221.001.001.00
##00000011.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CB4C
Deuteranopia (green-blind)
#D0BE65
Tritanopia (blue-blind)
#00DAC2
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #40df5a;
/* rgb */ color: rgb(64, 223, 90);
/* oklch */ color: oklch(79.5% 0.219 145.6);
Tailwind
colors: {
  custom: {
    50: '#8aea8d',
    500: '#40df5a',
    950: '#000000',
  },
}
SCSS
$custom: #40df5a;
$custom-light: #8aea8d;
$custom-dark: #000000;
JSON
{
  "hex": "#40df5a",
  "rgb": {
    "r": 64,
    "g": 223,
    "b": 90
  },
  "hsl": {
    "h": 129.811,
    "s": 71.3,
    "l": 56.275
  },
  "oklch": {
    "l": 0.7951,
    "c": 0.21881,
    "h": 145.6
  },
  "luminance": 0.54604
}

Semantic roles & 50–950 ramp

primary
#40DF5A
secondary
#923182
accent
#3AD1EE
background
#FCFFFC
surface
#F4FEF4
border
#CED6CE
text
#0E160C
muted
#7F857F

Preview Lab

Preview with #40DF5A

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

Preview Lab → · Contrast checker → · Palette generator →

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