#40A220#40A220

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

Color values

HEX#40A220
RGBrgb(64, 162, 32)
HSLhsl(105, 67%, 38%)
HSVhsv(105, 80%, 64%)
CMYKcmyk(60.5%, 0%, 80.2%, 36.5%)
CIE-LABlab(59.01, -51.34, 54.16)
CIE-LCHlch(59.01, 74.63, 133.47°)
OKLaboklab(62.97% -0.1412 0.1204)
OKLCHoklch(62.97% 0.186 139.6)
XYZxyz(15.2947, 27.0335, 5.7782)
Luminance0.2703 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40A220 #8220A2
analogous
#81A220 #40A220 #20A241
triadic
#40A220 #2040A2 #A22040
tetradic
#40A220 #2081A2 #8220A2 #A24120
square
#40A220 #2081A2 #8220A2 #A24120
split-complementary
#40A220 #4120A2 #A22081
monochromatic
#183C0C #2C6F16 #40A220 #54D52A #7DDF5D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40A220#FFFFFF#000000##000000
##40A2201.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)
#9B8B2F
Tritanopia (blue-blind)
#349C8A
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #40a220;
/* rgb */ color: rgb(64, 162, 32);
/* oklch */ color: oklch(63.0% 0.186 139.6);
Tailwind
colors: {
  custom: {
    50: '#81be67',
    500: '#40a220',
    950: '#000000',
  },
}
SCSS
$custom: #40a220;
$custom-light: #81be67;
$custom-dark: #000000;
JSON
{
  "hex": "#40a220",
  "rgb": {
    "r": 64,
    "g": 162,
    "b": 32
  },
  "hsl": {
    "h": 105.231,
    "s": 67.01,
    "l": 38.039
  },
  "oklch": {
    "l": 0.62968,
    "c": 0.18555,
    "h": 139.6
  },
  "luminance": 0.27035
}

Semantic roles & 50–950 ramp

primary
#40A220
secondary
#AA5AC3
accent
#3EEAC0
background
#F8FBF6
surface
#F0F7EB
border
#CBD0C6
text
#0B1206
muted
#7C817A

Preview Lab

Preview with #40A220

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

Preview Lab → · Contrast checker → · Palette generator →

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