#40C17F#40C17F

#40C17F is a light, vivid green. Relative luminance 0.408; OKLCH L 72.4% C 0.148 H 156.8°. Best body text is #000000 at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#40C17F
RGBrgb(64, 193, 127)
HSLhsl(149, 51%, 50%)
HSVhsv(149, 67%, 76%)
CMYKcmyk(66.8%, 0%, 34.2%, 24.3%)
CIE-LABlab(70.01, -50.31, 23.22)
CIE-LCHlch(70.01, 55.41, 155.22°)
OKLaboklab(72.41% -0.1365 0.0585)
OKLCHoklch(72.41% 0.148 156.8)
XYZxyz(25.0128, 40.7595, 26.6237)
Luminance0.4076 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C17F #C14082
analogous
#42C140 #40C17F #40C1BF
triadic
#40C17F #7F40C1 #C17F40
tetradic
#40C17F #4042C1 #C14082 #C1BF40
square
#40C17F #4042C1 #C14082 #C1BF40
split-complementary
#40C17F #BF40C1 #C14042
monochromatic
#216643 #309461 #40C17F #6ED09E #9CDFBD

Accessibility & contrast

On white

2.29
#40C17F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.15
#40C17F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C17F
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C17F#FFFFFF#000000##000000
##40C17F1.002.299.159.15
#FFFFFF2.291.0021.0021.00
#0000009.1521.001.001.00
##0000009.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0B27B
Deuteranopia (green-blind)
#AFA683
Tritanopia (blue-blind)
#00BFB0
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #40c17f;
/* rgb */ color: rgb(64, 193, 127);
/* oklch */ color: oklch(72.4% 0.148 156.8);
Tailwind
colors: {
  custom: {
    50: '#84d5a4',
    500: '#40c17f',
    950: '#000000',
  },
}
SCSS
$custom: #40c17f;
$custom-light: #84d5a4;
$custom-dark: #000000;
JSON
{
  "hex": "#40c17f",
  "rgb": {
    "r": 64,
    "g": 193,
    "b": 127
  },
  "hsl": {
    "h": 149.302,
    "s": 50.988,
    "l": 50.392
  },
  "oklch": {
    "l": 0.72408,
    "c": 0.14849,
    "h": 156.8
  },
  "luminance": 0.40762
}

Semantic roles & 50–950 ramp

primary
#40C17F
secondary
#CB92AF
accent
#4D96DA
background
#F8FDFA
surface
#F0FAF4
border
#CBD3CE
text
#0C140F
muted
#7D837F

Preview Lab

Preview with #40C17F

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

Preview Lab → · Contrast checker → · Palette generator →

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