#40C177#40C177

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

Color values

HEX#40C177
RGBrgb(64, 193, 119)
HSLhsl(146, 51%, 50%)
HSVhsv(146, 67%, 76%)
CMYKcmyk(66.8%, 0%, 38.3%, 24.3%)
CIE-LABlab(69.87, -51.85, 27.26)
CIE-LCHlch(69.87, 58.58, 152.27°)
OKLaboklab(72.25% -0.1402 0.0681)
OKLCHoklch(72.25% 0.156 154.1)
XYZxyz(24.5120, 40.5592, 23.9861)
Luminance0.4056 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C177 #C1408A
analogous
#4AC140 #40C177 #40C1B7
triadic
#40C177 #7740C1 #C17740
tetradic
#40C177 #404AC1 #C1408A #C1B740
square
#40C177 #404AC1 #C1408A #C1B740
split-complementary
#40C177 #B740C1 #C1404A
monochromatic
#21663E #30945B #40C177 #6ED098 #9CDFB9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40C177#FFFFFF#000000##000000
##40C1771.002.309.119.11
#FFFFFF2.301.0021.0021.00
#0000009.1121.001.001.00
##0000009.1121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40c177;
/* rgb */ color: rgb(64, 193, 119);
/* oklch */ color: oklch(72.2% 0.156 154.1);
Tailwind
colors: {
  custom: {
    50: '#84d59f',
    500: '#40c177',
    950: '#000000',
  },
}
SCSS
$custom: #40c177;
$custom-light: #84d59f;
$custom-dark: #000000;
JSON
{
  "hex": "#40c177",
  "rgb": {
    "r": 64,
    "g": 193,
    "b": 119
  },
  "hsl": {
    "h": 145.581,
    "s": 50.988,
    "l": 50.392
  },
  "oklch": {
    "l": 0.72245,
    "c": 0.15581,
    "h": 154.1
  },
  "luminance": 0.40562
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40C177

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

Preview Lab → · Contrast checker → · Palette generator →

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