#40C17D#40C17D

#40C17D is a light, vivid green. Relative luminance 0.407; OKLCH L 72.4% C 0.150 H 156.1°. Best body text is #000000 at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#40C17D
RGBrgb(64, 193, 125)
HSLhsl(148, 51%, 50%)
HSVhsv(148, 67%, 76%)
CMYKcmyk(66.8%, 0%, 35.2%, 24.3%)
CIE-LABlab(69.97, -50.70, 24.23)
CIE-LCHlch(69.97, 56.20, 154.45°)
OKLaboklab(72.37% -0.1374 0.0609)
OKLCHoklch(72.37% 0.15 156.1)
XYZxyz(24.8837, 40.7079, 25.9441)
Luminance0.4071 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C17D #C14084
analogous
#43C140 #40C17D #40C1BD
triadic
#40C17D #7D40C1 #C17D40
tetradic
#40C17D #4043C1 #C14084 #C1BD40
square
#40C17D #4043C1 #C14084 #C1BD40
split-complementary
#40C17D #BD40C1 #C14043
monochromatic
#216641 #30945F #40C17D #6ED09C #9CDFBC

Accessibility & contrast

On white

2.30
#40C17D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.14
#40C17D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C17D
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C17D#FFFFFF#000000##000000
##40C17D1.002.309.149.14
#FFFFFF2.301.0021.0021.00
#0000009.1421.001.001.00
##0000009.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0B279
Deuteranopia (green-blind)
#AFA681
Tritanopia (blue-blind)
#00BFAF
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #40c17d;
/* rgb */ color: rgb(64, 193, 125);
/* oklch */ color: oklch(72.4% 0.150 156.1);
Tailwind
colors: {
  custom: {
    50: '#84d5a3',
    500: '#40c17d',
    950: '#000000',
  },
}
SCSS
$custom: #40c17d;
$custom-light: #84d5a3;
$custom-dark: #000000;
JSON
{
  "hex": "#40c17d",
  "rgb": {
    "r": 64,
    "g": 193,
    "b": 125
  },
  "hsl": {
    "h": 148.372,
    "s": 50.988,
    "l": 50.392
  },
  "oklch": {
    "l": 0.72366,
    "c": 0.15031,
    "h": 156.1
  },
  "luminance": 0.40711
}

Semantic roles & 50–950 ramp

primary
#40C17D
secondary
#CB92B0
accent
#4D98DA
background
#F8FDFA
surface
#F0FAF3
border
#CBD3CD
text
#0C140F
muted
#7D837F

Preview Lab

Preview with #40C17D

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

Preview Lab → · Contrast checker → · Palette generator →

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