#22A838#22A838

#22A838 is a light, vivid green. Relative luminance 0.286; OKLCH L 64.0% C 0.188 H 145.1°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#22A838
RGBrgb(34, 168, 56)
HSLhsl(130, 66%, 40%)
HSVhsv(130, 80%, 66%)
CMYKcmyk(79.8%, 0%, 66.7%, 34.1%)
CIE-LABlab(60.45, -57.10, 46.48)
CIE-LCHlch(60.45, 73.63, 140.85°)
OKLaboklab(64.03% -0.154 0.1076)
OKLCHoklch(64.03% 0.188 145.1)
XYZxyz(15.3750, 28.6290, 8.4563)
Luminance0.2863 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22A838 #A82292
analogous
#4FA822 #22A838 #22A87B
triadic
#22A838 #3822A8 #A83822
tetradic
#22A838 #224FA8 #A82292 #A87B22
square
#22A838 #224FA8 #A82292 #A87B22
split-complementary
#22A838 #7B22A8 #A8224F
monochromatic
#0D4216 #187527 #22A838 #32D54D #65E079

Accessibility & contrast

On white

3.12
#22A838 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#22A838 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #22A838
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22A838#FFFFFF#000000##000000
##22A8381.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB982A
Deuteranopia (green-blind)
#9C8E42
Tritanopia (blue-blind)
#00A491
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #22a838;
/* rgb */ color: rgb(34, 168, 56);
/* oklch */ color: oklch(64.0% 0.188 145.1);
Tailwind
colors: {
  custom: {
    50: '#76c374',
    500: '#22a838',
    950: '#000000',
  },
}
SCSS
$custom: #22a838;
$custom-light: #76c374;
$custom-dark: #000000;
JSON
{
  "hex": "#22a838",
  "rgb": {
    "r": 34,
    "g": 168,
    "b": 56
  },
  "hsl": {
    "h": 129.851,
    "s": 66.337,
    "l": 39.608
  },
  "oklch": {
    "l": 0.64026,
    "c": 0.1879,
    "h": 145.1
  },
  "luminance": 0.28631
}

Semantic roles & 50–950 ramp

primary
#22A838
secondary
#C561B5
accent
#3FCDE9
background
#F7FCF7
surface
#EEF8ED
border
#C9D1C8
text
#0A1308
muted
#7C827B

Preview Lab

Preview with #22A838

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

Preview Lab → · Contrast checker → · Palette generator →

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