#40C176#40C176

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

Color values

HEX#40C176
RGBrgb(64, 193, 118)
HSLhsl(145, 51%, 50%)
HSVhsv(145, 67%, 76%)
CMYKcmyk(66.8%, 0%, 38.9%, 24.3%)
CIE-LABlab(69.85, -52.04, 27.76)
CIE-LCHlch(69.85, 58.98, 151.92°)
OKLaboklab(72.23% -0.1406 0.0692)
OKLCHoklch(72.23% 0.157 153.8)
XYZxyz(24.4522, 40.5353, 23.6715)
Luminance0.4054 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C176 #C1408B
analogous
#4BC140 #40C176 #40C1B6
triadic
#40C176 #7640C1 #C17640
tetradic
#40C176 #404BC1 #C1408B #C1B640
square
#40C176 #404BC1 #C1408B #C1B640
split-complementary
#40C176 #B640C1 #C1404B
monochromatic
#21663E #30945A #40C176 #6ED097 #9CDFB8

Accessibility & contrast

On white

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

On black

9.11
#40C176 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C176
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C176#FFFFFF#000000##000000
##40C1761.002.319.119.11
#FFFFFF2.311.0021.0021.00
#0000009.1121.001.001.00
##0000009.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1B271
Deuteranopia (green-blind)
#B0A67B
Tritanopia (blue-blind)
#00BFAE
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #40c176;
/* rgb */ color: rgb(64, 193, 118);
/* oklch */ color: oklch(72.2% 0.157 153.8);
Tailwind
colors: {
  custom: {
    50: '#84d59e',
    500: '#40c176',
    950: '#000000',
  },
}
SCSS
$custom: #40c176;
$custom-light: #84d59e;
$custom-dark: #000000;
JSON
{
  "hex": "#40c176",
  "rgb": {
    "r": 64,
    "g": 193,
    "b": 118
  },
  "hsl": {
    "h": 145.116,
    "s": 50.988,
    "l": 50.392
  },
  "oklch": {
    "l": 0.72226,
    "c": 0.15673,
    "h": 153.8
  },
  "luminance": 0.40538
}

Semantic roles & 50–950 ramp

primary
#40C176
secondary
#CB92B3
accent
#4D9FDA
background
#F8FDF9
surface
#F0FAF2
border
#CBD3CC
text
#0C140E
muted
#7D837E

Preview Lab

Preview with #40C176

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

Preview Lab → · Contrast checker → · Palette generator →

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