#22A831#22A831

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

Color values

HEX#22A831
RGBrgb(34, 168, 49)
HSLhsl(127, 66%, 40%)
HSVhsv(127, 80%, 66%)
CMYKcmyk(79.8%, 0%, 70.8%, 34.1%)
CIE-LABlab(60.40, -57.80, 49.31)
CIE-LCHlch(60.40, 75.98, 139.53°)
OKLaboklab(63.96% -0.1562 0.1128)
OKLCHoklch(63.96% 0.193 144.2)
XYZxyz(15.2157, 28.5653, 7.6169)
Luminance0.2857 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22A831 #A82299
analogous
#56A822 #22A831 #22A874
triadic
#22A831 #3122A8 #A83122
tetradic
#22A831 #2256A8 #A82299 #A87422
square
#22A831 #2256A8 #A82299 #A87422
split-complementary
#22A831 #7422A8 #A82256
monochromatic
#0D4213 #187522 #22A831 #32D544 #65E072

Accessibility & contrast

On white

3.13
#22A831 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#22A831 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #22A831
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22A831#FFFFFF#000000##000000
##22A8311.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB981F
Deuteranopia (green-blind)
#9D8E3D
Tritanopia (blue-blind)
#00A390
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #22a831;
/* rgb */ color: rgb(34, 168, 49);
/* oklch */ color: oklch(64.0% 0.193 144.2);
Tailwind
colors: {
  custom: {
    50: '#76c370',
    500: '#22a831',
    950: '#000000',
  },
}
SCSS
$custom: #22a831;
$custom-light: #76c370;
$custom-dark: #000000;
JSON
{
  "hex": "#22a831",
  "rgb": {
    "r": 34,
    "g": 168,
    "b": 49
  },
  "hsl": {
    "h": 126.716,
    "s": 66.337,
    "l": 39.608
  },
  "oklch": {
    "l": 0.63961,
    "c": 0.19267,
    "h": 144.2
  },
  "luminance": 0.28567
}

Semantic roles & 50–950 ramp

primary
#22A831
secondary
#C561BA
accent
#3FD6E9
background
#F7FCF7
surface
#EEF8ED
border
#C9D1C8
text
#0A1308
muted
#7C827B

Preview Lab

Preview with #22A831

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

Preview Lab → · Contrast checker → · Palette generator →

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