#22A021#22A021

#22A021 is a mid, vivid green. Relative luminance 0.256; OKLCH L 61.6% C 0.193 H 142.7°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#22A021
RGBrgb(34, 160, 33)
HSLhsl(120, 66%, 38%)
HSVhsv(120, 79%, 63%)
CMYKcmyk(78.8%, 0%, 79.4%, 37.3%)
CIE-LABlab(57.65, -56.53, 52.31)
CIE-LCHlch(57.65, 77.02, 137.22°)
OKLaboklab(61.64% -0.1535 0.1169)
OKLCHoklch(61.64% 0.193 142.7)
XYZxyz(13.5042, 25.5899, 5.6662)
Luminance0.2559 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22A021 #9F21A0
analogous
#61A021 #22A021 #21A060
triadic
#22A021 #2122A0 #A02122
tetradic
#22A021 #2161A0 #9F21A0 #A06021
square
#22A021 #2161A0 #9F21A0 #A06021
split-complementary
#22A021 #6021A0 #A02161
monochromatic
#0C3B0C #176D17 #22A021 #2DD32B #5FDE5E

Accessibility & contrast

On white

3.43
#22A021 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#22A021 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #22A021
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22A021#FFFFFF#000000##000000
##22A0211.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49000
Deuteranopia (green-blind)
#968730
Tritanopia (blue-blind)
#009B88
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #22a021;
/* rgb */ color: rgb(34, 160, 33);
/* oklch */ color: oklch(61.6% 0.193 142.7);
Tailwind
colors: {
  custom: {
    50: '#75bd67',
    500: '#22a021',
    950: '#000000',
  },
}
SCSS
$custom: #22a021;
$custom-light: #75bd67;
$custom-dark: #000000;
JSON
{
  "hex": "#22a021",
  "rgb": {
    "r": 34,
    "g": 160,
    "b": 33
  },
  "hsl": {
    "h": 119.528,
    "s": 65.803,
    "l": 37.843
  },
  "oklch": {
    "l": 0.61641,
    "c": 0.19294,
    "h": 142.7
  },
  "luminance": 0.25591
}

Semantic roles & 50–950 ramp

primary
#22A021
secondary
#C15BC2
accent
#3FE9E7
background
#F7FBF6
surface
#EEF7EB
border
#C9D0C6
text
#0A1206
muted
#7C817A

Preview Lab

Preview with #22A021

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

Preview Lab → · Contrast checker → · Palette generator →

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