#40C476#40C476

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

Color values

HEX#40C476
RGBrgb(64, 196, 118)
HSLhsl(145, 53%, 51%)
HSVhsv(145, 67%, 77%)
CMYKcmyk(67.3%, 0%, 39.8%, 23.1%)
CIE-LABlab(70.78, -53.19, 28.99)
CIE-LCHlch(70.78, 60.58, 151.41°)
OKLaboklab(73% -0.1436 0.0722)
OKLCHoklch(73% 0.161 153.3)
XYZxyz(25.1221, 41.8751, 23.8948)
Luminance0.4188 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C476 #C4408E
analogous
#4CC440 #40C476 #40C4B8
triadic
#40C476 #7640C4 #C47640
tetradic
#40C476 #404CC4 #C4408E #C4B840
square
#40C476 #404CC4 #C4408E #C4B840
split-complementary
#40C476 #B840C4 #C4404C
monochromatic
#20693E #2F985A #40C476 #6FD298 #9EE1B9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40C476#FFFFFF#000000##000000
##40C4761.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)
#C4B471
Deuteranopia (green-blind)
#B3A97B
Tritanopia (blue-blind)
#00C2B1
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #40c476;
/* rgb */ color: rgb(64, 196, 118);
/* oklch */ color: oklch(73.0% 0.161 153.3);
Tailwind
colors: {
  custom: {
    50: '#84d79e',
    500: '#40c476',
    950: '#000000',
  },
}
SCSS
$custom: #40c476;
$custom-light: #84d79e;
$custom-dark: #000000;
JSON
{
  "hex": "#40c476",
  "rgb": {
    "r": 64,
    "g": 196,
    "b": 118
  },
  "hsl": {
    "h": 144.545,
    "s": 52.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.72996,
    "c": 0.16074,
    "h": 153.3
  },
  "luminance": 0.41878
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40C476

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

Preview Lab → · Contrast checker → · Palette generator →

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