#40C480#40C480

#40C480 is a light, vivid green. Relative luminance 0.421; OKLCH L 73.2% C 0.152 H 156.5°. Best body text is #000000 at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#40C480
RGBrgb(64, 196, 128)
HSLhsl(149, 53%, 51%)
HSVhsv(149, 67%, 77%)
CMYKcmyk(67.3%, 0%, 34.7%, 23.1%)
CIE-LABlab(70.96, -51.29, 23.98)
CIE-LCHlch(70.96, 56.62, 154.94°)
OKLaboklab(73.19% -0.1391 0.0603)
OKLCHoklch(73.19% 0.152 156.5)
XYZxyz(25.7482, 42.1256, 27.1920)
Luminance0.4213 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C480 #C44084
analogous
#42C440 #40C480 #40C4C2
triadic
#40C480 #8040C4 #C48040
tetradic
#40C480 #4042C4 #C44084 #C4C240
square
#40C480 #4042C4 #C44084 #C4C240
split-complementary
#40C480 #C240C4 #C44042
monochromatic
#206944 #2F9862 #40C480 #6FD29F #9EE1BE

Accessibility & contrast

On white

2.23
#40C480 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.43
#40C480 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C480
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C480#FFFFFF#000000##000000
##40C4801.002.239.439.43
#FFFFFF2.231.0021.0021.00
#0000009.4321.001.001.00
##0000009.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3B57C
Deuteranopia (green-blind)
#B2A984
Tritanopia (blue-blind)
#00C2B2
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #40c480;
/* rgb */ color: rgb(64, 196, 128);
/* oklch */ color: oklch(73.2% 0.152 156.5);
Tailwind
colors: {
  custom: {
    50: '#84d7a5',
    500: '#40c480',
    950: '#000000',
  },
}
SCSS
$custom: #40c480;
$custom-light: #84d7a5;
$custom-dark: #000000;
JSON
{
  "hex": "#40c480",
  "rgb": {
    "r": 64,
    "g": 196,
    "b": 128
  },
  "hsl": {
    "h": 149.091,
    "s": 52.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.73195,
    "c": 0.15159,
    "h": 156.5
  },
  "luminance": 0.42128
}

Semantic roles & 50–950 ramp

primary
#40C480
secondary
#CD93B1
accent
#4C96DC
background
#F8FDFA
surface
#F0FAF4
border
#CBD3CE
text
#0C140F
muted
#7D837F

Preview Lab

Preview with #40C480

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

Preview Lab → · Contrast checker → · Palette generator →

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