#22971F#22971F

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

Color values

HEX#22971F
RGBrgb(34, 151, 31)
HSLhsl(119, 66%, 36%)
HSVhsv(119, 79%, 59%)
CMYKcmyk(77.5%, 0%, 79.5%, 40.8%)
CIE-LABlab(54.63, -53.78, 50.05)
CIE-LCHlch(54.63, 73.47, 137.06°)
OKLaboklab(59.13% -0.1461 0.1119)
OKLCHoklch(59.13% 0.184 142.6)
XYZxyz(11.9729, 22.5708, 5.0217)
Luminance0.2257 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22971F #941F97
analogous
#5E971F #22971F #1F9758
triadic
#22971F #1F2297 #971F22
tetradic
#22971F #1F5E97 #941F97 #97581F
square
#22971F #1F5E97 #941F97 #97581F
split-complementary
#22971F #581F97 #971F5E
monochromatic
#0B310A #176415 #22971F #2DCA29 #58DC54

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##22971F#FFFFFF#000000##000000
##22971F1.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)
#9A8800
Deuteranopia (green-blind)
#8E7F2D
Tritanopia (blue-blind)
#009281
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #22971f;
/* rgb */ color: rgb(34, 151, 31);
/* oklch */ color: oklch(59.1% 0.184 142.6);
Tailwind
colors: {
  custom: {
    50: '#73b765',
    500: '#22971f',
    950: '#000000',
  },
}
SCSS
$custom: #22971f;
$custom-light: #73b765;
$custom-dark: #000000;
JSON
{
  "hex": "#22971f",
  "rgb": {
    "r": 34,
    "g": 151,
    "b": 31
  },
  "hsl": {
    "h": 118.5,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.59127,
    "c": 0.18405,
    "h": 142.6
  },
  "luminance": 0.22572
}

Semantic roles & 50–950 ramp

primary
#22971F
secondary
#BD52BF
accent
#3FE9E5
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #22971F

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

Preview Lab → · Contrast checker → · Palette generator →

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