#40A560#40A560

#40A560 is a light, vivid green. Relative luminance 0.288; OKLCH L 64.5% C 0.139 H 150.9°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#40A560
RGBrgb(64, 165, 96)
HSLhsl(139, 44%, 45%)
HSVhsv(139, 61%, 65%)
CMYKcmyk(61.2%, 0%, 41.8%, 35.3%)
CIE-LABlab(60.64, -44.94, 27.27)
CIE-LCHlch(60.64, 52.57, 148.75°)
OKLaboklab(64.54% -0.1215 0.0675)
OKLCHoklch(64.54% 0.139 150.9)
XYZxyz(17.6795, 28.8431, 15.6996)
Luminance0.2884 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A560 #A54085
analogous
#52A540 #40A560 #40A593
triadic
#40A560 #6040A5 #A56040
tetradic
#40A560 #4052A5 #A54085 #A59340
square
#40A560 #4052A5 #A54085 #A59340
split-complementary
#40A560 #9340A5 #A54052
monochromatic
#1E4D2D #2F7946 #40A560 #61C27F #8DD3A3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40A560#FFFFFF#000000##000000
##40A5601.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)
#A6985B
Deuteranopia (green-blind)
#988F65
Tritanopia (blue-blind)
#20A294
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #40a560;
/* rgb */ color: rgb(64, 165, 96);
/* oklch */ color: oklch(64.5% 0.139 150.9);
Tailwind
colors: {
  custom: {
    50: '#7fc08e',
    500: '#40a560',
    950: '#000000',
  },
}
SCSS
$custom: #40a560;
$custom-light: #7fc08e;
$custom-dark: #000000;
JSON
{
  "hex": "#40a560",
  "rgb": {
    "r": 64,
    "g": 165,
    "b": 96
  },
  "hsl": {
    "h": 139.01,
    "s": 44.105,
    "l": 44.902
  },
  "oklch": {
    "l": 0.64535,
    "c": 0.13902,
    "h": 150.9
  },
  "luminance": 0.28845
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40A560

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

Preview Lab → · Contrast checker → · Palette generator →

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