#22AF2A#22AF2A

#22AF2A is a light, highly saturated green. Relative luminance 0.312; OKLCH L 65.8% C 0.205 H 143.4°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#22AF2A
RGBrgb(34, 175, 42)
HSLhsl(123, 67%, 41%)
HSVhsv(123, 81%, 69%)
CMYKcmyk(80.6%, 0%, 76%, 31.4%)
CIE-LABlab(62.65, -60.60, 54.20)
CIE-LCHlch(62.65, 81.30, 138.19°)
OKLaboklab(65.82% -0.1641 0.1221)
OKLCHoklch(65.82% 0.205 143.4)
XYZxyz(16.4065, 31.1652, 7.3408)
Luminance0.3117 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22AF2A #AF22A7
analogous
#60AF22 #22AF2A #22AF70
triadic
#22AF2A #2A22AF #AF2A22
tetradic
#22AF2A #2260AF #AF22A7 #AF7022
square
#22AF2A #2260AF #AF22A7 #AF7022
split-complementary
#22AF2A #7022AF #AF2260
monochromatic
#0E4911 #187C1E #22AF2A #36D83F #69E270

Accessibility & contrast

On white

2.90
#22AF2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#22AF2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #22AF2A
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22AF2A#FFFFFF#000000##000000
##22AF2A1.002.907.237.23
#FFFFFF2.901.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E0C
Deuteranopia (green-blind)
#A49339
Tritanopia (blue-blind)
#00AA96
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #22af2a;
/* rgb */ color: rgb(34, 175, 42);
/* oklch */ color: oklch(65.8% 0.205 143.4);
Tailwind
colors: {
  custom: {
    50: '#78c86d',
    500: '#22af2a',
    950: '#000000',
  },
}
SCSS
$custom: #22af2a;
$custom-light: #78c86d;
$custom-dark: #000000;
JSON
{
  "hex": "#22af2a",
  "rgb": {
    "r": 34,
    "g": 175,
    "b": 42
  },
  "hsl": {
    "h": 123.404,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.65817,
    "c": 0.20455,
    "h": 143.4
  },
  "luminance": 0.31167
}

Semantic roles & 50–950 ramp

primary
#22AF2A
secondary
#C865C2
accent
#3DE1EA
background
#F8FCF6
surface
#EFF8EC
border
#CAD1C7
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #22AF2A

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

Preview Lab → · Contrast checker → · Palette generator →

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