#22A42F#22A42F

#22A42F is a light, vivid green. Relative luminance 0.271; OKLCH L 62.8% C 0.189 H 144.0°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#22A42F
RGBrgb(34, 164, 47)
HSLhsl(126, 66%, 39%)
HSVhsv(126, 79%, 64%)
CMYKcmyk(79.3%, 0%, 71.3%, 35.7%)
CIE-LABlab(59.06, -56.70, 48.70)
CIE-LCHlch(59.06, 74.74, 139.34°)
OKLaboklab(62.85% -0.1533 0.1112)
OKLCHoklch(62.85% 0.189 144)
XYZxyz(14.4473, 27.0945, 7.1571)
Luminance0.2710 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22A42F #A42297
analogous
#56A422 #22A42F #22A470
triadic
#22A42F #2F22A4 #A42F22
tetradic
#22A42F #2256A4 #A42297 #A47022
square
#22A42F #2256A4 #A42297 #A47022
split-complementary
#22A42F #7022A4 #A42256
monochromatic
#0D3F12 #177120 #22A42F #2FD440 #62DE6E

Accessibility & contrast

On white

3.27
#22A42F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#22A42F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #22A42F
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22A42F#FFFFFF#000000##000000
##22A42F1.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7941D
Deuteranopia (green-blind)
#998A3B
Tritanopia (blue-blind)
#009F8D
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #22a42f;
/* rgb */ color: rgb(34, 164, 47);
/* oklch */ color: oklch(62.8% 0.189 144.0);
Tailwind
colors: {
  custom: {
    50: '#75c06e',
    500: '#22a42f',
    950: '#000000',
  },
}
SCSS
$custom: #22a42f;
$custom-light: #75c06e;
$custom-dark: #000000;
JSON
{
  "hex": "#22a42f",
  "rgb": {
    "r": 34,
    "g": 164,
    "b": 47
  },
  "hsl": {
    "h": 126,
    "s": 65.657,
    "l": 38.824
  },
  "oklch": {
    "l": 0.62847,
    "c": 0.18942,
    "h": 144
  },
  "luminance": 0.27096
}

Semantic roles & 50–950 ramp

primary
#22A42F
secondary
#C45EB9
accent
#3FD8E9
background
#F7FCF6
surface
#EEF8EC
border
#C9D1C7
text
#0A1208
muted
#7C817B

Preview Lab

Preview with #22A42F

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

Preview Lab → · Contrast checker → · Palette generator →

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