#40C571#40C571

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

Color values

HEX#40C571
RGBrgb(64, 197, 113)
HSLhsl(142, 53%, 51%)
HSVhsv(142, 68%, 77%)
CMYKcmyk(67.5%, 0%, 42.6%, 22.7%)
CIE-LABlab(71.02, -54.46, 31.88)
CIE-LCHlch(71.02, 63.11, 149.66°)
OKLaboklab(73.16% -0.1469 0.0788)
OKLCHoklch(73.16% 0.167 151.8)
XYZxyz(25.0592, 42.2120, 22.4467)
Luminance0.4222 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C571 #C54094
analogous
#51C540 #40C571 #40C5B3
triadic
#40C571 #7140C5 #C57140
tetradic
#40C571 #4051C5 #C54094 #C5B340
square
#40C571 #4051C5 #C54094 #C5B340
split-complementary
#40C571 #B340C5 #C54051
monochromatic
#206A3C #2F9956 #40C571 #6FD394 #9EE2B7

Accessibility & contrast

On white

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

On black

9.44
#40C571 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C571
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C571#FFFFFF#000000##000000
##40C5711.002.229.449.44
#FFFFFF2.221.0021.0021.00
#0000009.4421.001.001.00
##0000009.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B56B
Deuteranopia (green-blind)
#B5A977
Tritanopia (blue-blind)
#00C2B0
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #40c571;
/* rgb */ color: rgb(64, 197, 113);
/* oklch */ color: oklch(73.2% 0.167 151.8);
Tailwind
colors: {
  custom: {
    50: '#85d89b',
    500: '#40c571',
    950: '#000000',
  },
}
SCSS
$custom: #40c571;
$custom-light: #85d89b;
$custom-dark: #000000;
JSON
{
  "hex": "#40c571",
  "rgb": {
    "r": 64,
    "g": 197,
    "b": 113
  },
  "hsl": {
    "h": 142.105,
    "s": 53.414,
    "l": 51.176
  },
  "oklch": {
    "l": 0.73161,
    "c": 0.16667,
    "h": 151.8
  },
  "luminance": 0.42215
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40C571

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

Preview Lab → · Contrast checker → · Palette generator →

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