#22C126#22C126

#22C126 is a light, highly saturated green. Relative luminance 0.386; OKLCH L 70.7% C 0.225 H 142.9°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#22C126
RGBrgb(34, 193, 38)
HSLhsl(122, 70%, 45%)
HSVhsv(122, 82%, 76%)
CMYKcmyk(82.4%, 0%, 80.3%, 24.3%)
CIE-LABlab(68.47, -66.33, 61.08)
CIE-LCHlch(68.47, 90.17, 137.36°)
OKLaboklab(70.66% -0.1799 0.1359)
OKLCHoklch(70.66% 0.225 142.9)
XYZxyz(20.0782, 38.6175, 8.2291)
Luminance0.3862 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22C126 #C122BD
analogous
#6EC122 #22C126 #22C175
triadic
#22C126 #2622C1 #C12622
tetradic
#22C126 #226EC1 #C122BD #C17522
square
#22C126 #226EC1 #C122BD #C17522
split-complementary
#22C126 #7522C1 #C1226E
monochromatic
#105912 #198D1C #22C126 #42DE46 #76E779

Accessibility & contrast

On white

2.41
#22C126 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.72
#22C126 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #22C126
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22C126#FFFFFF#000000##000000
##22C1261.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AE00
Deuteranopia (green-blind)
#B5A339
Tritanopia (blue-blind)
#00BBA5
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #22c126;
/* rgb */ color: rgb(34, 193, 38);
/* oklch */ color: oklch(70.7% 0.225 142.9);
Tailwind
colors: {
  custom: {
    50: '#7dd56e',
    500: '#22c126',
    950: '#000000',
  },
}
SCSS
$custom: #22c126;
$custom-light: #7dd56e;
$custom-dark: #000000;
JSON
{
  "hex": "#22c126",
  "rgb": {
    "r": 34,
    "g": 193,
    "b": 38
  },
  "hsl": {
    "h": 121.509,
    "s": 70.044,
    "l": 44.51
  },
  "oklch": {
    "l": 0.70661,
    "c": 0.22543,
    "h": 142.9
  },
  "luminance": 0.3862
}

Semantic roles & 50–950 ramp

primary
#22C126
secondary
#CE71CC
accent
#3BE8ED
background
#F8FDF7
surface
#F0FAED
border
#CBD3C8
text
#0C1408
muted
#7D837B

Preview Lab

Preview with #22C126

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

Preview Lab → · Contrast checker → · Palette generator →

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