#22A042#22A042

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

Color values

HEX#22A042
RGBrgb(34, 160, 66)
HSLhsl(135, 65%, 38%)
HSVhsv(135, 79%, 63%)
CMYKcmyk(78.8%, 0%, 58.8%, 37.3%)
CIE-LABlab(57.92, -53.22, 39.05)
CIE-LCHlch(57.92, 66.01, 143.73°)
OKLaboklab(61.95% -0.1431 0.0926)
OKLCHoklch(61.95% 0.171 147.1)
XYZxyz(14.2128, 25.8733, 9.3982)
Luminance0.2587 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22A042 #A02280
analogous
#41A022 #22A042 #22A081
triadic
#22A042 #4222A0 #A04222
tetradic
#22A042 #2241A0 #A02280 #A08122
square
#22A042 #2241A0 #A02280 #A08122
split-complementary
#22A042 #8122A0 #A02241
monochromatic
#0D3B18 #176E2D #22A042 #2DD257 #5FDD7F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##22A042#FFFFFF#000000##000000
##22A0421.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)
#A29139
Deuteranopia (green-blind)
#94874A
Tritanopia (blue-blind)
#009C8B
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #22a042;
/* rgb */ color: rgb(34, 160, 66);
/* oklch */ color: oklch(62.0% 0.171 147.1);
Tailwind
colors: {
  custom: {
    50: '#73bd79',
    500: '#22a042',
    950: '#000000',
  },
}
SCSS
$custom: #22a042;
$custom-light: #73bd79;
$custom-dark: #000000;
JSON
{
  "hex": "#22a042",
  "rgb": {
    "r": 34,
    "g": 160,
    "b": 66
  },
  "hsl": {
    "h": 135.238,
    "s": 64.948,
    "l": 38.039
  },
  "oklch": {
    "l": 0.61953,
    "c": 0.17051,
    "h": 147.1
  },
  "luminance": 0.25875
}

Semantic roles & 50–950 ramp

primary
#22A042
secondary
#C25CA8
accent
#40BDE8
background
#F7FBF7
surface
#EEF7EE
border
#C9D0C9
text
#091209
muted
#7B817B

Preview Lab

Preview with #22A042

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

Preview Lab → · Contrast checker → · Palette generator →

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