#40A56D#40A56D

#40A56D is a light, vivid green. Relative luminance 0.291; OKLCH L 64.8% C 0.127 H 155.8°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#40A56D
RGBrgb(64, 165, 109)
HSLhsl(147, 44%, 45%)
HSVhsv(147, 61%, 65%)
CMYKcmyk(61.2%, 0%, 33.9%, 35.3%)
CIE-LABlab(60.87, -42.48, 20.55)
CIE-LCHlch(60.87, 47.19, 154.19°)
OKLaboklab(64.8% -0.1154 0.0518)
OKLCHoklch(64.8% 0.127 155.8)
XYZxyz(18.3282, 29.1026, 19.1165)
Luminance0.2910 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A56D #A54078
analogous
#45A540 #40A56D #40A5A0
triadic
#40A56D #6D40A5 #A56D40
tetradic
#40A56D #4045A5 #A54078 #A5A040
square
#40A56D #4045A5 #A54078 #A5A040
split-complementary
#40A56D #A040A5 #A54045
monochromatic
#1E4D33 #2F7950 #40A56D #61C28C #8DD3AC

Accessibility & contrast

On white

3.08
#40A56D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.82
#40A56D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A56D
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A56D#FFFFFF#000000##000000
##40A56D1.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49969
Deuteranopia (green-blind)
#978F71
Tritanopia (blue-blind)
#16A496
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #40a56d;
/* rgb */ color: rgb(64, 165, 109);
/* oklch */ color: oklch(64.8% 0.127 155.8);
Tailwind
colors: {
  custom: {
    50: '#7fc097',
    500: '#40a56d',
    950: '#000000',
  },
}
SCSS
$custom: #40a56d;
$custom-light: #7fc097;
$custom-dark: #000000;
JSON
{
  "hex": "#40a56d",
  "rgb": {
    "r": 64,
    "g": 165,
    "b": 109
  },
  "hsl": {
    "h": 146.733,
    "s": 44.105,
    "l": 44.902
  },
  "oklch": {
    "l": 0.64798,
    "c": 0.12652,
    "h": 155.8
  },
  "luminance": 0.29104
}

Semantic roles & 50–950 ramp

primary
#40A56D
secondary
#BE83A4
accent
#549BD4
background
#F8FBF9
surface
#EFF7F2
border
#CAD0CC
text
#0B120D
muted
#7C817E

Preview Lab

Preview with #40A56D

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

Preview Lab → · Contrast checker → · Palette generator →

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