#40C57E#40C57E

#40C57E is a light, vivid green. Relative luminance 0.425; OKLCH L 73.4% C 0.155 H 155.7°. Best body text is #000000 at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#40C57E
RGBrgb(64, 197, 126)
HSLhsl(148, 53%, 51%)
HSVhsv(148, 68%, 77%)
CMYKcmyk(67.5%, 0%, 36%, 22.7%)
CIE-LABlab(71.23, -52.08, 25.40)
CIE-LCHlch(71.23, 57.94, 154.00°)
OKLaboklab(73.41% -0.141 0.0638)
OKLCHoklch(73.41% 0.155 155.7)
XYZxyz(25.8442, 42.5260, 26.5809)
Luminance0.4253 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C57E #C54087
analogous
#44C540 #40C57E #40C5C0
triadic
#40C57E #7E40C5 #C57E40
tetradic
#40C57E #4044C5 #C54087 #C5C040
square
#40C57E #4044C5 #C54087 #C5C040
split-complementary
#40C57E #C040C5 #C54044
monochromatic
#206A43 #2F9960 #40C57E #6FD39E #9EE2BD

Accessibility & contrast

On white

2.21
#40C57E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.51
#40C57E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C57E
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C57E#FFFFFF#000000##000000
##40C57E1.002.219.519.51
#FFFFFF2.211.0021.0021.00
#0000009.5121.001.001.00
##0000009.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B679
Deuteranopia (green-blind)
#B3AA83
Tritanopia (blue-blind)
#00C3B3
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #40c57e;
/* rgb */ color: rgb(64, 197, 126);
/* oklch */ color: oklch(73.4% 0.155 155.7);
Tailwind
colors: {
  custom: {
    50: '#84d7a4',
    500: '#40c57e',
    950: '#000000',
  },
}
SCSS
$custom: #40c57e;
$custom-light: #84d7a4;
$custom-dark: #000000;
JSON
{
  "hex": "#40c57e",
  "rgb": {
    "r": 64,
    "g": 197,
    "b": 126
  },
  "hsl": {
    "h": 147.97,
    "s": 53.414,
    "l": 51.176
  },
  "oklch": {
    "l": 0.73409,
    "c": 0.15474,
    "h": 155.7
  },
  "luminance": 0.42529
}

Semantic roles & 50–950 ramp

primary
#40C57E
secondary
#CE93B2
accent
#4B99DD
background
#F8FDFA
surface
#F0FAF4
border
#CBD3CE
text
#0C140F
muted
#7D837F

Preview Lab

Preview with #40C57E

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

Preview Lab → · Contrast checker → · Palette generator →

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