#40C17A#40C17A

#40C17A is a light, vivid green. Relative luminance 0.406; OKLCH L 72.3% C 0.153 H 155.1°. Best body text is #000000 at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#40C17A
RGBrgb(64, 193, 122)
HSLhsl(147, 51%, 50%)
HSVhsv(147, 67%, 76%)
CMYKcmyk(66.8%, 0%, 36.8%, 24.3%)
CIE-LABlab(69.92, -51.28, 25.75)
CIE-LCHlch(69.92, 57.38, 153.34°)
OKLaboklab(72.3% -0.1388 0.0645)
OKLCHoklch(72.3% 0.153 155.1)
XYZxyz(24.6950, 40.6324, 24.9500)
Luminance0.4063 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C17A #C14087
analogous
#46C140 #40C17A #40C1BB
triadic
#40C17A #7A40C1 #C17A40
tetradic
#40C17A #4046C1 #C14087 #C1BB40
square
#40C17A #4046C1 #C14087 #C1BB40
split-complementary
#40C17A #BB40C1 #C14046
monochromatic
#216640 #30945D #40C17A #6ED09A #9CDFBA

Accessibility & contrast

On white

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

On black

9.13
#40C17A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C17A
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C17A#FFFFFF#000000##000000
##40C17A1.002.309.139.13
#FFFFFF2.301.0021.0021.00
#0000009.1321.001.001.00
##0000009.1321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40c17a;
/* rgb */ color: rgb(64, 193, 122);
/* oklch */ color: oklch(72.3% 0.153 155.1);
Tailwind
colors: {
  custom: {
    50: '#84d5a1',
    500: '#40c17a',
    950: '#000000',
  },
}
SCSS
$custom: #40c17a;
$custom-light: #84d5a1;
$custom-dark: #000000;
JSON
{
  "hex": "#40c17a",
  "rgb": {
    "r": 64,
    "g": 193,
    "b": 122
  },
  "hsl": {
    "h": 146.977,
    "s": 50.988,
    "l": 50.392
  },
  "oklch": {
    "l": 0.72305,
    "c": 0.15305,
    "h": 155.1
  },
  "luminance": 0.40635
}

Semantic roles & 50–950 ramp

primary
#40C17A
secondary
#CB92B1
accent
#4D9BDA
background
#F8FDF9
surface
#F0FAF2
border
#CBD3CC
text
#0C140F
muted
#7D837E

Preview Lab

Preview with #40C17A

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

Preview Lab → · Contrast checker → · Palette generator →

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