#40C47A#40C47A

#40C47A is a light, vivid green. Relative luminance 0.420; OKLCH L 73.1% C 0.157 H 154.6°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#40C47A
RGBrgb(64, 196, 122)
HSLhsl(146, 53%, 51%)
HSVhsv(146, 67%, 77%)
CMYKcmyk(67.3%, 0%, 37.8%, 23.1%)
CIE-LABlab(70.85, -52.45, 26.99)
CIE-LCHlch(70.85, 58.99, 152.77°)
OKLaboklab(73.07% -0.1418 0.0675)
OKLCHoklch(73.07% 0.157 154.6)
XYZxyz(25.3649, 41.9722, 25.1733)
Luminance0.4198 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C47A #C4408A
analogous
#48C440 #40C47A #40C4BC
triadic
#40C47A #7A40C4 #C47A40
tetradic
#40C47A #4048C4 #C4408A #C4BC40
square
#40C47A #4048C4 #C4408A #C4BC40
split-complementary
#40C47A #BC40C4 #C44048
monochromatic
#206940 #2F985D #40C47A #6FD29B #9EE1BB

Accessibility & contrast

On white

2.24
#40C47A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.40
#40C47A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C47A
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C47A#FFFFFF#000000##000000
##40C47A1.002.249.409.40
#FFFFFF2.241.0021.0021.00
#0000009.4021.001.001.00
##0000009.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B475
Deuteranopia (green-blind)
#B3A97F
Tritanopia (blue-blind)
#00C2B1
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #40c47a;
/* rgb */ color: rgb(64, 196, 122);
/* oklch */ color: oklch(73.1% 0.157 154.6);
Tailwind
colors: {
  custom: {
    50: '#84d7a1',
    500: '#40c47a',
    950: '#000000',
  },
}
SCSS
$custom: #40c47a;
$custom-light: #84d7a1;
$custom-dark: #000000;
JSON
{
  "hex": "#40c47a",
  "rgb": {
    "r": 64,
    "g": 196,
    "b": 122
  },
  "hsl": {
    "h": 146.364,
    "s": 52.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.73073,
    "c": 0.15706,
    "h": 154.6
  },
  "luminance": 0.41975
}

Semantic roles & 50–950 ramp

primary
#40C47A
secondary
#CD93B3
accent
#4C9DDC
background
#F8FDF9
surface
#F0FAF2
border
#CBD3CC
text
#0C140F
muted
#7D837E

Preview Lab

Preview with #40C47A

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

Preview Lab → · Contrast checker → · Palette generator →

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