#40A34A#40A34A

#40A34A is a light, vivid green. Relative luminance 0.278; OKLCH L 63.6% C 0.157 H 145.2°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#40A34A
RGBrgb(64, 163, 74)
HSLhsl(126, 44%, 45%)
HSVhsv(126, 61%, 64%)
CMYKcmyk(60.7%, 0%, 54.6%, 36.1%)
CIE-LABlab(59.69, -47.61, 37.43)
CIE-LCHlch(59.69, 60.56, 141.83°)
OKLaboklab(63.65% -0.1289 0.0896)
OKLCHoklch(63.65% 0.157 145.2)
XYZxyz(16.4466, 27.7772, 10.9721)
Luminance0.2778 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A34A #A34099
analogous
#67A340 #40A34A #40A37C
triadic
#40A34A #4A40A3 #A34A40
tetradic
#40A34A #4067A3 #A34099 #A37C40
square
#40A34A #4067A3 #A34099 #A37C40
split-complementary
#40A34A #7C40A3 #A34067
monochromatic
#1D4B22 #2F7736 #40A34A #60C06A #8CD293

Accessibility & contrast

On white

3.20
#40A34A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#40A34A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A34A
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A34A#FFFFFF#000000##000000
##40A34A1.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69542
Deuteranopia (green-blind)
#998C51
Tritanopia (blue-blind)
#2B9F8F
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #40a34a;
/* rgb */ color: rgb(64, 163, 74);
/* oklch */ color: oklch(63.6% 0.157 145.2);
Tailwind
colors: {
  custom: {
    50: '#7fbf7f',
    500: '#40a34a',
    950: '#000000',
  },
}
SCSS
$custom: #40a34a;
$custom-light: #7fbf7f;
$custom-dark: #000000;
JSON
{
  "hex": "#40a34a",
  "rgb": {
    "r": 64,
    "g": 163,
    "b": 74
  },
  "hsl": {
    "h": 126.061,
    "s": 43.612,
    "l": 44.51
  },
  "oklch": {
    "l": 0.63646,
    "c": 0.157,
    "h": 145.2
  },
  "luminance": 0.27779
}

Semantic roles & 50–950 ramp

primary
#40A34A
secondary
#BD82B7
accent
#54C7D3
background
#F8FBF7
surface
#EFF7EE
border
#CAD0C9
text
#0B120A
muted
#7C817C

Preview Lab

Preview with #40A34A

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

Preview Lab → · Contrast checker → · Palette generator →

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