#40A032#40A032

#40A032 is a light, vivid green. Relative luminance 0.265; OKLCH L 62.6% C 0.173 H 141.2°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#40A032
RGBrgb(64, 160, 50)
HSLhsl(112, 52%, 41%)
HSVhsv(112, 69%, 63%)
CMYKcmyk(60%, 0%, 68.8%, 37.3%)
CIE-LABlab(58.47, -49.24, 47.08)
CIE-LCHlch(58.47, 68.13, 136.29°)
OKLaboklab(62.57% -0.1345 0.108)
OKLCHoklch(62.57% 0.173 141.2)
XYZxyz(15.2601, 26.4605, 7.3202)
Luminance0.2646 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A032 #9232A0
analogous
#77A032 #40A032 #32A05B
triadic
#40A032 #3240A0 #A03240
tetradic
#40A032 #3277A0 #9232A0 #A05B32
square
#40A032 #3277A0 #9232A0 #A05B32
split-complementary
#40A032 #5B32A0 #A03277
monochromatic
#1B4315 #2D7123 #40A032 #59C649 #84D578

Accessibility & contrast

On white

3.34
#40A032 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#40A032 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A032
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A032#FFFFFF#000000##000000
##40A0321.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49223
Deuteranopia (green-blind)
#988A3C
Tritanopia (blue-blind)
#329B8A
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #40a032;
/* rgb */ color: rgb(64, 160, 50);
/* oklch */ color: oklch(62.6% 0.173 141.2);
Tailwind
colors: {
  custom: {
    50: '#80bd70',
    500: '#40a032',
    950: '#000000',
  },
}
SCSS
$custom: #40a032;
$custom-light: #80bd70;
$custom-dark: #000000;
JSON
{
  "hex": "#40a032",
  "rgb": {
    "r": 64,
    "g": 160,
    "b": 50
  },
  "hsl": {
    "h": 112.364,
    "s": 52.381,
    "l": 41.176
  },
  "oklch": {
    "l": 0.62565,
    "c": 0.17253,
    "h": 141.2
  },
  "luminance": 0.26462
}

Semantic roles & 50–950 ramp

primary
#40A032
secondary
#B371BD
accent
#4CDCCA
background
#F8FBF6
surface
#EFF7EC
border
#CAD0C7
text
#0B1208
muted
#7C817B

Preview Lab

Preview with #40A032

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

Preview Lab → · Contrast checker → · Palette generator →

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