#40E240#40E240

#40E240 is a light, highly saturated green. Relative luminance 0.559; OKLCH L 80.0% C 0.240 H 142.9°. Best body text is #000000 at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#40E240
RGBrgb(64, 226, 64)
HSLhsl(120, 74%, 57%)
HSVhsv(120, 72%, 89%)
CMYKcmyk(71.7%, 0%, 71.7%, 11.4%)
CIE-LABlab(79.53, -70.44, 63.67)
CIE-LCHlch(79.53, 94.95, 137.89°)
OKLaboklab(80.04% -0.1912 0.1445)
OKLCHoklch(80.04% 0.24 142.9)
XYZxyz(30.2343, 55.8495, 14.0361)
Luminance0.5585 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40E240 #E240E2
analogous
#91E240 #40E240 #40E291
triadic
#40E240 #4040E2 #E24040
tetradic
#40E240 #4091E2 #E240E2 #E29140
square
#40E240 #4091E2 #E240E2 #E29140
split-complementary
#40E240 #9140E2 #E24091
monochromatic
#169216 #1EC71E #40E240 #75EA75 #AAF2AA

Accessibility & contrast

On white

1.73
#40E240 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.17
#40E240 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40E240
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40E240#FFFFFF#000000##000000
##40E2401.001.7312.1712.17
#FFFFFF1.731.0021.0021.00
#00000012.1721.001.001.00
##00000012.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CD23
Deuteranopia (green-blind)
#D4C051
Tritanopia (blue-blind)
#00DBC2
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #40e240;
/* rgb */ color: rgb(64, 226, 64);
/* oklch */ color: oklch(80.0% 0.240 142.9);
Tailwind
colors: {
  custom: {
    50: '#8cec7e',
    500: '#40e240',
    950: '#000000',
  },
}
SCSS
$custom: #40e240;
$custom-light: #8cec7e;
$custom-dark: #000000;
JSON
{
  "hex": "#40e240",
  "rgb": {
    "r": 64,
    "g": 226,
    "b": 64
  },
  "hsl": {
    "h": 120,
    "s": 73.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.80037,
    "c": 0.23969,
    "h": 142.9
  },
  "luminance": 0.55853
}

Semantic roles & 50–950 ramp

primary
#40E240
secondary
#963096
accent
#38F0F0
background
#FCFFFB
surface
#F5FEF2
border
#CFD6CC
text
#0E160B
muted
#7F857E

Preview Lab

Preview with #40E240

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

Preview Lab → · Contrast checker → · Palette generator →

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