#40A32E#40A32E

#40A32E is a light, vivid green. Relative luminance 0.275; OKLCH L 63.3% C 0.179 H 140.8°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#40A32E
RGBrgb(64, 163, 46)
HSLhsl(111, 56%, 41%)
HSVhsv(111, 72%, 64%)
CMYKcmyk(60.7%, 0%, 71.8%, 36.1%)
CIE-LABlab(59.42, -50.71, 49.68)
CIE-LCHlch(59.42, 70.98, 135.59°)
OKLaboklab(63.33% -0.1387 0.113)
OKLCHoklch(63.33% 0.179 140.8)
XYZxyz(15.7039, 27.4802, 7.0609)
Luminance0.2748 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A32E #912EA3
analogous
#7AA32E #40A32E #2EA356
triadic
#40A32E #2E40A3 #A32E40
tetradic
#40A32E #2E7AA3 #912EA3 #A3562E
square
#40A32E #2E7AA3 #912EA3 #A3562E
split-complementary
#40A32E #562EA3 #A32E7A
monochromatic
#1B4413 #2D7321 #40A32E #59CA44 #83D874

Accessibility & contrast

On white

3.23
#40A32E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#40A32E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A32E
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A32E#FFFFFF#000000##000000
##40A32E1.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7941B
Deuteranopia (green-blind)
#9B8C39
Tritanopia (blue-blind)
#329E8C
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #40a32e;
/* rgb */ color: rgb(64, 163, 46);
/* oklch */ color: oklch(63.3% 0.179 140.8);
Tailwind
colors: {
  custom: {
    50: '#81bf6e',
    500: '#40a32e',
    950: '#000000',
  },
}
SCSS
$custom: #40a32e;
$custom-light: #81bf6e;
$custom-dark: #000000;
JSON
{
  "hex": "#40a32e",
  "rgb": {
    "r": 64,
    "g": 163,
    "b": 46
  },
  "hsl": {
    "h": 110.769,
    "s": 55.981,
    "l": 40.98
  },
  "oklch": {
    "l": 0.63335,
    "c": 0.1789,
    "h": 140.8
  },
  "luminance": 0.27482
}

Semantic roles & 50–950 ramp

primary
#40A32E
secondary
#B36DBF
accent
#49DFC8
background
#F8FBF6
surface
#EFF7EC
border
#CAD0C7
text
#0B1207
muted
#7C817A

Preview Lab

Preview with #40A32E

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

Preview Lab → · Contrast checker → · Palette generator →

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