#22B242#22B242

#22B242 is a light, vivid green. Relative luminance 0.326; OKLCH L 66.8% C 0.192 H 146.1°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#22B242
RGBrgb(34, 178, 66)
HSLhsl(133, 68%, 42%)
HSVhsv(133, 81%, 70%)
CMYKcmyk(80.9%, 0%, 62.9%, 30.2%)
CIE-LABlab(63.81, -59.24, 45.85)
CIE-LCHlch(63.81, 74.91, 142.26°)
OKLaboklab(66.85% -0.1595 0.1073)
OKLCHoklch(66.85% 0.192 146.1)
XYZxyz(17.5621, 32.5721, 10.5147)
Luminance0.3257 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22B242 #B22292
analogous
#4AB222 #22B242 #22B28A
triadic
#22B242 #4222B2 #B24222
tetradic
#22B242 #224AB2 #B22292 #B28A22
square
#22B242 #224AB2 #B22292 #B28A22
split-complementary
#22B242 #8A22B2 #B2224A
monochromatic
#0E4B1C #187F2F #22B242 #38D95C #6CE386

Accessibility & contrast

On white

2.79
#22B242 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#22B242 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #22B242
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22B242#FFFFFF#000000##000000
##22B2421.002.797.517.51
#FFFFFF2.791.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A135
Deuteranopia (green-blind)
#A5964C
Tritanopia (blue-blind)
#00AE9A
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #22b242;
/* rgb */ color: rgb(34, 178, 66);
/* oklch */ color: oklch(66.8% 0.192 146.1);
Tailwind
colors: {
  custom: {
    50: '#78ca7b',
    500: '#22b242',
    950: '#000000',
  },
}
SCSS
$custom: #22b242;
$custom-light: #78ca7b;
$custom-dark: #000000;
JSON
{
  "hex": "#22b242",
  "rgb": {
    "r": 34,
    "g": 178,
    "b": 66
  },
  "hsl": {
    "h": 133.333,
    "s": 67.925,
    "l": 41.569
  },
  "oklch": {
    "l": 0.66847,
    "c": 0.19219,
    "h": 146.1
  },
  "luminance": 0.32574
}

Semantic roles & 50–950 ramp

primary
#22B242
secondary
#C967B3
accent
#3DC4EB
background
#F8FCF7
surface
#EFF9EE
border
#CAD2C9
text
#0A1309
muted
#7C827B

Preview Lab

Preview with #22B242

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

Preview Lab → · Contrast checker → · Palette generator →

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