#22AF42#22AF42

#22AF42 is a light, vivid green. Relative luminance 0.314; OKLCH L 66.0% C 0.189 H 146.2°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#22AF42
RGBrgb(34, 175, 66)
HSLhsl(134, 67%, 41%)
HSVhsv(134, 81%, 69%)
CMYKcmyk(80.6%, 0%, 62.3%, 31.4%)
CIE-LABlab(62.84, -58.26, 44.74)
CIE-LCHlch(62.84, 73.46, 142.47°)
OKLaboklab(66.04% -0.1568 0.1049)
OKLCHoklch(66.04% 0.189 146.2)
XYZxyz(16.9718, 31.3913, 10.3179)
Luminance0.3139 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22AF42 #AF228F
analogous
#48AF22 #22AF42 #22AF88
triadic
#22AF42 #4222AF #AF4222
tetradic
#22AF42 #2248AF #AF228F #AF8822
square
#22AF42 #2248AF #AF228F #AF8822
split-complementary
#22AF42 #8822AF #AF2248
monochromatic
#0E491B #187C2F #22AF42 #36D85B #69E285

Accessibility & contrast

On white

2.89
#22AF42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#22AF42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #22AF42
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22AF42#FFFFFF#000000##000000
##22AF421.002.897.287.28
#FFFFFF2.891.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29F36
Deuteranopia (green-blind)
#A2944B
Tritanopia (blue-blind)
#00AB98
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #22af42;
/* rgb */ color: rgb(34, 175, 66);
/* oklch */ color: oklch(66.0% 0.189 146.2);
Tailwind
colors: {
  custom: {
    50: '#77c87a',
    500: '#22af42',
    950: '#000000',
  },
}
SCSS
$custom: #22af42;
$custom-light: #77c87a;
$custom-dark: #000000;
JSON
{
  "hex": "#22af42",
  "rgb": {
    "r": 34,
    "g": 175,
    "b": 66
  },
  "hsl": {
    "h": 133.617,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.66036,
    "c": 0.18866,
    "h": 146.2
  },
  "luminance": 0.31393
}

Semantic roles & 50–950 ramp

primary
#22AF42
secondary
#C865B1
accent
#3DC3EA
background
#F7FCF7
surface
#EEF8EE
border
#C9D1C9
text
#0A1309
muted
#7C827B

Preview Lab

Preview with #22AF42

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

Preview Lab → · Contrast checker → · Palette generator →

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