#40A222#40A222

#40A222 is a light, vivid green. Relative luminance 0.270; OKLCH L 63.0% C 0.185 H 139.7°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#40A222
RGBrgb(64, 162, 34)
HSLhsl(106, 65%, 38%)
HSVhsv(106, 79%, 64%)
CMYKcmyk(60.5%, 0%, 79%, 36.5%)
CIE-LABlab(59.02, -51.22, 53.55)
CIE-LCHlch(59.02, 74.10, 133.73°)
OKLaboklab(62.98% -0.1408 0.1194)
OKLCHoklch(62.98% 0.185 139.7)
XYZxyz(15.3227, 27.0447, 5.9257)
Luminance0.2705 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A222 #8422A2
analogous
#80A222 #40A222 #22A244
triadic
#40A222 #2240A2 #A22240
tetradic
#40A222 #2280A2 #8422A2 #A24422
square
#40A222 #2280A2 #8422A2 #A24422
split-complementary
#40A222 #4422A2 #A22280
monochromatic
#183D0D #2C6F17 #40A222 #55D32E #7EDE61

Accessibility & contrast

On white

3.28
#40A222 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#40A222 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40A222
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40A222#FFFFFF#000000##000000
##40A2221.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79300
Deuteranopia (green-blind)
#9B8B31
Tritanopia (blue-blind)
#349C8A
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #40a222;
/* rgb */ color: rgb(64, 162, 34);
/* oklch */ color: oklch(63.0% 0.185 139.7);
Tailwind
colors: {
  custom: {
    50: '#81be68',
    500: '#40a222',
    950: '#000000',
  },
}
SCSS
$custom: #40a222;
$custom-light: #81be68;
$custom-dark: #000000;
JSON
{
  "hex": "#40a222",
  "rgb": {
    "r": 64,
    "g": 162,
    "b": 34
  },
  "hsl": {
    "h": 105.938,
    "s": 65.306,
    "l": 38.431
  },
  "oklch": {
    "l": 0.6298,
    "c": 0.18458,
    "h": 139.7
  },
  "luminance": 0.27046
}

Semantic roles & 50–950 ramp

primary
#40A222
secondary
#AB5DC3
accent
#40E8C1
background
#F8FBF6
surface
#F0F7EB
border
#CBD0C6
text
#0B1207
muted
#7C817A

Preview Lab

Preview with #40A222

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

Preview Lab → · Contrast checker → · Palette generator →

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