#40C17C#40C17C

#40C17C is a light, vivid green. Relative luminance 0.407; OKLCH L 72.3% C 0.151 H 155.7°. Best body text is #000000 at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#40C17C
RGBrgb(64, 193, 124)
HSLhsl(148, 51%, 50%)
HSVhsv(148, 67%, 76%)
CMYKcmyk(66.8%, 0%, 35.8%, 24.3%)
CIE-LABlab(69.95, -50.90, 24.74)
CIE-LCHlch(69.95, 56.59, 154.08°)
OKLaboklab(72.35% -0.1379 0.0621)
OKLCHoklch(72.35% 0.151 155.7)
XYZxyz(24.8202, 40.6825, 25.6093)
Luminance0.4068 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C17C #C14085
analogous
#44C140 #40C17C #40C1BC
triadic
#40C17C #7C40C1 #C17C40
tetradic
#40C17C #4044C1 #C14085 #C1BC40
square
#40C17C #4044C1 #C14085 #C1BC40
split-complementary
#40C17C #BC40C1 #C14044
monochromatic
#216641 #30945E #40C17C #6ED09C #9CDFBB

Accessibility & contrast

On white

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

On black

9.14
#40C17C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C17C
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C17C#FFFFFF#000000##000000
##40C17C1.002.309.149.14
#FFFFFF2.301.0021.0021.00
#0000009.1421.001.001.00
##0000009.1421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40c17c;
/* rgb */ color: rgb(64, 193, 124);
/* oklch */ color: oklch(72.3% 0.151 155.7);
Tailwind
colors: {
  custom: {
    50: '#84d5a2',
    500: '#40c17c',
    950: '#000000',
  },
}
SCSS
$custom: #40c17c;
$custom-light: #84d5a2;
$custom-dark: #000000;
JSON
{
  "hex": "#40c17c",
  "rgb": {
    "r": 64,
    "g": 193,
    "b": 124
  },
  "hsl": {
    "h": 147.907,
    "s": 50.988,
    "l": 50.392
  },
  "oklch": {
    "l": 0.72345,
    "c": 0.15122,
    "h": 155.7
  },
  "luminance": 0.40685
}

Semantic roles & 50–950 ramp

primary
#40C17C
secondary
#CB92B0
accent
#4D99DA
background
#F8FDFA
surface
#F0FAF3
border
#CBD3CD
text
#0C140F
muted
#7D837F

Preview Lab

Preview with #40C17C

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

Preview Lab → · Contrast checker → · Palette generator →

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