#40C580#40C580

#40C580 is a light, vivid green. Relative luminance 0.426; OKLCH L 73.5% C 0.153 H 156.3°. Best body text is #000000 at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#40C580
RGBrgb(64, 197, 128)
HSLhsl(149, 53%, 51%)
HSVhsv(149, 68%, 77%)
CMYKcmyk(67.5%, 0%, 35%, 22.7%)
CIE-LABlab(71.27, -51.69, 24.40)
CIE-LCHlch(71.27, 57.15, 154.73°)
OKLaboklab(73.45% -0.1401 0.0614)
OKLCHoklch(73.45% 0.153 156.3)
XYZxyz(25.9745, 42.5782, 27.2674)
Luminance0.4258 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C580 #C54085
analogous
#42C540 #40C580 #40C5C2
triadic
#40C580 #8040C5 #C58040
tetradic
#40C580 #4042C5 #C54085 #C5C240
square
#40C580 #4042C5 #C54085 #C5C240
split-complementary
#40C580 #C240C5 #C54042
monochromatic
#206A44 #2F9962 #40C580 #6FD39F #9EE2BE

Accessibility & contrast

On white

2.21
#40C580 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.52
#40C580 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C580
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C580#FFFFFF#000000##000000
##40C5801.002.219.529.52
#FFFFFF2.211.0021.0021.00
#0000009.5221.001.001.00
##0000009.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B67C
Deuteranopia (green-blind)
#B3AA84
Tritanopia (blue-blind)
#00C3B3
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #40c580;
/* rgb */ color: rgb(64, 197, 128);
/* oklch */ color: oklch(73.5% 0.153 156.3);
Tailwind
colors: {
  custom: {
    50: '#84d7a5',
    500: '#40c580',
    950: '#000000',
  },
}
SCSS
$custom: #40c580;
$custom-light: #84d7a5;
$custom-dark: #000000;
JSON
{
  "hex": "#40c580",
  "rgb": {
    "r": 64,
    "g": 197,
    "b": 128
  },
  "hsl": {
    "h": 148.872,
    "s": 53.414,
    "l": 51.176
  },
  "oklch": {
    "l": 0.7345,
    "c": 0.15292,
    "h": 156.3
  },
  "luminance": 0.42581
}

Semantic roles & 50–950 ramp

primary
#40C580
secondary
#CE93B2
accent
#4B97DD
background
#F8FDFA
surface
#F0FAF4
border
#CBD3CE
text
#0C140F
muted
#7D837F

Preview Lab

Preview with #40C580

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

Preview Lab → · Contrast checker → · Palette generator →

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