#40E370#40E370

#40E370 is a light, highly saturated green. Relative luminance 0.572; OKLCH L 80.8% C 0.206 H 148.8°. Best body text is #000000 at 12.44:1 contrast (WCAG AA passes).

Color values

HEX#40E370
RGBrgb(64, 227, 112)
HSLhsl(138, 74%, 57%)
HSVhsv(138, 72%, 89%)
CMYKcmyk(71.8%, 0%, 50.7%, 11%)
CIE-LABlab(80.29, -65.38, 44.12)
CIE-LCHlch(80.29, 78.87, 145.99°)
OKLaboklab(80.81% -0.1759 0.1067)
OKLCHoklch(80.81% 0.206 148.8)
XYZxyz(32.5055, 57.1943, 24.6526)
Luminance0.5720 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40E370 #E340B3
analogous
#62E340 #40E370 #40E3C2
triadic
#40E370 #7040E3 #E37040
tetradic
#40E370 #4062E3 #E340B3 #E3C240
square
#40E370 #4062E3 #E340B3 #E3C240
split-complementary
#40E370 #C240E3 #E34062
monochromatic
#16933B #1DC850 #40E370 #75EB98 #ABF3C0

Accessibility & contrast

On white

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

On black

12.44
#40E370 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40E370
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40E370#FFFFFF#000000##000000
##40E3701.001.6912.4412.44
#FFFFFF1.691.0021.0021.00
#00000012.4421.001.001.00
##00000012.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CF66
Deuteranopia (green-blind)
#D2C278
Tritanopia (blue-blind)
#00DFC8
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #40e370;
/* rgb */ color: rgb(64, 227, 112);
/* oklch */ color: oklch(80.8% 0.206 148.8);
Tailwind
colors: {
  custom: {
    50: '#8bed9b',
    500: '#40e370',
    950: '#000000',
  },
}
SCSS
$custom: #40e370;
$custom-light: #8bed9b;
$custom-dark: #000000;
JSON
{
  "hex": "#40e370",
  "rgb": {
    "r": 64,
    "g": 227,
    "b": 112
  },
  "hsl": {
    "h": 137.669,
    "s": 74.429,
    "l": 57.059
  },
  "oklch": {
    "l": 0.80813,
    "c": 0.20572,
    "h": 148.8
  },
  "luminance": 0.57198
}

Semantic roles & 50–950 ramp

primary
#40E370
secondary
#973079
accent
#37BAF1
background
#FCFFFC
surface
#F4FEF5
border
#CED6CF
text
#0D160E
muted
#7F857F

Preview Lab

Preview with #40E370

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

Preview Lab → · Contrast checker → · Palette generator →

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