#40A32F#40A32F

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

Color values

HEX#40A32F
RGBrgb(64, 163, 47)
HSLhsl(111, 55%, 41%)
HSVhsv(111, 71%, 64%)
CMYKcmyk(60.7%, 0%, 71.2%, 36.1%)
CIE-LABlab(59.42, -50.62, 49.29)
CIE-LCHlch(59.42, 70.66, 135.76°)
OKLaboklab(63.34% -0.1384 0.1123)
OKLCHoklch(63.34% 0.178 141)
XYZxyz(15.7239, 27.4882, 7.1659)
Luminance0.2749 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A32F #922FA3
analogous
#7AA32F #40A32F #2FA358
triadic
#40A32F #2F40A3 #A32F40
tetradic
#40A32F #2F7AA3 #922FA3 #A3582F
square
#40A32F #2F7AA3 #922FA3 #A3582F
split-complementary
#40A32F #582FA3 #A32F7A
monochromatic
#1B4414 #2D7321 #40A32F #59CA46 #84D775

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40A32F#FFFFFF#000000##000000
##40A32F1.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)
#A7941D
Deuteranopia (green-blind)
#9B8C3A
Tritanopia (blue-blind)
#319E8C
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #40a32f;
/* rgb */ color: rgb(64, 163, 47);
/* oklch */ color: oklch(63.3% 0.178 141.0);
Tailwind
colors: {
  custom: {
    50: '#80bf6e',
    500: '#40a32f',
    950: '#000000',
  },
}
SCSS
$custom: #40a32f;
$custom-light: #80bf6e;
$custom-dark: #000000;
JSON
{
  "hex": "#40a32f",
  "rgb": {
    "r": 64,
    "g": 163,
    "b": 47
  },
  "hsl": {
    "h": 111.207,
    "s": 55.238,
    "l": 41.176
  },
  "oklch": {
    "l": 0.63343,
    "c": 0.17825,
    "h": 141
  },
  "luminance": 0.2749
}

Semantic roles & 50–950 ramp

primary
#40A32F
secondary
#B36FBF
accent
#49DFC9
background
#F8FBF6
surface
#EFF7EC
border
#CAD0C7
text
#0B1208
muted
#7C817B

Preview Lab

Preview with #40A32F

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

Preview Lab → · Contrast checker → · Palette generator →

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