#40CC76#40CC76

#40CC76 is a light, vivid green. Relative luminance 0.456; OKLCH L 75.0% C 0.171 H 152.2°. Best body text is #000000 at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#40CC76
RGBrgb(64, 204, 118)
HSLhsl(143, 58%, 53%)
HSVhsv(143, 69%, 80%)
CMYKcmyk(68.6%, 0%, 42.2%, 20%)
CIE-LABlab(73.27, -56.21, 32.25)
CIE-LCHlch(73.27, 64.81, 150.16°)
OKLaboklab(75.05% -0.1516 0.0798)
OKLCHoklch(75.05% 0.171 152.2)
XYZxyz(26.9749, 45.5808, 24.5124)
Luminance0.4558 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40CC76 #CC4096
analogous
#50CC40 #40CC76 #40CCBC
triadic
#40CC76 #7640CC #CC7640
tetradic
#40CC76 #4050CC #CC4096 #CCBC40
square
#40CC76 #4050CC #CC4096 #CCBC40
split-complementary
#40CC76 #BC40CC #CC4050
monochromatic
#1F733F #2CA35A #40CC76 #70D999 #A1E6BB

Accessibility & contrast

On white

2.08
#40CC76 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.12
#40CC76 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40CC76
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40CC76#FFFFFF#000000##000000
##40CC761.002.0810.1210.12
#FFFFFF2.081.0021.0021.00
#00000010.1221.001.001.00
##00000010.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCBB70
Deuteranopia (green-blind)
#BBAF7C
Tritanopia (blue-blind)
#00C9B7
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #40cc76;
/* rgb */ color: rgb(64, 204, 118);
/* oklch */ color: oklch(75.0% 0.171 152.2);
Tailwind
colors: {
  custom: {
    50: '#86dd9e',
    500: '#40cc76',
    950: '#000000',
  },
}
SCSS
$custom: #40cc76;
$custom-light: #86dd9e;
$custom-dark: #000000;
JSON
{
  "hex": "#40cc76",
  "rgb": {
    "r": 64,
    "g": 204,
    "b": 118
  },
  "hsl": {
    "h": 143.143,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.75046,
    "c": 0.17129,
    "h": 152.2
  },
  "luminance": 0.45584
}

Semantic roles & 50–950 ramp

primary
#40CC76
secondary
#D295BB
accent
#47A6E1
background
#F8FDF9
surface
#F0FBF2
border
#CBD4CC
text
#0C150E
muted
#7D837E

Preview Lab

Preview with #40CC76

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

Preview Lab → · Contrast checker → · Palette generator →

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