#40C471#40C471

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

Color values

HEX#40C471
RGBrgb(64, 196, 113)
HSLhsl(142, 53%, 51%)
HSVhsv(142, 67%, 77%)
CMYKcmyk(67.3%, 0%, 42.3%, 23.1%)
CIE-LABlab(70.70, -54.08, 31.48)
CIE-LCHlch(70.70, 62.58, 149.80°)
OKLaboklab(72.9% -0.1459 0.0778)
OKLCHoklch(72.9% 0.165 151.9)
XYZxyz(24.8329, 41.7594, 22.3712)
Luminance0.4176 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C471 #C44093
analogous
#51C440 #40C471 #40C4B3
triadic
#40C471 #7140C4 #C47140
tetradic
#40C471 #4051C4 #C44093 #C4B340
square
#40C471 #4051C4 #C44093 #C4B340
split-complementary
#40C471 #B340C4 #C44051
monochromatic
#20693B #2F9856 #40C471 #6FD294 #9EE1B7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40C471#FFFFFF#000000##000000
##40C4711.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)
#C4B46B
Deuteranopia (green-blind)
#B4A877
Tritanopia (blue-blind)
#00C1B0
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #40c471;
/* rgb */ color: rgb(64, 196, 113);
/* oklch */ color: oklch(72.9% 0.165 151.9);
Tailwind
colors: {
  custom: {
    50: '#84d79b',
    500: '#40c471',
    950: '#000000',
  },
}
SCSS
$custom: #40c471;
$custom-light: #84d79b;
$custom-dark: #000000;
JSON
{
  "hex": "#40c471",
  "rgb": {
    "r": 64,
    "g": 196,
    "b": 113
  },
  "hsl": {
    "h": 142.273,
    "s": 52.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.72904,
    "c": 0.16535,
    "h": 151.9
  },
  "luminance": 0.41762
}

Semantic roles & 50–950 ramp

primary
#40C471
secondary
#CD93B7
accent
#4CA7DC
background
#F8FDF9
surface
#F0FAF2
border
#CBD3CC
text
#0C140E
muted
#7D837E

Preview Lab

Preview with #40C471

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

Preview Lab → · Contrast checker → · Palette generator →

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