#22971A#22971A

#22971A is a mid, vivid green. Relative luminance 0.225; OKLCH L 59.1% C 0.186 H 142.2°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#22971A
RGBrgb(34, 151, 26)
HSLhsl(116, 71%, 35%)
HSVhsv(116, 83%, 59%)
CMYKcmyk(77.5%, 0%, 82.8%, 40.8%)
CIE-LABlab(54.60, -54.10, 51.56)
CIE-LCHlch(54.60, 74.74, 136.38°)
OKLaboklab(59.1% -0.1472 0.1144)
OKLCHoklch(59.1% 0.186 142.2)
XYZxyz(11.9120, 22.5465, 4.7012)
Luminance0.2255 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22971A #8F1A97
analogous
#61971A #22971A #1A9751
triadic
#22971A #1A2297 #971A22
tetradic
#22971A #1A6197 #8F1A97 #97511A
square
#22971A #1A6197 #8F1A97 #97511A
split-complementary
#22971A #511A97 #971A61
monochromatic
#0A2F08 #166311 #22971A #2ECB23 #55E04B

Accessibility & contrast

On white

3.81
#22971A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#22971A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #22971A
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22971A#FFFFFF#000000##000000
##22971A1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8800
Deuteranopia (green-blind)
#8E7F2A
Tritanopia (blue-blind)
#009280
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #22971a;
/* rgb */ color: rgb(34, 151, 26);
/* oklch */ color: oklch(59.1% 0.186 142.2);
Tailwind
colors: {
  custom: {
    50: '#73b762',
    500: '#22971a',
    950: '#000000',
  },
}
SCSS
$custom: #22971a;
$custom-light: #73b762;
$custom-dark: #000000;
JSON
{
  "hex": "#22971a",
  "rgb": {
    "r": 34,
    "g": 151,
    "b": 26
  },
  "hsl": {
    "h": 116.16,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.59098,
    "c": 0.1864,
    "h": 142.2
  },
  "luminance": 0.22548
}

Semantic roles & 50–950 ramp

primary
#22971A
secondary
#BA4BC2
accent
#3AEDE2
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #22971A

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

Preview Lab → · Contrast checker → · Palette generator →

#22971A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva