#40C770#40C770

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

Color values

HEX#40C770
RGBrgb(64, 199, 112)
HSLhsl(141, 55%, 52%)
HSVhsv(141, 68%, 78%)
CMYKcmyk(67.8%, 0%, 43.7%, 22%)
CIE-LABlab(71.63, -55.38, 33.18)
CIE-LCHlch(71.63, 64.56, 149.07°)
OKLaboklab(73.66% -0.1493 0.0818)
OKLCHoklch(73.66% 0.17 151.3)
XYZxyz(25.4603, 43.1039, 22.3042)
Luminance0.4311 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C770 #C74097
analogous
#54C740 #40C770 #40C7B3
triadic
#40C770 #7040C7 #C77040
tetradic
#40C770 #4054C7 #C74097 #C7B340
square
#40C770 #4054C7 #C74097 #C7B340
split-complementary
#40C770 #B340C7 #C74054
monochromatic
#206D3B #2E9C55 #40C770 #6FD593 #9FE3B7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40C770#FFFFFF#000000##000000
##40C7701.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)
#C8B76A
Deuteranopia (green-blind)
#B7AB76
Tritanopia (blue-blind)
#00C4B2
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #40c770;
/* rgb */ color: rgb(64, 199, 112);
/* oklch */ color: oklch(73.7% 0.170 151.3);
Tailwind
colors: {
  custom: {
    50: '#85d99a',
    500: '#40c770',
    950: '#000000',
  },
}
SCSS
$custom: #40c770;
$custom-light: #85d99a;
$custom-dark: #000000;
JSON
{
  "hex": "#40c770",
  "rgb": {
    "r": 64,
    "g": 199,
    "b": 112
  },
  "hsl": {
    "h": 141.333,
    "s": 54.656,
    "l": 51.569
  },
  "oklch": {
    "l": 0.73658,
    "c": 0.17023,
    "h": 151.3
  },
  "luminance": 0.43107
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40C770

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

Preview Lab → · Contrast checker → · Palette generator →

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