#40C77E#40C77E

#40C77E is a light, vivid green. Relative luminance 0.434; OKLCH L 73.9% C 0.157 H 155.3°. Best body text is #000000 at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#40C77E
RGBrgb(64, 199, 126)
HSLhsl(148, 55%, 52%)
HSVhsv(148, 68%, 78%)
CMYKcmyk(67.8%, 0%, 36.7%, 22%)
CIE-LABlab(71.85, -52.85, 26.23)
CIE-LCHlch(71.85, 59.01, 153.60°)
OKLaboklab(73.92% -0.143 0.0657)
OKLCHoklch(73.92% 0.157 155.3)
XYZxyz(26.3013, 43.4403, 26.7333)
Luminance0.4344 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C77E #C74089
analogous
#46C740 #40C77E #40C7C2
triadic
#40C77E #7E40C7 #C77E40
tetradic
#40C77E #4046C7 #C74089 #C7C240
square
#40C77E #4046C7 #C74089 #C7C240
split-complementary
#40C77E #C240C7 #C74046
monochromatic
#206D43 #2E9C60 #40C77E #6FD59E #9FE3BE

Accessibility & contrast

On white

2.17
#40C77E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.69
#40C77E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C77E
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C77E#FFFFFF#000000##000000
##40C77E1.002.179.699.69
#FFFFFF2.171.0021.0021.00
#0000009.6921.001.001.00
##0000009.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B779
Deuteranopia (green-blind)
#B5AB83
Tritanopia (blue-blind)
#00C5B4
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #40c77e;
/* rgb */ color: rgb(64, 199, 126);
/* oklch */ color: oklch(73.9% 0.157 155.3);
Tailwind
colors: {
  custom: {
    50: '#85d9a4',
    500: '#40c77e',
    950: '#000000',
  },
}
SCSS
$custom: #40c77e;
$custom-light: #85d9a4;
$custom-dark: #000000;
JSON
{
  "hex": "#40c77e",
  "rgb": {
    "r": 64,
    "g": 199,
    "b": 126
  },
  "hsl": {
    "h": 147.556,
    "s": 54.656,
    "l": 51.569
  },
  "oklch": {
    "l": 0.7392,
    "c": 0.1574,
    "h": 155.3
  },
  "luminance": 0.43443
}

Semantic roles & 50–950 ramp

primary
#40C77E
secondary
#CF94B4
accent
#4A9ADE
background
#F8FDFA
surface
#F0FBF4
border
#CBD4CE
text
#0C150F
muted
#7D837F

Preview Lab

Preview with #40C77E

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

Preview Lab → · Contrast checker → · Palette generator →

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