#40C173#40C173

#40C173 is a light, vivid green. Relative luminance 0.405; OKLCH L 72.2% C 0.160 H 152.9°. Best body text is #000000 at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#40C173
RGBrgb(64, 193, 115)
HSLhsl(144, 51%, 50%)
HSVhsv(144, 67%, 76%)
CMYKcmyk(66.8%, 0%, 40.4%, 24.3%)
CIE-LABlab(69.80, -52.59, 29.26)
CIE-LCHlch(69.80, 60.18, 150.91°)
OKLaboklab(72.17% -0.142 0.0727)
OKLCHoklch(72.17% 0.16 152.9)
XYZxyz(24.2768, 40.4651, 22.7475)
Luminance0.4047 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C173 #C1408E
analogous
#4DC140 #40C173 #40C1B3
triadic
#40C173 #7340C1 #C17340
tetradic
#40C173 #404DC1 #C1408E #C1B340
square
#40C173 #404DC1 #C1408E #C1B340
split-complementary
#40C173 #B340C1 #C1404D
monochromatic
#21663C #309457 #40C173 #6ED095 #9CDFB7

Accessibility & contrast

On white

2.31
#40C173 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.09
#40C173 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C173
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C173#FFFFFF#000000##000000
##40C1731.002.319.099.09
#FFFFFF2.311.0021.0021.00
#0000009.0921.001.001.00
##0000009.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1B16E
Deuteranopia (green-blind)
#B1A678
Tritanopia (blue-blind)
#00BEAE
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #40c173;
/* rgb */ color: rgb(64, 193, 115);
/* oklch */ color: oklch(72.2% 0.160 152.9);
Tailwind
colors: {
  custom: {
    50: '#84d59c',
    500: '#40c173',
    950: '#000000',
  },
}
SCSS
$custom: #40c173;
$custom-light: #84d59c;
$custom-dark: #000000;
JSON
{
  "hex": "#40c173",
  "rgb": {
    "r": 64,
    "g": 193,
    "b": 115
  },
  "hsl": {
    "h": 143.721,
    "s": 50.988,
    "l": 50.392
  },
  "oklch": {
    "l": 0.72169,
    "c": 0.15951,
    "h": 152.9
  },
  "luminance": 0.40468
}

Semantic roles & 50–950 ramp

primary
#40C173
secondary
#CB92B4
accent
#4DA3DA
background
#F8FDF9
surface
#F0FAF2
border
#CBD3CC
text
#0C140E
muted
#7D837E

Preview Lab

Preview with #40C173

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

Preview Lab → · Contrast checker → · Palette generator →

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