#22A040#22A040

#22A040 is a mid, vivid green. Relative luminance 0.259; OKLCH L 61.9% C 0.172 H 146.7°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#22A040
RGBrgb(34, 160, 64)
HSLhsl(134, 65%, 38%)
HSVhsv(134, 79%, 63%)
CMYKcmyk(78.8%, 0%, 60%, 37.3%)
CIE-LABlab(57.89, -53.48, 39.98)
CIE-LCHlch(57.89, 66.78, 143.22°)
OKLaboklab(61.93% -0.1439 0.0945)
OKLCHoklch(61.93% 0.172 146.7)
XYZxyz(14.1548, 25.8502, 9.0931)
Luminance0.2585 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22A040 #A02282
analogous
#43A022 #22A040 #22A07F
triadic
#22A040 #4022A0 #A04022
tetradic
#22A040 #2243A0 #A02282 #A07F22
square
#22A040 #2243A0 #A02282 #A07F22
split-complementary
#22A040 #7F22A0 #A02243
monochromatic
#0D3B18 #176E2C #22A040 #2DD254 #5FDD7D

Accessibility & contrast

On white

3.40
#22A040 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#22A040 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #22A040
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22A040#FFFFFF#000000##000000
##22A0401.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A29136
Deuteranopia (green-blind)
#948748
Tritanopia (blue-blind)
#009C8B
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #22a040;
/* rgb */ color: rgb(34, 160, 64);
/* oklch */ color: oklch(61.9% 0.172 146.7);
Tailwind
colors: {
  custom: {
    50: '#73bd78',
    500: '#22a040',
    950: '#000000',
  },
}
SCSS
$custom: #22a040;
$custom-light: #73bd78;
$custom-dark: #000000;
JSON
{
  "hex": "#22a040",
  "rgb": {
    "r": 34,
    "g": 160,
    "b": 64
  },
  "hsl": {
    "h": 134.286,
    "s": 64.948,
    "l": 38.039
  },
  "oklch": {
    "l": 0.61927,
    "c": 0.17217,
    "h": 146.7
  },
  "luminance": 0.25852
}

Semantic roles & 50–950 ramp

primary
#22A040
secondary
#C25CAA
accent
#40C0E8
background
#F7FBF7
surface
#EEF7ED
border
#C9D0C8
text
#091209
muted
#7B817B

Preview Lab

Preview with #22A040

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

Preview Lab → · Contrast checker → · Palette generator →

#22A040 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva