#40C77C#40C77C

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

Color values

HEX#40C77C
RGBrgb(64, 199, 124)
HSLhsl(147, 55%, 52%)
HSVhsv(147, 68%, 78%)
CMYKcmyk(67.8%, 0%, 37.7%, 22%)
CIE-LABlab(71.82, -53.23, 27.24)
CIE-LCHlch(71.82, 59.79, 152.90°)
OKLaboklab(73.88% -0.1439 0.0681)
OKLCHoklch(73.88% 0.159 154.7)
XYZxyz(26.1735, 43.3892, 26.0604)
Luminance0.4339 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C77C #C7408B
analogous
#48C740 #40C77C #40C7C0
triadic
#40C77C #7C40C7 #C77C40
tetradic
#40C77C #4048C7 #C7408B #C7C040
square
#40C77C #4048C7 #C7408B #C7C040
split-complementary
#40C77C #C040C7 #C74048
monochromatic
#206D42 #2E9C5F #40C77C #6FD59C #9FE3BD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40C77C#FFFFFF#000000##000000
##40C77C1.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)
#C6B777
Deuteranopia (green-blind)
#B5AB81
Tritanopia (blue-blind)
#00C5B4
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #40c77c;
/* rgb */ color: rgb(64, 199, 124);
/* oklch */ color: oklch(73.9% 0.159 154.7);
Tailwind
colors: {
  custom: {
    50: '#85d9a2',
    500: '#40c77c',
    950: '#000000',
  },
}
SCSS
$custom: #40c77c;
$custom-light: #85d9a2;
$custom-dark: #000000;
JSON
{
  "hex": "#40c77c",
  "rgb": {
    "r": 64,
    "g": 199,
    "b": 124
  },
  "hsl": {
    "h": 146.667,
    "s": 54.656,
    "l": 51.569
  },
  "oklch": {
    "l": 0.7388,
    "c": 0.15922,
    "h": 154.7
  },
  "luminance": 0.43392
}

Semantic roles & 50–950 ramp

primary
#40C77C
secondary
#CF94B5
accent
#4A9CDE
background
#F8FDFA
surface
#F0FBF3
border
#CBD4CD
text
#0C150F
muted
#7D837F

Preview Lab

Preview with #40C77C

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

Preview Lab → · Contrast checker → · Palette generator →

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