#40A422#40A422

#40A422 is a light, vivid green. Relative luminance 0.278; OKLCH L 63.5% C 0.187 H 139.8°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#40A422
RGBrgb(64, 164, 34)
HSLhsl(106, 66%, 39%)
HSVhsv(106, 79%, 64%)
CMYKcmyk(61%, 0%, 79.3%, 35.7%)
CIE-LABlab(59.67, -51.94, 54.17)
CIE-LCHlch(59.67, 75.04, 133.80°)
OKLaboklab(63.52% -0.1427 0.1207)
OKLCHoklch(63.52% 0.187 139.8)
XYZxyz(15.6778, 27.7550, 6.0441)
Luminance0.2776 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A422 #8622A4
analogous
#81A422 #40A422 #22A445
triadic
#40A422 #2240A4 #A42240
tetradic
#40A422 #2281A4 #8622A4 #A44522
square
#40A422 #2281A4 #8622A4 #A44522
split-complementary
#40A422 #4522A4 #A42281
monochromatic
#183F0D #2C7117 #40A422 #55D42F #7FDE62

Accessibility & contrast

On white

3.21
#40A422 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.55
#40A422 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A422
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A422#FFFFFF#000000##000000
##40A4221.003.216.556.55
#FFFFFF3.211.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99500
Deuteranopia (green-blind)
#9C8D31
Tritanopia (blue-blind)
#339E8C
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #40a422;
/* rgb */ color: rgb(64, 164, 34);
/* oklch */ color: oklch(63.5% 0.187 139.8);
Tailwind
colors: {
  custom: {
    50: '#81c068',
    500: '#40a422',
    950: '#000000',
  },
}
SCSS
$custom: #40a422;
$custom-light: #81c068;
$custom-dark: #000000;
JSON
{
  "hex": "#40a422",
  "rgb": {
    "r": 64,
    "g": 164,
    "b": 34
  },
  "hsl": {
    "h": 106.154,
    "s": 65.657,
    "l": 38.824
  },
  "oklch": {
    "l": 0.63518,
    "c": 0.1869,
    "h": 139.8
  },
  "luminance": 0.27756
}

Semantic roles & 50–950 ramp

primary
#40A422
secondary
#AC5EC4
accent
#3FE9C2
background
#F8FBF6
surface
#F0F7EB
border
#CBD0C6
text
#0B1207
muted
#7C817A

Preview Lab

Preview with #40A422

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

Preview Lab → · Contrast checker → · Palette generator →

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