#40C47F#40C47F

#40C47F is a light, vivid green. Relative luminance 0.421; OKLCH L 73.2% C 0.152 H 156.2°. Best body text is #000000 at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#40C47F
RGBrgb(64, 196, 127)
HSLhsl(149, 53%, 51%)
HSVhsv(149, 67%, 77%)
CMYKcmyk(67.3%, 0%, 35.2%, 23.1%)
CIE-LABlab(70.94, -51.49, 24.48)
CIE-LCHlch(70.94, 57.01, 154.57°)
OKLaboklab(73.17% -0.1395 0.0615)
OKLCHoklch(73.17% 0.152 156.2)
XYZxyz(25.6827, 42.0994, 26.8470)
Luminance0.4210 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C47F #C44085
analogous
#43C440 #40C47F #40C4C1
triadic
#40C47F #7F40C4 #C47F40
tetradic
#40C47F #4043C4 #C44085 #C4C140
square
#40C47F #4043C4 #C44085 #C4C140
split-complementary
#40C47F #C140C4 #C44043
monochromatic
#206943 #2F9861 #40C47F #6FD29E #9EE1BE

Accessibility & contrast

On white

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

On black

9.42
#40C47F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C47F
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C47F#FFFFFF#000000##000000
##40C47F1.002.239.429.42
#FFFFFF2.231.0021.0021.00
#0000009.4221.001.001.00
##0000009.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3B57B
Deuteranopia (green-blind)
#B2A983
Tritanopia (blue-blind)
#00C2B2
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #40c47f;
/* rgb */ color: rgb(64, 196, 127);
/* oklch */ color: oklch(73.2% 0.152 156.2);
Tailwind
colors: {
  custom: {
    50: '#84d7a4',
    500: '#40c47f',
    950: '#000000',
  },
}
SCSS
$custom: #40c47f;
$custom-light: #84d7a4;
$custom-dark: #000000;
JSON
{
  "hex": "#40c47f",
  "rgb": {
    "r": 64,
    "g": 196,
    "b": 127
  },
  "hsl": {
    "h": 148.636,
    "s": 52.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.73174,
    "c": 0.15249,
    "h": 156.2
  },
  "luminance": 0.42102
}

Semantic roles & 50–950 ramp

primary
#40C47F
secondary
#CD93B1
accent
#4C97DC
background
#F8FDFA
surface
#F0FAF4
border
#CBD3CE
text
#0C140F
muted
#7D837F

Preview Lab

Preview with #40C47F

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

Preview Lab → · Contrast checker → · Palette generator →

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