#40DF4A#40DF4A

#40DF4A is a light, highly saturated green. Relative luminance 0.544; OKLCH L 79.3% C 0.230 H 143.8°. Best body text is #000000 at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#40DF4A
RGBrgb(64, 223, 74)
HSLhsl(124, 71%, 56%)
HSVhsv(124, 71%, 87%)
CMYKcmyk(71.3%, 0%, 66.8%, 12.5%)
CIE-LABlab(78.67, -68.62, 59.01)
CIE-LCHlch(78.67, 90.51, 139.31°)
OKLaboklab(79.35% -0.1858 0.1359)
OKLCHoklch(79.35% 0.23 143.8)
XYZxyz(29.7362, 54.3564, 15.4019)
Luminance0.5436 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40DF4A #DF40D5
analogous
#86DF40 #40DF4A #40DF9A
triadic
#40DF4A #4A40DF #DF4A40
tetradic
#40DF4A #4086DF #DF40D5 #DF9A40
square
#40DF4A #4086DF #DF40D5 #DF9A40
split-complementary
#40DF4A #9A40DF #DF4086
monochromatic
#188D1F #20C12B #40DF4A #74E87C #A9F1AD

Accessibility & contrast

On white

1.77
#40DF4A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.87
#40DF4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40DF4A
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40DF4A#FFFFFF#000000##000000
##40DF4A1.001.7711.8711.87
#FFFFFF1.771.0021.0021.00
#00000011.8721.001.001.00
##00000011.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CA36
Deuteranopia (green-blind)
#D1BE58
Tritanopia (blue-blind)
#00D9C1
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #40df4a;
/* rgb */ color: rgb(64, 223, 74);
/* oklch */ color: oklch(79.3% 0.230 143.8);
Tailwind
colors: {
  custom: {
    50: '#8bea83',
    500: '#40df4a',
    950: '#000000',
  },
}
SCSS
$custom: #40df4a;
$custom-light: #8bea83;
$custom-dark: #000000;
JSON
{
  "hex": "#40df4a",
  "rgb": {
    "r": 64,
    "g": 223,
    "b": 74
  },
  "hsl": {
    "h": 123.774,
    "s": 71.3,
    "l": 56.275
  },
  "oklch": {
    "l": 0.79347,
    "c": 0.23024,
    "h": 143.8
  },
  "luminance": 0.5436
}

Semantic roles & 50–950 ramp

primary
#40DF4A
secondary
#92318C
accent
#3AE3EE
background
#FCFFFB
surface
#F5FEF2
border
#CFD6CC
text
#0E160B
muted
#7F857E

Preview Lab

Preview with #40DF4A

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

Preview Lab → · Contrast checker → · Palette generator →

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