#40C178#40C178

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

Color values

HEX#40C178
RGBrgb(64, 193, 120)
HSLhsl(146, 51%, 50%)
HSVhsv(146, 67%, 76%)
CMYKcmyk(66.8%, 0%, 37.8%, 24.3%)
CIE-LABlab(69.88, -51.66, 26.75)
CIE-LCHlch(69.88, 58.18, 152.62°)
OKLaboklab(72.27% -0.1397 0.0669)
OKLCHoklch(72.27% 0.155 154.4)
XYZxyz(24.5723, 40.5833, 24.3040)
Luminance0.4059 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C178 #C14089
analogous
#48C140 #40C178 #40C1B9
triadic
#40C178 #7840C1 #C17840
tetradic
#40C178 #4048C1 #C14089 #C1B940
square
#40C178 #4048C1 #C14089 #C1B940
split-complementary
#40C178 #B940C1 #C14048
monochromatic
#21663F #30945B #40C178 #6ED099 #9CDFB9

Accessibility & contrast

On white

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

On black

9.12
#40C178 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C178
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C178#FFFFFF#000000##000000
##40C1781.002.309.129.12
#FFFFFF2.301.0021.0021.00
#0000009.1221.001.001.00
##0000009.1221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40c178;
/* rgb */ color: rgb(64, 193, 120);
/* oklch */ color: oklch(72.3% 0.155 154.4);
Tailwind
colors: {
  custom: {
    50: '#84d59f',
    500: '#40c178',
    950: '#000000',
  },
}
SCSS
$custom: #40c178;
$custom-light: #84d59f;
$custom-dark: #000000;
JSON
{
  "hex": "#40c178",
  "rgb": {
    "r": 64,
    "g": 193,
    "b": 120
  },
  "hsl": {
    "h": 146.047,
    "s": 50.988,
    "l": 50.392
  },
  "oklch": {
    "l": 0.72265,
    "c": 0.15489,
    "h": 154.4
  },
  "luminance": 0.40586
}

Semantic roles & 50–950 ramp

primary
#40C178
secondary
#CB92B2
accent
#4D9DDA
background
#F8FDF9
surface
#F0FAF2
border
#CBD3CC
text
#0C140E
muted
#7D837E

Preview Lab

Preview with #40C178

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

Preview Lab → · Contrast checker → · Palette generator →

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