#40C76F#40C76F

#40C76F is a light, vivid green. Relative luminance 0.431; OKLCH L 73.6% C 0.171 H 151.0°. Best body text is #000000 at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#40C76F
RGBrgb(64, 199, 111)
HSLhsl(141, 55%, 52%)
HSVhsv(141, 68%, 78%)
CMYKcmyk(67.8%, 0%, 44.2%, 22%)
CIE-LABlab(71.61, -55.55, 33.67)
CIE-LCHlch(71.61, 64.96, 148.78°)
OKLaboklab(73.64% -0.1497 0.0829)
OKLCHoklch(73.64% 0.171 151)
XYZxyz(25.4050, 43.0818, 22.0126)
Luminance0.4309 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C76F #C74098
analogous
#55C740 #40C76F #40C7B3
triadic
#40C76F #6F40C7 #C76F40
tetradic
#40C76F #4055C7 #C74098 #C7B340
square
#40C76F #4055C7 #C74098 #C7B340
split-complementary
#40C76F #B340C7 #C74055
monochromatic
#206D3B #2E9C54 #40C76F #6FD593 #9FE3B6

Accessibility & contrast

On white

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

On black

9.62
#40C76F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C76F
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C76F#FFFFFF#000000##000000
##40C76F1.002.189.629.62
#FFFFFF2.181.0021.0021.00
#0000009.6221.001.001.00
##0000009.6221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40c76f;
/* rgb */ color: rgb(64, 199, 111);
/* oklch */ color: oklch(73.6% 0.171 151.0);
Tailwind
colors: {
  custom: {
    50: '#85d999',
    500: '#40c76f',
    950: '#000000',
  },
}
SCSS
$custom: #40c76f;
$custom-light: #85d999;
$custom-dark: #000000;
JSON
{
  "hex": "#40c76f",
  "rgb": {
    "r": 64,
    "g": 199,
    "b": 111
  },
  "hsl": {
    "h": 140.889,
    "s": 54.656,
    "l": 51.569
  },
  "oklch": {
    "l": 0.73641,
    "c": 0.17114,
    "h": 151
  },
  "luminance": 0.43085
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40C76F

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

Preview Lab → · Contrast checker → · Palette generator →

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