#40C57F#40C57F

#40C57F is a light, vivid green. Relative luminance 0.426; OKLCH L 73.4% C 0.154 H 156.0°. Best body text is #000000 at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#40C57F
RGBrgb(64, 197, 127)
HSLhsl(148, 53%, 51%)
HSVhsv(148, 68%, 77%)
CMYKcmyk(67.5%, 0%, 35.5%, 22.7%)
CIE-LABlab(71.25, -51.88, 24.90)
CIE-LCHlch(71.25, 57.55, 154.36°)
OKLaboklab(73.43% -0.1405 0.0626)
OKLCHoklch(73.43% 0.154 156)
XYZxyz(25.9090, 42.5520, 26.9225)
Luminance0.4255 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C57F #C54086
analogous
#43C540 #40C57F #40C5C1
triadic
#40C57F #7F40C5 #C57F40
tetradic
#40C57F #4043C5 #C54086 #C5C140
square
#40C57F #4043C5 #C54086 #C5C140
split-complementary
#40C57F #C140C5 #C54043
monochromatic
#206A43 #2F9961 #40C57F #6FD39E #9EE2BE

Accessibility & contrast

On white

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

On black

9.51
#40C57F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C57F
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C57F#FFFFFF#000000##000000
##40C57F1.002.219.519.51
#FFFFFF2.211.0021.0021.00
#0000009.5121.001.001.00
##0000009.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B67A
Deuteranopia (green-blind)
#B3AA84
Tritanopia (blue-blind)
#00C3B3
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #40c57f;
/* rgb */ color: rgb(64, 197, 127);
/* oklch */ color: oklch(73.4% 0.154 156.0);
Tailwind
colors: {
  custom: {
    50: '#84d7a4',
    500: '#40c57f',
    950: '#000000',
  },
}
SCSS
$custom: #40c57f;
$custom-light: #84d7a4;
$custom-dark: #000000;
JSON
{
  "hex": "#40c57f",
  "rgb": {
    "r": 64,
    "g": 197,
    "b": 127
  },
  "hsl": {
    "h": 148.421,
    "s": 53.414,
    "l": 51.176
  },
  "oklch": {
    "l": 0.73429,
    "c": 0.15382,
    "h": 156
  },
  "luminance": 0.42555
}

Semantic roles & 50–950 ramp

primary
#40C57F
secondary
#CE93B2
accent
#4B98DD
background
#F8FDFA
surface
#F0FAF4
border
#CBD3CE
text
#0C140F
muted
#7D837F

Preview Lab

Preview with #40C57F

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

Preview Lab → · Contrast checker → · Palette generator →

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