#22A540#22A540

#22A540 is a light, vivid green. Relative luminance 0.276; OKLCH L 63.3% C 0.178 H 146.4°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#22A540
RGBrgb(34, 165, 64)
HSLhsl(134, 66%, 39%)
HSVhsv(134, 79%, 65%)
CMYKcmyk(79.4%, 0%, 61.2%, 35.3%)
CIE-LABlab(59.54, -55.18, 41.89)
CIE-LCHlch(59.54, 69.28, 142.79°)
OKLaboklab(63.3% -0.1485 0.0986)
OKLCHoklch(63.3% 0.178 146.4)
XYZxyz(15.0391, 27.6187, 9.3878)
Luminance0.2762 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22A540 #A52287
analogous
#46A522 #22A540 #22A582
triadic
#22A540 #4022A5 #A54022
tetradic
#22A540 #2246A5 #A52287 #A58222
square
#22A540 #2246A5 #A52287 #A58222
split-complementary
#22A540 #8222A5 #A52246
monochromatic
#0D4019 #18722C #22A540 #30D456 #63DF7F

Accessibility & contrast

On white

3.22
#22A540 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#22A540 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #22A540
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22A540#FFFFFF#000000##000000
##22A5401.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79635
Deuteranopia (green-blind)
#998B48
Tritanopia (blue-blind)
#00A18F
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #22a540;
/* rgb */ color: rgb(34, 165, 64);
/* oklch */ color: oklch(63.3% 0.178 146.4);
Tailwind
colors: {
  custom: {
    50: '#74c178',
    500: '#22a540',
    950: '#000000',
  },
}
SCSS
$custom: #22a540;
$custom-light: #74c178;
$custom-dark: #000000;
JSON
{
  "hex": "#22a540",
  "rgb": {
    "r": 34,
    "g": 165,
    "b": 64
  },
  "hsl": {
    "h": 133.74,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.63295,
    "c": 0.17827,
    "h": 146.4
  },
  "luminance": 0.27621
}

Semantic roles & 50–950 ramp

primary
#22A540
secondary
#C45FAD
accent
#3FC2E9
background
#F7FCF7
surface
#EEF8ED
border
#C9D1C8
text
#0A1209
muted
#7C817B

Preview Lab

Preview with #22A540

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

Preview Lab → · Contrast checker → · Palette generator →

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