#40A561#40A561

#40A561 is a light, vivid green. Relative luminance 0.289; OKLCH L 64.6% C 0.138 H 151.3°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#40A561
RGBrgb(64, 165, 97)
HSLhsl(140, 44%, 45%)
HSVhsv(140, 61%, 65%)
CMYKcmyk(61.2%, 0%, 41.2%, 35.3%)
CIE-LABlab(60.66, -44.76, 26.76)
CIE-LCHlch(60.66, 52.15, 149.13°)
OKLaboklab(64.55% -0.121 0.0664)
OKLCHoklch(64.55% 0.138 151.3)
XYZxyz(17.7258, 28.8616, 15.9437)
Luminance0.2886 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A561 #A54084
analogous
#51A540 #40A561 #40A594
triadic
#40A561 #6140A5 #A56140
tetradic
#40A561 #4051A5 #A54084 #A59440
square
#40A561 #4051A5 #A54084 #A59440
split-complementary
#40A561 #9440A5 #A54051
monochromatic
#1E4D2D #2F7947 #40A561 #61C280 #8DD3A4

Accessibility & contrast

On white

3.10
#40A561 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#40A561 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A561
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A561#FFFFFF#000000##000000
##40A5611.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6985C
Deuteranopia (green-blind)
#988F65
Tritanopia (blue-blind)
#20A394
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #40a561;
/* rgb */ color: rgb(64, 165, 97);
/* oklch */ color: oklch(64.6% 0.138 151.3);
Tailwind
colors: {
  custom: {
    50: '#7fc08e',
    500: '#40a561',
    950: '#000000',
  },
}
SCSS
$custom: #40a561;
$custom-light: #7fc08e;
$custom-dark: #000000;
JSON
{
  "hex": "#40a561",
  "rgb": {
    "r": 64,
    "g": 165,
    "b": 97
  },
  "hsl": {
    "h": 139.604,
    "s": 44.105,
    "l": 44.902
  },
  "oklch": {
    "l": 0.64554,
    "c": 0.13805,
    "h": 151.3
  },
  "luminance": 0.28863
}

Semantic roles & 50–950 ramp

primary
#40A561
secondary
#BE83AB
accent
#54AAD4
background
#F8FBF8
surface
#EFF7F0
border
#CAD0CB
text
#0B120C
muted
#7C817D

Preview Lab

Preview with #40A561

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

Preview Lab → · Contrast checker → · Palette generator →

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