#40C560#40C560

#40C560 is a light, vivid green. Relative luminance 0.419; OKLCH L 72.9% C 0.182 H 147.9°. Best body text is #000000 at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#40C560
RGBrgb(64, 197, 96)
HSLhsl(134, 53%, 51%)
HSVhsv(134, 68%, 77%)
CMYKcmyk(67.5%, 0%, 51.3%, 22.7%)
CIE-LABlab(70.78, -57.18, 40.12)
CIE-LCHlch(70.78, 69.85, 144.95°)
OKLaboklab(72.89% -0.1541 0.0969)
OKLCHoklch(72.89% 0.182 147.9)
XYZxyz(24.1901, 41.8644, 17.8699)
Luminance0.4187 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C560 #C540A5
analogous
#62C540 #40C560 #40C5A2
triadic
#40C560 #6040C5 #C56040
tetradic
#40C560 #4062C5 #C540A5 #C5A240
square
#40C560 #4062C5 #C540A5 #C5A240
split-complementary
#40C560 #A240C5 #C54062
monochromatic
#206A32 #2F9948 #40C560 #6FD387 #9EE2AE

Accessibility & contrast

On white

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

On black

9.37
#40C560 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C560
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C560#FFFFFF#000000##000000
##40C5601.002.249.379.37
#FFFFFF2.241.0021.0021.00
#0000009.3721.001.001.00
##0000009.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B457
Deuteranopia (green-blind)
#B7A967
Tritanopia (blue-blind)
#02C1AE
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #40c560;
/* rgb */ color: rgb(64, 197, 96);
/* oklch */ color: oklch(72.9% 0.182 147.9);
Tailwind
colors: {
  custom: {
    50: '#85d88f',
    500: '#40c560',
    950: '#000000',
  },
}
SCSS
$custom: #40c560;
$custom-light: #85d88f;
$custom-dark: #000000;
JSON
{
  "hex": "#40c560",
  "rgb": {
    "r": 64,
    "g": 197,
    "b": 96
  },
  "hsl": {
    "h": 134.436,
    "s": 53.414,
    "l": 51.176
  },
  "oklch": {
    "l": 0.72886,
    "c": 0.18205,
    "h": 147.9
  },
  "luminance": 0.41867
}

Semantic roles & 50–950 ramp

primary
#40C560
secondary
#CE93C0
accent
#4BBADD
background
#F8FDF8
surface
#F0FAF0
border
#CBD3CB
text
#0C150C
muted
#7D837D

Preview Lab

Preview with #40C560

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

Preview Lab → · Contrast checker → · Palette generator →

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