#40C174#40C174

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

Color values

HEX#40C174
RGBrgb(64, 193, 116)
HSLhsl(144, 51%, 50%)
HSVhsv(144, 67%, 76%)
CMYKcmyk(66.8%, 0%, 39.9%, 24.3%)
CIE-LABlab(69.82, -52.40, 28.76)
CIE-LCHlch(69.82, 59.78, 151.24°)
OKLaboklab(72.19% -0.1415 0.0715)
OKLCHoklch(72.19% 0.159 153.2)
XYZxyz(24.3346, 40.4883, 23.0522)
Luminance0.4049 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C174 #C1408D
analogous
#4CC140 #40C174 #40C1B4
triadic
#40C174 #7440C1 #C17440
tetradic
#40C174 #404CC1 #C1408D #C1B440
square
#40C174 #404CC1 #C1408D #C1B440
split-complementary
#40C174 #B440C1 #C1404C
monochromatic
#21663D #309458 #40C174 #6ED096 #9CDFB7

Accessibility & contrast

On white

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

On black

9.10
#40C174 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C174
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C174#FFFFFF#000000##000000
##40C1741.002.319.109.10
#FFFFFF2.311.0021.0021.00
#0000009.1021.001.001.00
##0000009.1021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40c174;
/* rgb */ color: rgb(64, 193, 116);
/* oklch */ color: oklch(72.2% 0.159 153.2);
Tailwind
colors: {
  custom: {
    50: '#84d59d',
    500: '#40c174',
    950: '#000000',
  },
}
SCSS
$custom: #40c174;
$custom-light: #84d59d;
$custom-dark: #000000;
JSON
{
  "hex": "#40c174",
  "rgb": {
    "r": 64,
    "g": 193,
    "b": 116
  },
  "hsl": {
    "h": 144.186,
    "s": 50.988,
    "l": 50.392
  },
  "oklch": {
    "l": 0.72188,
    "c": 0.15858,
    "h": 153.2
  },
  "luminance": 0.40491
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40C174

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

Preview Lab → · Contrast checker → · Palette generator →

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