#40C76C#40C76C

#40C76C is a light, vivid green. Relative luminance 0.430; OKLCH L 73.6% C 0.174 H 150.3°. Best body text is #000000 at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#40C76C
RGBrgb(64, 199, 108)
HSLhsl(140, 55%, 52%)
HSVhsv(140, 68%, 78%)
CMYKcmyk(67.8%, 0%, 45.7%, 22%)
CIE-LABlab(71.57, -56.05, 35.14)
CIE-LCHlch(71.57, 66.15, 147.92°)
OKLaboklab(73.59% -0.151 0.0861)
OKLCHoklch(73.59% 0.174 150.3)
XYZxyz(25.2425, 43.0168, 21.1572)
Luminance0.4302 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C76C #C7409B
analogous
#58C740 #40C76C #40C7B0
triadic
#40C76C #6C40C7 #C76C40
tetradic
#40C76C #4058C7 #C7409B #C7B040
square
#40C76C #4058C7 #C7409B #C7B040
split-complementary
#40C76C #B040C7 #C74058
monochromatic
#206D39 #2E9C52 #40C76C #6FD590 #9FE3B5

Accessibility & contrast

On white

2.19
#40C76C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.60
#40C76C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C76C
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C76C#FFFFFF#000000##000000
##40C76C1.002.199.609.60
#FFFFFF2.191.0021.0021.00
#0000009.6021.001.001.00
##0000009.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B665
Deuteranopia (green-blind)
#B7AB72
Tritanopia (blue-blind)
#00C4B1
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #40c76c;
/* rgb */ color: rgb(64, 199, 108);
/* oklch */ color: oklch(73.6% 0.174 150.3);
Tailwind
colors: {
  custom: {
    50: '#85d997',
    500: '#40c76c',
    950: '#000000',
  },
}
SCSS
$custom: #40c76c;
$custom-light: #85d997;
$custom-dark: #000000;
JSON
{
  "hex": "#40c76c",
  "rgb": {
    "r": 64,
    "g": 199,
    "b": 108
  },
  "hsl": {
    "h": 139.556,
    "s": 54.656,
    "l": 51.569
  },
  "oklch": {
    "l": 0.7359,
    "c": 0.17388,
    "h": 150.3
  },
  "luminance": 0.4302
}

Semantic roles & 50–950 ramp

primary
#40C76C
secondary
#CF94BC
accent
#4AAEDE
background
#F8FDF9
surface
#F0FBF2
border
#CBD4CC
text
#0C150D
muted
#7D837E

Preview Lab

Preview with #40C76C

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

Preview Lab → · Contrast checker → · Palette generator →

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