#40C572#40C572

#40C572 is a light, vivid green. Relative luminance 0.422; OKLCH L 73.2% C 0.166 H 152.1°. Best body text is #000000 at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#40C572
RGBrgb(64, 197, 114)
HSLhsl(143, 53%, 51%)
HSVhsv(143, 68%, 77%)
CMYKcmyk(67.5%, 0%, 42.1%, 22.7%)
CIE-LABlab(71.03, -54.29, 31.39)
CIE-LCHlch(71.03, 62.71, 149.96°)
OKLaboklab(73.18% -0.1464 0.0777)
OKLCHoklch(73.18% 0.166 152.1)
XYZxyz(25.1158, 42.2347, 22.7448)
Luminance0.4224 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C572 #C54093
analogous
#50C540 #40C572 #40C5B4
triadic
#40C572 #7240C5 #C57240
tetradic
#40C572 #4050C5 #C54093 #C5B440
square
#40C572 #4050C5 #C54093 #C5B440
split-complementary
#40C572 #B440C5 #C54050
monochromatic
#206A3C #2F9957 #40C572 #6FD395 #9EE2B7

Accessibility & contrast

On white

2.22
#40C572 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.45
#40C572 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C572
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C572#FFFFFF#000000##000000
##40C5721.002.229.459.45
#FFFFFF2.221.0021.0021.00
#0000009.4521.001.001.00
##0000009.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B56C
Deuteranopia (green-blind)
#B5A978
Tritanopia (blue-blind)
#00C2B1
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #40c572;
/* rgb */ color: rgb(64, 197, 114);
/* oklch */ color: oklch(73.2% 0.166 152.1);
Tailwind
colors: {
  custom: {
    50: '#85d89b',
    500: '#40c572',
    950: '#000000',
  },
}
SCSS
$custom: #40c572;
$custom-light: #85d89b;
$custom-dark: #000000;
JSON
{
  "hex": "#40c572",
  "rgb": {
    "r": 64,
    "g": 197,
    "b": 114
  },
  "hsl": {
    "h": 142.556,
    "s": 53.414,
    "l": 51.176
  },
  "oklch": {
    "l": 0.73179,
    "c": 0.16575,
    "h": 152.1
  },
  "luminance": 0.42237
}

Semantic roles & 50–950 ramp

primary
#40C572
secondary
#CE93B8
accent
#4BA6DD
background
#F8FDF9
surface
#F0FAF2
border
#CBD3CC
text
#0C150E
muted
#7D837E

Preview Lab

Preview with #40C572

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

Preview Lab → · Contrast checker → · Palette generator →

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