#40E056#40E056

#40E056 is a light, highly saturated green. Relative luminance 0.551; OKLCH L 79.7% C 0.223 H 145.1°. Best body text is #000000 at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#40E056
RGBrgb(64, 224, 86)
HSLhsl(128, 72%, 56%)
HSVhsv(128, 71%, 88%)
CMYKcmyk(71.4%, 0%, 61.6%, 12.2%)
CIE-LABlab(79.08, -67.72, 54.52)
CIE-LCHlch(79.08, 86.94, 141.16°)
OKLaboklab(79.72% -0.1829 0.1276)
OKLCHoklch(79.72% 0.223 145.1)
XYZxyz(30.4476, 55.0698, 17.8272)
Luminance0.5507 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40E056 #E040CA
analogous
#7AE040 #40E056 #40E0A6
triadic
#40E056 #5640E0 #E05640
tetradic
#40E056 #407AE0 #E040CA #E0A640
square
#40E056 #407AE0 #E040CA #E0A640
split-complementary
#40E056 #A640E0 #E0407A
monochromatic
#178E28 #20C336 #40E056 #75E985 #A9F1B3

Accessibility & contrast

On white

1.75
#40E056 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.01
#40E056 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40E056
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40E056#FFFFFF#000000##000000
##40E0561.001.7512.0112.01
#FFFFFF1.751.0021.0021.00
#00000012.0121.001.001.00
##00000012.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CC46
Deuteranopia (green-blind)
#D1BF62
Tritanopia (blue-blind)
#00DAC3
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #40e056;
/* rgb */ color: rgb(64, 224, 86);
/* oklch */ color: oklch(79.7% 0.223 145.1);
Tailwind
colors: {
  custom: {
    50: '#8beb8a',
    500: '#40e056',
    950: '#000000',
  },
}
SCSS
$custom: #40e056;
$custom-light: #8beb8a;
$custom-dark: #000000;
JSON
{
  "hex": "#40e056",
  "rgb": {
    "r": 64,
    "g": 224,
    "b": 86
  },
  "hsl": {
    "h": 128.25,
    "s": 72.072,
    "l": 56.471
  },
  "oklch": {
    "l": 0.79722,
    "c": 0.22298,
    "h": 145.1
  },
  "luminance": 0.55073
}

Semantic roles & 50–950 ramp

primary
#40E056
secondary
#943186
accent
#39D6EF
background
#FCFFFC
surface
#F5FEF4
border
#CFD6CE
text
#0E160C
muted
#7F857F

Preview Lab

Preview with #40E056

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

Preview Lab → · Contrast checker → · Palette generator →

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