#22AF52#22AF52

#22AF52 is a light, vivid green. Relative luminance 0.316; OKLCH L 66.2% C 0.175 H 149.1°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#22AF52
RGBrgb(34, 175, 82)
HSLhsl(140, 67%, 41%)
HSVhsv(140, 81%, 69%)
CMYKcmyk(80.6%, 0%, 53.1%, 31.4%)
CIE-LABlab(63.02, -56.08, 37.35)
CIE-LCHlch(63.02, 67.38, 146.33°)
OKLaboklab(66.24% -0.1506 0.09)
OKLCHoklch(66.24% 0.175 149.1)
XYZxyz(17.5112, 31.6071, 13.1589)
Luminance0.3161 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22AF52 #AF227F
analogous
#38AF22 #22AF52 #22AF98
triadic
#22AF52 #5222AF #AF5222
tetradic
#22AF52 #2238AF #AF227F #AF9822
square
#22AF52 #2238AF #AF227F #AF9822
split-complementary
#22AF52 #9822AF #AF2238
monochromatic
#0E4922 #187C3A #22AF52 #36D86D #69E292

Accessibility & contrast

On white

2.87
#22AF52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#22AF52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #22AF52
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22AF52#FFFFFF#000000##000000
##22AF521.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09F4A
Deuteranopia (green-blind)
#A19459
Tritanopia (blue-blind)
#00AC9A
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #22af52;
/* rgb */ color: rgb(34, 175, 82);
/* oklch */ color: oklch(66.2% 0.175 149.1);
Tailwind
colors: {
  custom: {
    50: '#76c885',
    500: '#22af52',
    950: '#000000',
  },
}
SCSS
$custom: #22af52;
$custom-light: #76c885;
$custom-dark: #000000;
JSON
{
  "hex": "#22af52",
  "rgb": {
    "r": 34,
    "g": 175,
    "b": 82
  },
  "hsl": {
    "h": 140.426,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.66244,
    "c": 0.1754,
    "h": 149.1
  },
  "luminance": 0.31609
}

Semantic roles & 50–950 ramp

primary
#22AF52
secondary
#C865A6
accent
#3DAFEA
background
#F7FCF8
surface
#EEF8EF
border
#C9D1CA
text
#0A130B
muted
#7C827C

Preview Lab

Preview with #22AF52

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

Preview Lab → · Contrast checker → · Palette generator →

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