#40C477#40C477

#40C477 is a light, vivid green. Relative luminance 0.419; OKLCH L 73.0% C 0.160 H 153.6°. Best body text is #000000 at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#40C477
RGBrgb(64, 196, 119)
HSLhsl(145, 53%, 51%)
HSVhsv(145, 67%, 77%)
CMYKcmyk(67.3%, 0%, 39.3%, 23.1%)
CIE-LABlab(70.80, -53.01, 28.49)
CIE-LCHlch(70.80, 60.18, 151.74°)
OKLaboklab(73.02% -0.1432 0.071)
OKLCHoklch(73.02% 0.16 153.6)
XYZxyz(25.1819, 41.8990, 24.2094)
Luminance0.4190 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C477 #C4408D
analogous
#4BC440 #40C477 #40C4B9
triadic
#40C477 #7740C4 #C47740
tetradic
#40C477 #404BC4 #C4408D #C4B940
square
#40C477 #404BC4 #C4408D #C4B940
split-complementary
#40C477 #B940C4 #C4404B
monochromatic
#20693F #2F985B #40C477 #6FD298 #9EE1BA

Accessibility & contrast

On white

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

On black

9.38
#40C477 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C477
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C477#FFFFFF#000000##000000
##40C4771.002.249.389.38
#FFFFFF2.241.0021.0021.00
#0000009.3821.001.001.00
##0000009.3821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40c477;
/* rgb */ color: rgb(64, 196, 119);
/* oklch */ color: oklch(73.0% 0.160 153.6);
Tailwind
colors: {
  custom: {
    50: '#84d79f',
    500: '#40c477',
    950: '#000000',
  },
}
SCSS
$custom: #40c477;
$custom-light: #84d79f;
$custom-dark: #000000;
JSON
{
  "hex": "#40c477",
  "rgb": {
    "r": 64,
    "g": 196,
    "b": 119
  },
  "hsl": {
    "h": 145,
    "s": 52.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.73015,
    "c": 0.15982,
    "h": 153.6
  },
  "luminance": 0.41902
}

Semantic roles & 50–950 ramp

primary
#40C477
secondary
#CD93B5
accent
#4CA0DC
background
#F8FDF9
surface
#F0FAF2
border
#CBD3CC
text
#0C140E
muted
#7D837E

Preview Lab

Preview with #40C477

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

Preview Lab → · Contrast checker → · Palette generator →

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