#40A440#40A440

#40A440 is a light, vivid green. Relative luminance 0.280; OKLCH L 63.8% C 0.167 H 143.3°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#40A440
RGBrgb(64, 164, 64)
HSLhsl(120, 44%, 45%)
HSVhsv(120, 61%, 64%)
CMYKcmyk(61%, 0%, 61%, 35.7%)
CIE-LABlab(59.90, -49.27, 42.48)
CIE-LCHlch(59.90, 65.05, 139.24°)
OKLaboklab(63.78% -0.1338 0.0997)
OKLCHoklch(63.78% 0.167 143.3)
XYZxyz(16.3143, 28.0095, 9.3961)
Luminance0.2801 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A440 #A440A4
analogous
#72A440 #40A440 #40A472
triadic
#40A440 #4040A4 #A44040
tetradic
#40A440 #4072A4 #A440A4 #A47240
square
#40A440 #4072A4 #A440A4 #A47240
split-complementary
#40A440 #7240A4 #A44072
monochromatic
#1E4C1E #2F782F #40A440 #60C160 #8CD28C

Accessibility & contrast

On white

3.18
#40A440 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#40A440 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A440
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A440#FFFFFF#000000##000000
##40A4401.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79635
Deuteranopia (green-blind)
#9B8D48
Tritanopia (blue-blind)
#2D9F8E
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #40a440;
/* rgb */ color: rgb(64, 164, 64);
/* oklch */ color: oklch(63.8% 0.167 143.3);
Tailwind
colors: {
  custom: {
    50: '#80c078',
    500: '#40a440',
    950: '#000000',
  },
}
SCSS
$custom: #40a440;
$custom-light: #80c078;
$custom-dark: #000000;
JSON
{
  "hex": "#40a440",
  "rgb": {
    "r": 64,
    "g": 164,
    "b": 64
  },
  "hsl": {
    "h": 120,
    "s": 43.86,
    "l": 44.706
  },
  "oklch": {
    "l": 0.63783,
    "c": 0.16692,
    "h": 143.3
  },
  "luminance": 0.28011
}

Semantic roles & 50–950 ramp

primary
#40A440
secondary
#BD83BD
accent
#54D4D4
background
#F8FBF7
surface
#EFF7ED
border
#CAD0C8
text
#0B1209
muted
#7C817B

Preview Lab

Preview with #40A440

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

Preview Lab → · Contrast checker → · Palette generator →

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