#40C47C#40C47C

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

Color values

HEX#40C47C
RGBrgb(64, 196, 124)
HSLhsl(147, 53%, 51%)
HSVhsv(147, 67%, 77%)
CMYKcmyk(67.3%, 0%, 36.7%, 23.1%)
CIE-LABlab(70.89, -52.07, 25.99)
CIE-LCHlch(70.89, 58.20, 153.47°)
OKLaboklab(73.11% -0.1409 0.0651)
OKLCHoklch(73.11% 0.155 155.2)
XYZxyz(25.4901, 42.0223, 25.8326)
Luminance0.4203 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C47C #C44088
analogous
#46C440 #40C47C #40C4BE
triadic
#40C47C #7C40C4 #C47C40
tetradic
#40C47C #4046C4 #C44088 #C4BE40
square
#40C47C #4046C4 #C44088 #C4BE40
split-complementary
#40C47C #BE40C4 #C44046
monochromatic
#206941 #2F985F #40C47C #6FD29C #9EE1BC

Accessibility & contrast

On white

2.23
#40C47C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##40C47C#FFFFFF#000000##000000
##40C47C1.002.239.409.40
#FFFFFF2.231.0021.0021.00
#0000009.4021.001.001.00
##0000009.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3B577
Deuteranopia (green-blind)
#B2A981
Tritanopia (blue-blind)
#00C2B2
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #40c47c;
/* rgb */ color: rgb(64, 196, 124);
/* oklch */ color: oklch(73.1% 0.155 155.2);
Tailwind
colors: {
  custom: {
    50: '#84d7a2',
    500: '#40c47c',
    950: '#000000',
  },
}
SCSS
$custom: #40c47c;
$custom-light: #84d7a2;
$custom-dark: #000000;
JSON
{
  "hex": "#40c47c",
  "rgb": {
    "r": 64,
    "g": 196,
    "b": 124
  },
  "hsl": {
    "h": 147.273,
    "s": 52.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.73113,
    "c": 0.15523,
    "h": 155.2
  },
  "luminance": 0.42025
}

Semantic roles & 50–950 ramp

primary
#40C47C
secondary
#CD93B3
accent
#4C9ADC
background
#F8FDFA
surface
#F0FAF3
border
#CBD3CD
text
#0C140F
muted
#7D837F

Preview Lab

Preview with #40C47C

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

Preview Lab → · Contrast checker → · Palette generator →

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