#22A12A#22A12A

#22A12A is a mid, vivid green. Relative luminance 0.260; OKLCH L 62.0% C 0.189 H 143.5°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#22A12A
RGBrgb(34, 161, 42)
HSLhsl(124, 65%, 38%)
HSVhsv(124, 79%, 63%)
CMYKcmyk(78.9%, 0%, 73.9%, 36.9%)
CIE-LABlab(58.03, -56.17, 49.56)
CIE-LCHlch(58.03, 74.91, 138.58°)
OKLaboklab(61.98% -0.1521 0.1124)
OKLCHoklch(61.98% 0.189 143.5)
XYZxyz(13.8216, 25.9953, 6.4792)
Luminance0.2600 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22A12A #A12299
analogous
#59A122 #22A12A #22A16A
triadic
#22A12A #2A22A1 #A12A22
tetradic
#22A12A #2259A1 #A12299 #A16A22
square
#22A12A #2259A1 #A12299 #A16A22
split-complementary
#22A12A #6A22A1 #A12259
monochromatic
#0D3C10 #176E1D #22A12A #2DD338 #60DD68

Accessibility & contrast

On white

3.39
#22A12A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#22A12A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #22A12A
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22A12A#FFFFFF#000000##000000
##22A12A1.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49114
Deuteranopia (green-blind)
#978837
Tritanopia (blue-blind)
#009C8A
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #22a12a;
/* rgb */ color: rgb(34, 161, 42);
/* oklch */ color: oklch(62.0% 0.189 143.5);
Tailwind
colors: {
  custom: {
    50: '#74be6b',
    500: '#22a12a',
    950: '#000000',
  },
}
SCSS
$custom: #22a12a;
$custom-light: #74be6b;
$custom-dark: #000000;
JSON
{
  "hex": "#22a12a",
  "rgb": {
    "r": 34,
    "g": 161,
    "b": 42
  },
  "hsl": {
    "h": 123.78,
    "s": 65.128,
    "l": 38.235
  },
  "oklch": {
    "l": 0.6198,
    "c": 0.18913,
    "h": 143.5
  },
  "luminance": 0.25997
}

Semantic roles & 50–950 ramp

primary
#22A12A
secondary
#C25DBC
accent
#40DDE8
background
#F7FBF6
surface
#EEF7EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #22A12A

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

Preview Lab → · Contrast checker → · Palette generator →

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