#40C470#40C470

#40C470 is a light, vivid green. Relative luminance 0.417; OKLCH L 72.9% C 0.166 H 151.6°. Best body text is #000000 at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#40C470
RGBrgb(64, 196, 112)
HSLhsl(142, 53%, 51%)
HSVhsv(142, 67%, 77%)
CMYKcmyk(67.3%, 0%, 42.9%, 23.1%)
CIE-LABlab(70.69, -54.26, 31.97)
CIE-LCHlch(70.69, 62.98, 149.49°)
OKLaboklab(72.89% -0.1463 0.079)
OKLCHoklch(72.89% 0.166 151.6)
XYZxyz(24.7769, 41.7370, 22.0764)
Luminance0.4174 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C470 #C44094
analogous
#52C440 #40C470 #40C4B2
triadic
#40C470 #7040C4 #C47040
tetradic
#40C470 #4052C4 #C44094 #C4B240
square
#40C470 #4052C4 #C44094 #C4B240
split-complementary
#40C470 #B240C4 #C44052
monochromatic
#20693B #2F9855 #40C470 #6FD293 #9EE1B6

Accessibility & contrast

On white

2.25
#40C470 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.35
#40C470 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C470
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C470#FFFFFF#000000##000000
##40C4701.002.259.359.35
#FFFFFF2.251.0021.0021.00
#0000009.3521.001.001.00
##0000009.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B46A
Deuteranopia (green-blind)
#B4A876
Tritanopia (blue-blind)
#00C1AF
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #40c470;
/* rgb */ color: rgb(64, 196, 112);
/* oklch */ color: oklch(72.9% 0.166 151.6);
Tailwind
colors: {
  custom: {
    50: '#84d79a',
    500: '#40c470',
    950: '#000000',
  },
}
SCSS
$custom: #40c470;
$custom-light: #84d79a;
$custom-dark: #000000;
JSON
{
  "hex": "#40c470",
  "rgb": {
    "r": 64,
    "g": 196,
    "b": 112
  },
  "hsl": {
    "h": 141.818,
    "s": 52.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.72886,
    "c": 0.16627,
    "h": 151.6
  },
  "luminance": 0.4174
}

Semantic roles & 50–950 ramp

primary
#40C470
secondary
#CD93B8
accent
#4CA8DC
background
#F8FDF9
surface
#F0FAF2
border
#CBD3CC
text
#0C140E
muted
#7D837E

Preview Lab

Preview with #40C470

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

Preview Lab → · Contrast checker → · Palette generator →

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