#40C179#40C179

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

Color values

HEX#40C179
RGBrgb(64, 193, 121)
HSLhsl(147, 51%, 50%)
HSVhsv(147, 67%, 76%)
CMYKcmyk(66.8%, 0%, 37.3%, 24.3%)
CIE-LABlab(69.90, -51.47, 26.25)
CIE-LCHlch(69.90, 57.78, 152.98°)
OKLaboklab(72.29% -0.1393 0.0657)
OKLCHoklch(72.29% 0.154 154.7)
XYZxyz(24.6333, 40.6077, 24.6253)
Luminance0.4061 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C179 #C14088
analogous
#47C140 #40C179 #40C1BA
triadic
#40C179 #7940C1 #C17940
tetradic
#40C179 #4047C1 #C14088 #C1BA40
square
#40C179 #4047C1 #C14088 #C1BA40
split-complementary
#40C179 #BA40C1 #C14047
monochromatic
#21663F #30945C #40C179 #6ED099 #9CDFBA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40C179#FFFFFF#000000##000000
##40C1791.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)
#C0B274
Deuteranopia (green-blind)
#B0A67E
Tritanopia (blue-blind)
#00BFAF
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #40c179;
/* rgb */ color: rgb(64, 193, 121);
/* oklch */ color: oklch(72.3% 0.154 154.7);
Tailwind
colors: {
  custom: {
    50: '#84d5a0',
    500: '#40c179',
    950: '#000000',
  },
}
SCSS
$custom: #40c179;
$custom-light: #84d5a0;
$custom-dark: #000000;
JSON
{
  "hex": "#40c179",
  "rgb": {
    "r": 64,
    "g": 193,
    "b": 121
  },
  "hsl": {
    "h": 146.512,
    "s": 50.988,
    "l": 50.392
  },
  "oklch": {
    "l": 0.72285,
    "c": 0.15397,
    "h": 154.7
  },
  "luminance": 0.4061
}

Semantic roles & 50–950 ramp

primary
#40C179
secondary
#CB92B2
accent
#4D9CDA
background
#F8FDF9
surface
#F0FAF2
border
#CBD3CC
text
#0C140F
muted
#7D837E

Preview Lab

Preview with #40C179

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

Preview Lab → · Contrast checker → · Palette generator →

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