#40C573#40C573

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

Color values

HEX#40C573
RGBrgb(64, 197, 115)
HSLhsl(143, 53%, 51%)
HSVhsv(143, 68%, 77%)
CMYKcmyk(67.5%, 0%, 41.6%, 22.7%)
CIE-LABlab(71.05, -54.11, 30.89)
CIE-LCHlch(71.05, 62.31, 150.28°)
OKLaboklab(73.2% -0.146 0.0765)
OKLCHoklch(73.2% 0.165 152.3)
XYZxyz(25.1730, 42.2576, 23.0462)
Luminance0.4226 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C573 #C54092
analogous
#4FC540 #40C573 #40C5B6
triadic
#40C573 #7340C5 #C57340
tetradic
#40C573 #404FC5 #C54092 #C5B640
square
#40C573 #404FC5 #C54092 #C5B640
split-complementary
#40C573 #B640C5 #C5404F
monochromatic
#206A3D #2F9957 #40C573 #6FD395 #9EE2B8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40C573#FFFFFF#000000##000000
##40C5731.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)
#C5B56D
Deuteranopia (green-blind)
#B5A978
Tritanopia (blue-blind)
#00C2B1
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #40c573;
/* rgb */ color: rgb(64, 197, 115);
/* oklch */ color: oklch(73.2% 0.165 152.3);
Tailwind
colors: {
  custom: {
    50: '#85d89c',
    500: '#40c573',
    950: '#000000',
  },
}
SCSS
$custom: #40c573;
$custom-light: #85d89c;
$custom-dark: #000000;
JSON
{
  "hex": "#40c573",
  "rgb": {
    "r": 64,
    "g": 197,
    "b": 115
  },
  "hsl": {
    "h": 143.008,
    "s": 53.414,
    "l": 51.176
  },
  "oklch": {
    "l": 0.73197,
    "c": 0.16483,
    "h": 152.3
  },
  "luminance": 0.4226
}

Semantic roles & 50–950 ramp

primary
#40C573
secondary
#CE93B7
accent
#4BA5DD
background
#F8FDF9
surface
#F0FAF2
border
#CBD3CC
text
#0C140E
muted
#7D837E

Preview Lab

Preview with #40C573

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

Preview Lab → · Contrast checker → · Palette generator →

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