#22AF51#22AF51

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

Color values

HEX#22AF51
RGBrgb(34, 175, 81)
HSLhsl(140, 67%, 41%)
HSVhsv(140, 81%, 69%)
CMYKcmyk(80.6%, 0%, 53.7%, 31.4%)
CIE-LABlab(63.00, -56.23, 37.83)
CIE-LCHlch(63.00, 67.77, 146.07°)
OKLaboklab(66.23% -0.151 0.091)
OKLCHoklch(66.23% 0.176 148.9)
XYZxyz(17.4734, 31.5920, 12.9599)
Luminance0.3159 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22AF51 #AF2280
analogous
#39AF22 #22AF51 #22AF97
triadic
#22AF51 #5122AF #AF5122
tetradic
#22AF51 #2239AF #AF2280 #AF9722
square
#22AF51 #2239AF #AF2280 #AF9722
split-complementary
#22AF51 #9722AF #AF2239
monochromatic
#0E4922 #187C39 #22AF51 #36D86C #69E292

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##22AF51#FFFFFF#000000##000000
##22AF511.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)
#B09F49
Deuteranopia (green-blind)
#A19458
Tritanopia (blue-blind)
#00AC9A
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #22af51;
/* rgb */ color: rgb(34, 175, 81);
/* oklch */ color: oklch(66.2% 0.176 148.9);
Tailwind
colors: {
  custom: {
    50: '#76c884',
    500: '#22af51',
    950: '#000000',
  },
}
SCSS
$custom: #22af51;
$custom-light: #76c884;
$custom-dark: #000000;
JSON
{
  "hex": "#22af51",
  "rgb": {
    "r": 34,
    "g": 175,
    "b": 81
  },
  "hsl": {
    "h": 140,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.66229,
    "c": 0.17628,
    "h": 148.9
  },
  "luminance": 0.31594
}

Semantic roles & 50–950 ramp

primary
#22AF51
secondary
#C865A7
accent
#3DB1EA
background
#F7FCF8
surface
#EEF8EF
border
#C9D1CA
text
#0A130B
muted
#7C827C

Preview Lab

Preview with #22AF51

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

Preview Lab → · Contrast checker → · Palette generator →

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