#40C57A#40C57A

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

Color values

HEX#40C57A
RGBrgb(64, 197, 122)
HSLhsl(146, 53%, 51%)
HSVhsv(146, 68%, 77%)
CMYKcmyk(67.5%, 0%, 38.1%, 22.7%)
CIE-LABlab(71.16, -52.84, 27.41)
CIE-LCHlch(71.16, 59.52, 152.58°)
OKLaboklab(73.33% -0.1428 0.0685)
OKLCHoklch(73.33% 0.158 154.4)
XYZxyz(25.5912, 42.4249, 25.2487)
Luminance0.4243 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C57A #C5408B
analogous
#48C540 #40C57A #40C5BC
triadic
#40C57A #7A40C5 #C57A40
tetradic
#40C57A #4048C5 #C5408B #C5BC40
square
#40C57A #4048C5 #C5408B #C5BC40
split-complementary
#40C57A #BC40C5 #C54048
monochromatic
#206A41 #2F995D #40C57A #6FD39B #9EE2BB

Accessibility & contrast

On white

2.21
#40C57A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.49
#40C57A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C57A
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C57A#FFFFFF#000000##000000
##40C57A1.002.219.499.49
#FFFFFF2.211.0021.0021.00
#0000009.4921.001.001.00
##0000009.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B575
Deuteranopia (green-blind)
#B4A97F
Tritanopia (blue-blind)
#00C3B2
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #40c57a;
/* rgb */ color: rgb(64, 197, 122);
/* oklch */ color: oklch(73.3% 0.158 154.4);
Tailwind
colors: {
  custom: {
    50: '#84d7a1',
    500: '#40c57a',
    950: '#000000',
  },
}
SCSS
$custom: #40c57a;
$custom-light: #84d7a1;
$custom-dark: #000000;
JSON
{
  "hex": "#40c57a",
  "rgb": {
    "r": 64,
    "g": 197,
    "b": 122
  },
  "hsl": {
    "h": 146.165,
    "s": 53.414,
    "l": 51.176
  },
  "oklch": {
    "l": 0.73329,
    "c": 0.15839,
    "h": 154.4
  },
  "luminance": 0.42428
}

Semantic roles & 50–950 ramp

primary
#40C57A
secondary
#CE93B4
accent
#4B9DDD
background
#F8FDF9
surface
#F0FAF2
border
#CBD3CC
text
#0C140F
muted
#7D837E

Preview Lab

Preview with #40C57A

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

Preview Lab → · Contrast checker → · Palette generator →

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