#22B540#22B540

#22B540 is a light, vivid green. Relative luminance 0.338; OKLCH L 67.6% C 0.197 H 145.7°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#22B540
RGBrgb(34, 181, 64)
HSLhsl(132, 68%, 42%)
HSVhsv(132, 81%, 71%)
CMYKcmyk(81.2%, 0%, 64.6%, 29%)
CIE-LABlab(64.77, -60.44, 47.80)
CIE-LCHlch(64.77, 77.06, 141.66°)
OKLaboklab(67.64% -0.1628 0.1112)
OKLCHoklch(67.64% 0.197 145.7)
XYZxyz(18.1076, 33.7558, 10.4107)
Luminance0.3376 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22B540 #B52297
analogous
#4EB522 #22B540 #22B58A
triadic
#22B540 #4022B5 #B54022
tetradic
#22B540 #224EB5 #B52297 #B58A22
square
#22B540 #224EB5 #B52297 #B58A22
split-complementary
#22B540 #8A22B5 #B5224E
monochromatic
#0F4E1C #18812E #22B540 #3ADA5B #6EE486

Accessibility & contrast

On white

2.71
#22B540 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#22B540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #22B540
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22B540#FFFFFF#000000##000000
##22B5401.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A432
Deuteranopia (green-blind)
#A8994A
Tritanopia (blue-blind)
#00B09D
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #22b540;
/* rgb */ color: rgb(34, 181, 64);
/* oklch */ color: oklch(67.6% 0.197 145.7);
Tailwind
colors: {
  custom: {
    50: '#78cc7a',
    500: '#22b540',
    950: '#000000',
  },
}
SCSS
$custom: #22b540;
$custom-light: #78cc7a;
$custom-dark: #000000;
JSON
{
  "hex": "#22b540",
  "rgb": {
    "r": 34,
    "g": 181,
    "b": 64
  },
  "hsl": {
    "h": 132.245,
    "s": 68.372,
    "l": 42.157
  },
  "oklch": {
    "l": 0.67635,
    "c": 0.19717,
    "h": 145.7
  },
  "luminance": 0.33758
}

Semantic roles & 50–950 ramp

primary
#22B540
secondary
#CA69B6
accent
#3DC8EB
background
#F8FCF7
surface
#EFF9EE
border
#CAD2C9
text
#0B1409
muted
#7C827B

Preview Lab

Preview with #22B540

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

Preview Lab → · Contrast checker → · Palette generator →

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