#40C771#40C771

#40C771 is a light, vivid green. Relative luminance 0.431; OKLCH L 73.7% C 0.169 H 151.5°. Best body text is #000000 at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#40C771
RGBrgb(64, 199, 113)
HSLhsl(142, 55%, 52%)
HSVhsv(142, 68%, 78%)
CMYKcmyk(67.8%, 0%, 43.2%, 22%)
CIE-LABlab(71.64, -55.21, 32.69)
CIE-LCHlch(71.64, 64.16, 149.37°)
OKLaboklab(73.68% -0.1489 0.0807)
OKLCHoklch(73.68% 0.169 151.5)
XYZxyz(25.5163, 43.1263, 22.5991)
Luminance0.4313 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C771 #C74096
analogous
#53C740 #40C771 #40C7B5
triadic
#40C771 #7140C7 #C77140
tetradic
#40C771 #4053C7 #C74096 #C7B540
square
#40C771 #4053C7 #C74096 #C7B540
split-complementary
#40C771 #B540C7 #C74053
monochromatic
#206D3C #2E9C56 #40C771 #6FD594 #9FE3B7

Accessibility & contrast

On white

2.18
#40C771 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.63
#40C771 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C771
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C771#FFFFFF#000000##000000
##40C7711.002.189.639.63
#FFFFFF2.181.0021.0021.00
#0000009.6321.001.001.00
##0000009.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B76B
Deuteranopia (green-blind)
#B7AB77
Tritanopia (blue-blind)
#00C4B2
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #40c771;
/* rgb */ color: rgb(64, 199, 113);
/* oklch */ color: oklch(73.7% 0.169 151.5);
Tailwind
colors: {
  custom: {
    50: '#85d99b',
    500: '#40c771',
    950: '#000000',
  },
}
SCSS
$custom: #40c771;
$custom-light: #85d99b;
$custom-dark: #000000;
JSON
{
  "hex": "#40c771",
  "rgb": {
    "r": 64,
    "g": 199,
    "b": 113
  },
  "hsl": {
    "h": 141.778,
    "s": 54.656,
    "l": 51.569
  },
  "oklch": {
    "l": 0.73675,
    "c": 0.16931,
    "h": 151.5
  },
  "luminance": 0.43129
}

Semantic roles & 50–950 ramp

primary
#40C771
secondary
#CF94BA
accent
#4AA8DE
background
#F8FDF9
surface
#F0FBF2
border
#CBD4CC
text
#0C150E
muted
#7D837E

Preview Lab

Preview with #40C771

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

Preview Lab → · Contrast checker → · Palette generator →

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