#40C772#40C772

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

Color values

HEX#40C772
RGBrgb(64, 199, 114)
HSLhsl(142, 55%, 52%)
HSVhsv(142, 68%, 78%)
CMYKcmyk(67.8%, 0%, 42.7%, 22%)
CIE-LABlab(71.66, -55.04, 32.20)
CIE-LCHlch(71.66, 63.77, 149.67°)
OKLaboklab(73.69% -0.1484 0.0796)
OKLCHoklch(73.69% 0.168 151.8)
XYZxyz(25.5729, 43.1490, 22.8972)
Luminance0.4315 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C772 #C74095
analogous
#52C740 #40C772 #40C7B6
triadic
#40C772 #7240C7 #C77240
tetradic
#40C772 #4052C7 #C74095 #C7B640
square
#40C772 #4052C7 #C74095 #C7B640
split-complementary
#40C772 #B640C7 #C74052
monochromatic
#206D3C #2E9C57 #40C772 #6FD595 #9FE3B8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40C772#FFFFFF#000000##000000
##40C7721.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)
#C8B76C
Deuteranopia (green-blind)
#B7AB78
Tritanopia (blue-blind)
#00C4B2
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #40c772;
/* rgb */ color: rgb(64, 199, 114);
/* oklch */ color: oklch(73.7% 0.168 151.8);
Tailwind
colors: {
  custom: {
    50: '#85d99b',
    500: '#40c772',
    950: '#000000',
  },
}
SCSS
$custom: #40c772;
$custom-light: #85d99b;
$custom-dark: #000000;
JSON
{
  "hex": "#40c772",
  "rgb": {
    "r": 64,
    "g": 199,
    "b": 114
  },
  "hsl": {
    "h": 142.222,
    "s": 54.656,
    "l": 51.569
  },
  "oklch": {
    "l": 0.73693,
    "c": 0.16839,
    "h": 151.8
  },
  "luminance": 0.43152
}

Semantic roles & 50–950 ramp

primary
#40C772
secondary
#CF94B9
accent
#4AA7DE
background
#F8FDF9
surface
#F0FBF2
border
#CBD4CC
text
#0C150E
muted
#7D837E

Preview Lab

Preview with #40C772

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

Preview Lab → · Contrast checker → · Palette generator →

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