#40E38F#40E38F

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

Color values

HEX#40E38F
RGBrgb(64, 227, 143)
HSLhsl(149, 74%, 57%)
HSVhsv(149, 72%, 89%)
CMYKcmyk(71.8%, 0%, 37%, 11%)
CIE-LABlab(80.74, -60.20, 29.33)
CIE-LCHlch(80.74, 66.96, 154.02°)
OKLaboklab(81.34% -0.1626 0.0734)
OKLCHoklch(81.34% 0.178 155.7)
XYZxyz(34.5381, 58.0073, 35.3576)
Luminance0.5801 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40E38F #E34094
analogous
#43E340 #40E38F #40E3E1
triadic
#40E38F #8F40E3 #E38F40
tetradic
#40E38F #4043E3 #E34094 #E3E140
square
#40E38F #4043E3 #E34094 #E3E140
split-complementary
#40E38F #E140E3 #E34043
monochromatic
#169352 #1DC870 #40E38F #75EBAE #ABF3CE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40E38F#FFFFFF#000000##000000
##40E38F1.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)
#E2D189
Deuteranopia (green-blind)
#CEC395
Tritanopia (blue-blind)
#00E1CE
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #40e38f;
/* rgb */ color: rgb(64, 227, 143);
/* oklch */ color: oklch(81.3% 0.178 155.7);
Tailwind
colors: {
  custom: {
    50: '#8aedb0',
    500: '#40e38f',
    950: '#000000',
  },
}
SCSS
$custom: #40e38f;
$custom-light: #8aedb0;
$custom-dark: #000000;
JSON
{
  "hex": "#40e38f",
  "rgb": {
    "r": 64,
    "g": 227,
    "b": 143
  },
  "hsl": {
    "h": 149.08,
    "s": 74.429,
    "l": 57.059
  },
  "oklch": {
    "l": 0.81336,
    "c": 0.17846,
    "h": 155.7
  },
  "luminance": 0.58011
}

Semantic roles & 50–950 ramp

primary
#40E38F
secondary
#973065
accent
#3797F1
background
#FCFFFD
surface
#F4FEF7
border
#CED6D0
text
#0D1610
muted
#7F8581

Preview Lab

Preview with #40E38F

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

Preview Lab → · Contrast checker → · Palette generator →

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