#40C57C#40C57C

#40C57C is a light, vivid green. Relative luminance 0.425; OKLCH L 73.4% C 0.157 H 155.0°. Best body text is #000000 at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#40C57C
RGBrgb(64, 197, 124)
HSLhsl(147, 53%, 51%)
HSVhsv(147, 68%, 77%)
CMYKcmyk(67.5%, 0%, 37.1%, 22.7%)
CIE-LABlab(71.20, -52.46, 26.41)
CIE-LCHlch(71.20, 58.73, 153.28°)
OKLaboklab(73.37% -0.1419 0.0661)
OKLCHoklch(73.37% 0.157 155)
XYZxyz(25.7164, 42.4749, 25.9081)
Luminance0.4248 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C57C #C54089
analogous
#46C540 #40C57C #40C5BF
triadic
#40C57C #7C40C5 #C57C40
tetradic
#40C57C #4046C5 #C54089 #C5BF40
square
#40C57C #4046C5 #C54089 #C5BF40
split-complementary
#40C57C #BF40C5 #C54046
monochromatic
#206A42 #2F995F #40C57C #6FD39C #9EE2BC

Accessibility & contrast

On white

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

On black

9.50
#40C57C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C57C
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C57C#FFFFFF#000000##000000
##40C57C1.002.219.509.50
#FFFFFF2.211.0021.0021.00
#0000009.5021.001.001.00
##0000009.5021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40c57c;
/* rgb */ color: rgb(64, 197, 124);
/* oklch */ color: oklch(73.4% 0.157 155.0);
Tailwind
colors: {
  custom: {
    50: '#84d7a2',
    500: '#40c57c',
    950: '#000000',
  },
}
SCSS
$custom: #40c57c;
$custom-light: #84d7a2;
$custom-dark: #000000;
JSON
{
  "hex": "#40c57c",
  "rgb": {
    "r": 64,
    "g": 197,
    "b": 124
  },
  "hsl": {
    "h": 147.068,
    "s": 53.414,
    "l": 51.176
  },
  "oklch": {
    "l": 0.73369,
    "c": 0.15656,
    "h": 155
  },
  "luminance": 0.42478
}

Semantic roles & 50–950 ramp

primary
#40C57C
secondary
#CE93B3
accent
#4B9BDD
background
#F8FDFA
surface
#F0FAF3
border
#CBD3CD
text
#0C140F
muted
#7D837F

Preview Lab

Preview with #40C57C

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

Preview Lab → · Contrast checker → · Palette generator →

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