#40C47D#40C47D

#40C47D is a light, vivid green. Relative luminance 0.421; OKLCH L 73.1% C 0.154 H 155.5°. Best body text is #000000 at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#40C47D
RGBrgb(64, 196, 125)
HSLhsl(148, 53%, 51%)
HSVhsv(148, 67%, 77%)
CMYKcmyk(67.3%, 0%, 36.2%, 23.1%)
CIE-LABlab(70.90, -51.88, 25.49)
CIE-LCHlch(70.90, 57.80, 153.83°)
OKLaboklab(73.13% -0.1404 0.0639)
OKLCHoklch(73.13% 0.154 155.5)
XYZxyz(25.5536, 42.0477, 26.1674)
Luminance0.4205 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C47D #C44087
analogous
#45C440 #40C47D #40C4BF
triadic
#40C47D #7D40C4 #C47D40
tetradic
#40C47D #4045C4 #C44087 #C4BF40
square
#40C47D #4045C4 #C44087 #C4BF40
split-complementary
#40C47D #BF40C4 #C44045
monochromatic
#206942 #2F985F #40C47D #6FD29D #9EE1BD

Accessibility & contrast

On white

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

On black

9.41
#40C47D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C47D
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C47D#FFFFFF#000000##000000
##40C47D1.002.239.419.41
#FFFFFF2.231.0021.0021.00
#0000009.4121.001.001.00
##0000009.4121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40c47d;
/* rgb */ color: rgb(64, 196, 125);
/* oklch */ color: oklch(73.1% 0.154 155.5);
Tailwind
colors: {
  custom: {
    50: '#84d7a3',
    500: '#40c47d',
    950: '#000000',
  },
}
SCSS
$custom: #40c47d;
$custom-light: #84d7a3;
$custom-dark: #000000;
JSON
{
  "hex": "#40c47d",
  "rgb": {
    "r": 64,
    "g": 196,
    "b": 125
  },
  "hsl": {
    "h": 147.727,
    "s": 52.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.73133,
    "c": 0.15432,
    "h": 155.5
  },
  "luminance": 0.42051
}

Semantic roles & 50–950 ramp

primary
#40C47D
secondary
#CD93B2
accent
#4C99DC
background
#F8FDFA
surface
#F0FAF4
border
#CBD3CE
text
#0C140F
muted
#7D837F

Preview Lab

Preview with #40C47D

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

Preview Lab → · Contrast checker → · Palette generator →

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