#22A228#22A228

#22A228 is a light, vivid green. Relative luminance 0.263; OKLCH L 62.2% C 0.191 H 143.3°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#22A228
RGBrgb(34, 162, 40)
HSLhsl(123, 65%, 38%)
HSVhsv(123, 79%, 64%)
CMYKcmyk(79%, 0%, 75.3%, 36.5%)
CIE-LABlab(58.35, -56.66, 50.62)
CIE-LCHlch(58.35, 75.98, 138.22°)
OKLaboklab(62.24% -0.1535 0.1143)
OKLCHoklch(62.24% 0.191 143.3)
XYZxyz(13.9621, 26.3323, 6.3539)
Luminance0.2633 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22A228 #A2229C
analogous
#5CA222 #22A228 #22A268
triadic
#22A228 #2822A2 #A22822
tetradic
#22A228 #225CA2 #A2229C #A26822
square
#22A228 #225CA2 #A2229C #A26822
split-complementary
#22A228 #6822A2 #A2225C
monochromatic
#0D3D0F #176F1C #22A228 #2ED336 #61DE67

Accessibility & contrast

On white

3.35
#22A228 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#22A228 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #22A228
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22A228#FFFFFF#000000##000000
##22A2281.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5920F
Deuteranopia (green-blind)
#988935
Tritanopia (blue-blind)
#009D8B
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #22a228;
/* rgb */ color: rgb(34, 162, 40);
/* oklch */ color: oklch(62.2% 0.191 143.3);
Tailwind
colors: {
  custom: {
    50: '#75bf6a',
    500: '#22a228',
    950: '#000000',
  },
}
SCSS
$custom: #22a228;
$custom-light: #75bf6a;
$custom-dark: #000000;
JSON
{
  "hex": "#22a228",
  "rgb": {
    "r": 34,
    "g": 162,
    "b": 40
  },
  "hsl": {
    "h": 122.813,
    "s": 65.306,
    "l": 38.431
  },
  "oklch": {
    "l": 0.6224,
    "c": 0.19141,
    "h": 143.3
  },
  "luminance": 0.26334
}

Semantic roles & 50–950 ramp

primary
#22A228
secondary
#C35DBE
accent
#40E0E8
background
#F7FBF6
surface
#EEF7EB
border
#C9D0C6
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #22A228

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

Preview Lab → · Contrast checker → · Palette generator →

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