#22971D#22971D

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

Color values

HEX#22971D
RGBrgb(34, 151, 29)
HSLhsl(118, 68%, 35%)
HSVhsv(118, 81%, 59%)
CMYKcmyk(77.5%, 0%, 80.8%, 40.8%)
CIE-LABlab(54.62, -53.92, 50.68)
CIE-LCHlch(54.62, 73.99, 136.78°)
OKLaboklab(59.11% -0.1466 0.1129)
OKLCHoklch(59.11% 0.185 142.4)
XYZxyz(11.9473, 22.5606, 4.8871)
Luminance0.2256 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22971D #921D97
analogous
#5F971D #22971D #1D9755
triadic
#22971D #1D2297 #971D22
tetradic
#22971D #1D5F97 #921D97 #97551D
square
#22971D #1D5F97 #921D97 #97551D
split-complementary
#22971D #551D97 #971D5F
monochromatic
#0B3009 #166413 #22971D #2ECA27 #57DE51

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##22971D#FFFFFF#000000##000000
##22971D1.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)
#8E7F2C
Tritanopia (blue-blind)
#009281
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #22971d;
/* rgb */ color: rgb(34, 151, 29);
/* oklch */ color: oklch(59.1% 0.185 142.4);
Tailwind
colors: {
  custom: {
    50: '#73b764',
    500: '#22971d',
    950: '#000000',
  },
}
SCSS
$custom: #22971d;
$custom-light: #73b764;
$custom-dark: #000000;
JSON
{
  "hex": "#22971d",
  "rgb": {
    "r": 34,
    "g": 151,
    "b": 29
  },
  "hsl": {
    "h": 117.541,
    "s": 67.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.59115,
    "c": 0.18504,
    "h": 142.4
  },
  "luminance": 0.22562
}

Semantic roles & 50–950 ramp

primary
#22971D
secondary
#BC4FC0
accent
#3DEBE4
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #22971D

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

Preview Lab → · Contrast checker → · Palette generator →

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