#40E27F#40E27F

#40E27F is a light, vivid green. Relative luminance 0.570; OKLCH L 80.8% C 0.191 H 151.8°. Best body text is #000000 at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#40E27F
RGBrgb(64, 226, 127)
HSLhsl(143, 74%, 57%)
HSVhsv(143, 72%, 89%)
CMYKcmyk(71.7%, 0%, 43.8%, 11.4%)
CIE-LABlab(80.19, -62.68, 36.67)
CIE-LCHlch(80.19, 72.62, 149.67°)
OKLaboklab(80.79% -0.1687 0.0903)
OKLCHoklch(80.79% 0.191 151.8)
XYZxyz(33.1386, 57.0112, 29.3323)
Luminance0.5702 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40E27F #E240A3
analogous
#52E240 #40E27F #40E2D0
triadic
#40E27F #7F40E2 #E27F40
tetradic
#40E27F #4052E2 #E240A3 #E2D040
square
#40E27F #4052E2 #E240A3 #E2D040
split-complementary
#40E27F #D040E2 #E24052
monochromatic
#169246 #1EC760 #40E27F #75EAA3 #AAF2C6

Accessibility & contrast

On white

1.69
#40E27F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.40
#40E27F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40E27F
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40E27F#FFFFFF#000000##000000
##40E27F1.001.6912.4012.40
#FFFFFF1.691.0021.0021.00
#00000012.4021.001.001.00
##00000012.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CF78
Deuteranopia (green-blind)
#CFC186
Tritanopia (blue-blind)
#00DFCA
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #40e27f;
/* rgb */ color: rgb(64, 226, 127);
/* oklch */ color: oklch(80.8% 0.191 151.8);
Tailwind
colors: {
  custom: {
    50: '#8aeca5',
    500: '#40e27f',
    950: '#000000',
  },
}
SCSS
$custom: #40e27f;
$custom-light: #8aeca5;
$custom-dark: #000000;
JSON
{
  "hex": "#40e27f",
  "rgb": {
    "r": 64,
    "g": 226,
    "b": 127
  },
  "hsl": {
    "h": 143.333,
    "s": 73.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.80794,
    "c": 0.19139,
    "h": 151.8
  },
  "luminance": 0.57015
}

Semantic roles & 50–950 ramp

primary
#40E27F
secondary
#96306E
accent
#38A8F0
background
#FCFFFC
surface
#F4FEF6
border
#CED6D0
text
#0D160F
muted
#7F8580

Preview Lab

Preview with #40E27F

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

Preview Lab → · Contrast checker → · Palette generator →

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