#40C474#40C474

#40C474 is a light, vivid green. Relative luminance 0.418; OKLCH L 73.0% C 0.163 H 152.8°. Best body text is #000000 at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#40C474
RGBrgb(64, 196, 116)
HSLhsl(144, 53%, 51%)
HSVhsv(144, 67%, 77%)
CMYKcmyk(67.3%, 0%, 40.8%, 23.1%)
CIE-LABlab(70.75, -53.55, 29.99)
CIE-LCHlch(70.75, 61.38, 150.75°)
OKLaboklab(72.96% -0.1445 0.0744)
OKLCHoklch(72.96% 0.163 152.8)
XYZxyz(25.0045, 41.8281, 23.2755)
Luminance0.4183 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C474 #C44090
analogous
#4EC440 #40C474 #40C4B6
triadic
#40C474 #7440C4 #C47440
tetradic
#40C474 #404EC4 #C44090 #C4B640
square
#40C474 #404EC4 #C44090 #C4B640
split-complementary
#40C474 #B640C4 #C4404E
monochromatic
#20693D #2F9858 #40C474 #6FD296 #9EE1B8

Accessibility & contrast

On white

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

On black

9.37
#40C474 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C474
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C474#FFFFFF#000000##000000
##40C4741.002.249.379.37
#FFFFFF2.241.0021.0021.00
#0000009.3721.001.001.00
##0000009.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B46E
Deuteranopia (green-blind)
#B4A879
Tritanopia (blue-blind)
#00C1B0
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #40c474;
/* rgb */ color: rgb(64, 196, 116);
/* oklch */ color: oklch(73.0% 0.163 152.8);
Tailwind
colors: {
  custom: {
    50: '#84d79d',
    500: '#40c474',
    950: '#000000',
  },
}
SCSS
$custom: #40c474;
$custom-light: #84d79d;
$custom-dark: #000000;
JSON
{
  "hex": "#40c474",
  "rgb": {
    "r": 64,
    "g": 196,
    "b": 116
  },
  "hsl": {
    "h": 143.636,
    "s": 52.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.72959,
    "c": 0.16258,
    "h": 152.8
  },
  "luminance": 0.41831
}

Semantic roles & 50–950 ramp

primary
#40C474
secondary
#CD93B6
accent
#4CA3DC
background
#F8FDF9
surface
#F0FAF2
border
#CBD3CC
text
#0C140E
muted
#7D837E

Preview Lab

Preview with #40C474

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

Preview Lab → · Contrast checker → · Palette generator →

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