#40E58E#40E58E

#40E58E is a light, vivid green. Relative luminance 0.591; OKLCH L 81.8% C 0.182 H 155.1°. Best body text is #000000 at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#40E58E
RGBrgb(64, 229, 142)
HSLhsl(148, 76%, 57%)
HSVhsv(148, 72%, 90%)
CMYKcmyk(72.1%, 0%, 38%, 10.2%)
CIE-LABlab(81.33, -61.12, 30.63)
CIE-LCHlch(81.33, 68.36, 153.38°)
OKLaboklab(81.82% -0.165 0.0765)
OKLCHoklch(81.82% 0.182 155.1)
XYZxyz(35.0129, 59.0776, 35.1438)
Luminance0.5908 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40E58E #E54097
analogous
#44E540 #40E58E #40E5E1
triadic
#40E58E #8E40E5 #E58E40
tetradic
#40E58E #4044E5 #E54097 #E5E140
square
#40E58E #4044E5 #E54097 #E5E140
split-complementary
#40E58E #E140E5 #E54044
monochromatic
#149652 #1CCC6F #40E58E #76ECAE #ACF4CE

Accessibility & contrast

On white

1.64
#40E58E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.82
#40E58E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40E58E
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40E58E#FFFFFF#000000##000000
##40E58E1.001.6412.8212.82
#FFFFFF1.641.0021.0021.00
#00000012.8221.001.001.00
##00000012.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4D388
Deuteranopia (green-blind)
#D0C494
Tritanopia (blue-blind)
#00E3CF
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #40e58e;
/* rgb */ color: rgb(64, 229, 142);
/* oklch */ color: oklch(81.8% 0.182 155.1);
Tailwind
colors: {
  custom: {
    50: '#8aeeaf',
    500: '#40e58e',
    950: '#000000',
  },
}
SCSS
$custom: #40e58e;
$custom-light: #8aeeaf;
$custom-dark: #000000;
JSON
{
  "hex": "#40e58e",
  "rgb": {
    "r": 64,
    "g": 229,
    "b": 142
  },
  "hsl": {
    "h": 148.364,
    "s": 76.037,
    "l": 57.451
  },
  "oklch": {
    "l": 0.81818,
    "c": 0.18188,
    "h": 155.1
  },
  "luminance": 0.59082
}

Semantic roles & 50–950 ramp

primary
#40E58E
secondary
#9A2F68
accent
#3599F3
background
#FCFFFD
surface
#F4FEF7
border
#CED6D0
text
#0D1610
muted
#7F8581

Preview Lab

Preview with #40E58E

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

Preview Lab → · Contrast checker → · Palette generator →

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