#40A322#40A322

#40A322 is a light, vivid green. Relative luminance 0.274; OKLCH L 63.2% C 0.186 H 139.7°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#40A322
RGBrgb(64, 163, 34)
HSLhsl(106, 65%, 39%)
HSVhsv(106, 79%, 64%)
CMYKcmyk(60.7%, 0%, 79.1%, 36.1%)
CIE-LABlab(59.34, -51.58, 53.86)
CIE-LCHlch(59.34, 74.57, 133.76°)
OKLaboklab(63.25% -0.1418 0.12)
OKLCHoklch(63.25% 0.186 139.7)
XYZxyz(15.4996, 27.3985, 5.9847)
Luminance0.2740 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A322 #8522A3
analogous
#80A322 #40A322 #22A345
triadic
#40A322 #2240A3 #A32240
tetradic
#40A322 #2280A3 #8522A3 #A34522
square
#40A322 #2280A3 #8522A3 #A34522
split-complementary
#40A322 #4522A3 #A32280
monochromatic
#183E0D #2C7017 #40A322 #55D42F #7EDE61

Accessibility & contrast

On white

3.24
#40A322 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#40A322 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A322
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A322#FFFFFF#000000##000000
##40A3221.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89400
Deuteranopia (green-blind)
#9C8C31
Tritanopia (blue-blind)
#339D8B
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #40a322;
/* rgb */ color: rgb(64, 163, 34);
/* oklch */ color: oklch(63.2% 0.186 139.7);
Tailwind
colors: {
  custom: {
    50: '#81bf68',
    500: '#40a322',
    950: '#000000',
  },
}
SCSS
$custom: #40a322;
$custom-light: #81bf68;
$custom-dark: #000000;
JSON
{
  "hex": "#40a322",
  "rgb": {
    "r": 64,
    "g": 163,
    "b": 34
  },
  "hsl": {
    "h": 106.047,
    "s": 65.482,
    "l": 38.627
  },
  "oklch": {
    "l": 0.63249,
    "c": 0.18574,
    "h": 139.7
  },
  "luminance": 0.274
}

Semantic roles & 50–950 ramp

primary
#40A322
secondary
#AC5EC3
accent
#3FE8C1
background
#F8FBF6
surface
#F0F7EB
border
#CBD0C6
text
#0B1207
muted
#7C817A

Preview Lab

Preview with #40A322

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

Preview Lab → · Contrast checker → · Palette generator →

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