#40C577#40C577

#40C577 is a light, vivid green. Relative luminance 0.424; OKLCH L 73.3% C 0.161 H 153.5°. Best body text is #000000 at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#40C577
RGBrgb(64, 197, 119)
HSLhsl(145, 53%, 51%)
HSVhsv(145, 68%, 77%)
CMYKcmyk(67.5%, 0%, 39.6%, 22.7%)
CIE-LABlab(71.11, -53.39, 28.91)
CIE-LCHlch(71.11, 60.71, 151.57°)
OKLaboklab(73.27% -0.1442 0.072)
OKLCHoklch(73.27% 0.161 153.5)
XYZxyz(25.4082, 42.3516, 24.2848)
Luminance0.4235 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C577 #C5408E
analogous
#4BC540 #40C577 #40C5B9
triadic
#40C577 #7740C5 #C57740
tetradic
#40C577 #404BC5 #C5408E #C5B940
square
#40C577 #404BC5 #C5408E #C5B940
split-complementary
#40C577 #B940C5 #C5404B
monochromatic
#206A3F #2F995B #40C577 #6FD398 #9EE2BA

Accessibility & contrast

On white

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

On black

9.47
#40C577 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C577
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C577#FFFFFF#000000##000000
##40C5771.002.229.479.47
#FFFFFF2.221.0021.0021.00
#0000009.4721.001.001.00
##0000009.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B572
Deuteranopia (green-blind)
#B4A97C
Tritanopia (blue-blind)
#00C3B1
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #40c577;
/* rgb */ color: rgb(64, 197, 119);
/* oklch */ color: oklch(73.3% 0.161 153.5);
Tailwind
colors: {
  custom: {
    50: '#84d89f',
    500: '#40c577',
    950: '#000000',
  },
}
SCSS
$custom: #40c577;
$custom-light: #84d89f;
$custom-dark: #000000;
JSON
{
  "hex": "#40c577",
  "rgb": {
    "r": 64,
    "g": 197,
    "b": 119
  },
  "hsl": {
    "h": 144.812,
    "s": 53.414,
    "l": 51.176
  },
  "oklch": {
    "l": 0.73272,
    "c": 0.16115,
    "h": 153.5
  },
  "luminance": 0.42354
}

Semantic roles & 50–950 ramp

primary
#40C577
secondary
#CE93B5
accent
#4BA1DD
background
#F8FDF9
surface
#F0FAF2
border
#CBD3CC
text
#0C140E
muted
#7D837E

Preview Lab

Preview with #40C577

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

Preview Lab → · Contrast checker → · Palette generator →

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