#40C877#40C877

#40C877 is a light, vivid green. Relative luminance 0.437; OKLCH L 74.0% C 0.165 H 153.0°. Best body text is #000000 at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#40C877
RGBrgb(64, 200, 119)
HSLhsl(144, 55%, 52%)
HSVhsv(144, 68%, 78%)
CMYKcmyk(68%, 0%, 40.5%, 21.6%)
CIE-LABlab(72.05, -54.53, 30.13)
CIE-LCHlch(72.05, 62.31, 151.08°)
OKLaboklab(74.04% -0.1472 0.0749)
OKLCHoklch(74.04% 0.165 153)
XYZxyz(26.0962, 43.7276, 24.5142)
Luminance0.4373 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C877 #C84091
analogous
#4DC840 #40C877 #40C8BB
triadic
#40C877 #7740C8 #C87740
tetradic
#40C877 #404DC8 #C84091 #C8BB40
square
#40C877 #404DC8 #C84091 #C8BB40
split-complementary
#40C877 #BB40C8 #C8404D
monochromatic
#206E3F #2D9D5B #40C877 #70D699 #9FE3BB

Accessibility & contrast

On white

2.15
#40C877 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.75
#40C877 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C877
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C877#FFFFFF#000000##000000
##40C8771.002.159.759.75
#FFFFFF2.151.0021.0021.00
#0000009.7521.001.001.00
##0000009.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B871
Deuteranopia (green-blind)
#B7AC7C
Tritanopia (blue-blind)
#00C5B4
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #40c877;
/* rgb */ color: rgb(64, 200, 119);
/* oklch */ color: oklch(74.0% 0.165 153.0);
Tailwind
colors: {
  custom: {
    50: '#85da9f',
    500: '#40c877',
    950: '#000000',
  },
}
SCSS
$custom: #40c877;
$custom-light: #85da9f;
$custom-dark: #000000;
JSON
{
  "hex": "#40c877",
  "rgb": {
    "r": 64,
    "g": 200,
    "b": 119
  },
  "hsl": {
    "h": 144.265,
    "s": 55.285,
    "l": 51.765
  },
  "oklch": {
    "l": 0.7404,
    "c": 0.16512,
    "h": 153
  },
  "luminance": 0.4373
}

Semantic roles & 50–950 ramp

primary
#40C877
secondary
#D094B8
accent
#49A2DF
background
#F8FDF9
surface
#F0FBF2
border
#CBD4CC
text
#0C150E
muted
#7D837E

Preview Lab

Preview with #40C877

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

Preview Lab → · Contrast checker → · Palette generator →

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