#40A34E#40A34E

#40A34E is a light, vivid green. Relative luminance 0.278; OKLCH L 63.7% C 0.153 H 146.1°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#40A34E
RGBrgb(64, 163, 78)
HSLhsl(128, 44%, 45%)
HSVhsv(128, 61%, 64%)
CMYKcmyk(60.7%, 0%, 52.1%, 36.1%)
CIE-LABlab(59.74, -47.05, 35.49)
CIE-LCHlch(59.74, 58.93, 142.98°)
OKLaboklab(63.7% -0.1273 0.0855)
OKLCHoklch(63.7% 0.153 146.1)
XYZxyz(16.5856, 27.8329, 11.7045)
Luminance0.2783 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A34E #A34095
analogous
#64A340 #40A34E #40A380
triadic
#40A34E #4E40A3 #A34E40
tetradic
#40A34E #4064A3 #A34095 #A38040
square
#40A34E #4064A3 #A34095 #A38040
split-complementary
#40A34E #8040A3 #A34064
monochromatic
#1D4B24 #2F7739 #40A34E #60C06D #8CD296

Accessibility & contrast

On white

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

On black

6.57
#40A34E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A34E
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A34E#FFFFFF#000000##000000
##40A34E1.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59547
Deuteranopia (green-blind)
#998C54
Tritanopia (blue-blind)
#299F8F
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #40a34e;
/* rgb */ color: rgb(64, 163, 78);
/* oklch */ color: oklch(63.7% 0.153 146.1);
Tailwind
colors: {
  custom: {
    50: '#7fbf81',
    500: '#40a34e',
    950: '#000000',
  },
}
SCSS
$custom: #40a34e;
$custom-light: #7fbf81;
$custom-dark: #000000;
JSON
{
  "hex": "#40a34e",
  "rgb": {
    "r": 64,
    "g": 163,
    "b": 78
  },
  "hsl": {
    "h": 128.485,
    "s": 43.612,
    "l": 44.51
  },
  "oklch": {
    "l": 0.63704,
    "c": 0.15336,
    "h": 146.1
  },
  "luminance": 0.27834
}

Semantic roles & 50–950 ramp

primary
#40A34E
secondary
#BD82B4
accent
#54C1D3
background
#F8FBF8
surface
#EFF7EF
border
#CAD0CA
text
#0B120A
muted
#7C817C

Preview Lab

Preview with #40A34E

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

Preview Lab → · Contrast checker → · Palette generator →

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