#40A42A#40A42A

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

Color values

HEX#40A42A
RGBrgb(64, 164, 42)
HSLhsl(109, 59%, 40%)
HSVhsv(109, 74%, 64%)
CMYKcmyk(61%, 0%, 74.4%, 35.7%)
CIE-LABlab(59.71, -51.39, 51.49)
CIE-LCHlch(59.71, 72.74, 134.95°)
OKLaboklab(63.57% -0.1408 0.1162)
OKLCHoklch(63.57% 0.183 140.5)
XYZxyz(15.8070, 27.8066, 6.7243)
Luminance0.2781 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A42A #8E2AA4
analogous
#7DA42A #40A42A #2AA451
triadic
#40A42A #2A40A4 #A42A40
tetradic
#40A42A #2A7DA4 #8E2AA4 #A4512A
square
#40A42A #2A7DA4 #8E2AA4 #A4512A
split-complementary
#40A42A #512AA4 #A42A7D
monochromatic
#1A4311 #2D731E #40A42A #58CD3E #82DA6E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40A42A#FFFFFF#000000##000000
##40A42A1.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)
#A89513
Deuteranopia (green-blind)
#9C8D37
Tritanopia (blue-blind)
#329F8C
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #40a42a;
/* rgb */ color: rgb(64, 164, 42);
/* oklch */ color: oklch(63.6% 0.183 140.5);
Tailwind
colors: {
  custom: {
    50: '#81c06c',
    500: '#40a42a',
    950: '#000000',
  },
}
SCSS
$custom: #40a42a;
$custom-light: #81c06c;
$custom-dark: #000000;
JSON
{
  "hex": "#40a42a",
  "rgb": {
    "r": 64,
    "g": 164,
    "b": 42
  },
  "hsl": {
    "h": 109.18,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.63572,
    "c": 0.18256,
    "h": 140.5
  },
  "luminance": 0.27808
}

Semantic roles & 50–950 ramp

primary
#40A42A
secondary
#B169C1
accent
#45E2C6
background
#F8FBF6
surface
#F0F7EC
border
#CBD0C7
text
#0B1207
muted
#7C817A

Preview Lab

Preview with #40A42A

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

Preview Lab → · Contrast checker → · Palette generator →

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