#22A11C#22A11C

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

Color values

HEX#22A11C
RGBrgb(34, 161, 28)
HSLhsl(117, 70%, 37%)
HSVhsv(117, 83%, 63%)
CMYKcmyk(78.9%, 0%, 82.6%, 36.9%)
CIE-LABlab(57.95, -57.16, 54.10)
CIE-LCHlch(57.95, 78.71, 136.57°)
OKLaboklab(61.89% -0.1554 0.12)
OKLCHoklch(61.89% 0.196 142.3)
XYZxyz(13.6133, 25.9120, 5.3824)
Luminance0.2591 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22A11C #9B1CA1
analogous
#65A11C #22A11C #1CA158
triadic
#22A11C #1C22A1 #A11C22
tetradic
#22A11C #1C65A1 #9B1CA1 #A1581C
square
#22A11C #1C65A1 #9B1CA1 #A1581C
split-complementary
#22A11C #581CA1 #A11C65
monochromatic
#0C390A #176D13 #22A11C #2DD525 #5CE256

Accessibility & contrast

On white

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

On black

6.18
#22A11C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #22A11C
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22A11C#FFFFFF#000000##000000
##22A11C1.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59100
Deuteranopia (green-blind)
#97882D
Tritanopia (blue-blind)
#009C89
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #22a11c;
/* rgb */ color: rgb(34, 161, 28);
/* oklch */ color: oklch(61.9% 0.196 142.3);
Tailwind
colors: {
  custom: {
    50: '#75be65',
    500: '#22a11c',
    950: '#000000',
  },
}
SCSS
$custom: #22a11c;
$custom-light: #75be65;
$custom-dark: #000000;
JSON
{
  "hex": "#22a11c",
  "rgb": {
    "r": 34,
    "g": 161,
    "b": 28
  },
  "hsl": {
    "h": 117.293,
    "s": 70.37,
    "l": 37.059
  },
  "oklch": {
    "l": 0.61889,
    "c": 0.19631,
    "h": 142.3
  },
  "luminance": 0.25914
}

Semantic roles & 50–950 ramp

primary
#22A11C
secondary
#C054C5
accent
#3BEDE5
background
#F7FBF6
surface
#EEF7EB
border
#C9D0C6
text
#0A1206
muted
#7C817A

Preview Lab

Preview with #22A11C

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

Preview Lab → · Contrast checker → · Palette generator →

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