#40E38E#40E38E

#40E38E is a light, vivid green. Relative luminance 0.580; OKLCH L 81.3% C 0.179 H 155.4°. Best body text is #000000 at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#40E38E
RGBrgb(64, 227, 142)
HSLhsl(149, 74%, 57%)
HSVhsv(149, 72%, 89%)
CMYKcmyk(71.8%, 0%, 37.4%, 11%)
CIE-LABlab(80.73, -60.38, 29.82)
CIE-LCHlch(80.73, 67.34, 153.72°)
OKLaboklab(81.32% -0.1631 0.0746)
OKLCHoklch(81.32% 0.179 155.4)
XYZxyz(34.4627, 57.9772, 34.9604)
Luminance0.5798 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40E38E #E34095
analogous
#44E340 #40E38E #40E3E0
triadic
#40E38E #8E40E3 #E38E40
tetradic
#40E38E #4044E3 #E34095 #E3E040
square
#40E38E #4044E3 #E34095 #E3E040
split-complementary
#40E38E #E040E3 #E34044
monochromatic
#169352 #1DC86F #40E38E #75EBAE #ABF3CD

Accessibility & contrast

On white

1.67
#40E38E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.60
#40E38E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40E38E
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40E38E#FFFFFF#000000##000000
##40E38E1.001.6712.6012.60
#FFFFFF1.671.0021.0021.00
#00000012.6021.001.001.00
##00000012.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2D188
Deuteranopia (green-blind)
#CEC394
Tritanopia (blue-blind)
#00E1CD
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #40e38e;
/* rgb */ color: rgb(64, 227, 142);
/* oklch */ color: oklch(81.3% 0.179 155.4);
Tailwind
colors: {
  custom: {
    50: '#8aedaf',
    500: '#40e38e',
    950: '#000000',
  },
}
SCSS
$custom: #40e38e;
$custom-light: #8aedaf;
$custom-dark: #000000;
JSON
{
  "hex": "#40e38e",
  "rgb": {
    "r": 64,
    "g": 227,
    "b": 142
  },
  "hsl": {
    "h": 148.712,
    "s": 74.429,
    "l": 57.059
  },
  "oklch": {
    "l": 0.81317,
    "c": 0.17934,
    "h": 155.4
  },
  "luminance": 0.57981
}

Semantic roles & 50–950 ramp

primary
#40E38E
secondary
#973066
accent
#3798F1
background
#FCFFFD
surface
#F4FEF7
border
#CED6D0
text
#0D1610
muted
#7F8581

Preview Lab

Preview with #40E38E

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

Preview Lab → · Contrast checker → · Palette generator →

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