#40C561#40C561

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

Color values

HEX#40C561
RGBrgb(64, 197, 97)
HSLhsl(135, 53%, 51%)
HSVhsv(135, 68%, 77%)
CMYKcmyk(67.5%, 0%, 50.8%, 22.7%)
CIE-LABlab(70.79, -57.03, 39.64)
CIE-LCHlch(70.79, 69.46, 145.20°)
OKLaboklab(72.9% -0.1537 0.0959)
OKLCHoklch(72.9% 0.181 148.1)
XYZxyz(24.2365, 41.8830, 18.1139)
Luminance0.4189 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C561 #C540A4
analogous
#61C540 #40C561 #40C5A3
triadic
#40C561 #6140C5 #C56140
tetradic
#40C561 #4061C5 #C540A4 #C5A340
square
#40C561 #4061C5 #C540A4 #C5A340
split-complementary
#40C561 #A340C5 #C54061
monochromatic
#206A33 #2F9949 #40C561 #6FD388 #9EE2AF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40C561#FFFFFF#000000##000000
##40C5611.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)
#C7B458
Deuteranopia (green-blind)
#B7A968
Tritanopia (blue-blind)
#00C1AE
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #40c561;
/* rgb */ color: rgb(64, 197, 97);
/* oklch */ color: oklch(72.9% 0.181 148.1);
Tailwind
colors: {
  custom: {
    50: '#85d890',
    500: '#40c561',
    950: '#000000',
  },
}
SCSS
$custom: #40c561;
$custom-light: #85d890;
$custom-dark: #000000;
JSON
{
  "hex": "#40c561",
  "rgb": {
    "r": 64,
    "g": 197,
    "b": 97
  },
  "hsl": {
    "h": 134.887,
    "s": 53.414,
    "l": 51.176
  },
  "oklch": {
    "l": 0.729,
    "c": 0.18117,
    "h": 148.1
  },
  "luminance": 0.41886
}

Semantic roles & 50–950 ramp

primary
#40C561
secondary
#CE93BF
accent
#4BB9DD
background
#F8FDF8
surface
#F0FAF0
border
#CBD3CB
text
#0C150D
muted
#7D837D

Preview Lab

Preview with #40C561

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

Preview Lab → · Contrast checker → · Palette generator →

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