#40C77D#40C77D

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

Color values

HEX#40C77D
RGBrgb(64, 199, 125)
HSLhsl(147, 55%, 52%)
HSVhsv(147, 68%, 78%)
CMYKcmyk(67.8%, 0%, 37.2%, 22%)
CIE-LABlab(71.84, -53.04, 26.74)
CIE-LCHlch(71.84, 59.40, 153.25°)
OKLaboklab(73.9% -0.1435 0.0669)
OKLCHoklch(73.9% 0.158 155)
XYZxyz(26.2371, 43.4146, 26.3952)
Luminance0.4342 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C77D #C7408A
analogous
#47C740 #40C77D #40C7C1
triadic
#40C77D #7D40C7 #C77D40
tetradic
#40C77D #4047C7 #C7408A #C7C140
square
#40C77D #4047C7 #C7408A #C7C140
split-complementary
#40C77D #C140C7 #C74047
monochromatic
#206D43 #2E9C60 #40C77D #6FD59D #9FE3BD

Accessibility & contrast

On white

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

On black

9.68
#40C77D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C77D
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C77D#FFFFFF#000000##000000
##40C77D1.002.179.689.68
#FFFFFF2.171.0021.0021.00
#0000009.6821.001.001.00
##0000009.6821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40c77d;
/* rgb */ color: rgb(64, 199, 125);
/* oklch */ color: oklch(73.9% 0.158 155.0);
Tailwind
colors: {
  custom: {
    50: '#85d9a3',
    500: '#40c77d',
    950: '#000000',
  },
}
SCSS
$custom: #40c77d;
$custom-light: #85d9a3;
$custom-dark: #000000;
JSON
{
  "hex": "#40c77d",
  "rgb": {
    "r": 64,
    "g": 199,
    "b": 125
  },
  "hsl": {
    "h": 147.111,
    "s": 54.656,
    "l": 51.569
  },
  "oklch": {
    "l": 0.739,
    "c": 0.1583,
    "h": 155
  },
  "luminance": 0.43418
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40C77D

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

Preview Lab → · Contrast checker → · Palette generator →

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