#22971E#22971E

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

Color values

HEX#22971E
RGBrgb(34, 151, 30)
HSLhsl(118, 67%, 35%)
HSVhsv(118, 80%, 59%)
CMYKcmyk(77.5%, 0%, 80.1%, 40.8%)
CIE-LABlab(54.62, -53.85, 50.37)
CIE-LCHlch(54.62, 73.73, 136.92°)
OKLaboklab(59.12% -0.1464 0.1124)
OKLCHoklch(59.12% 0.185 142.5)
XYZxyz(11.9599, 22.5656, 4.9533)
Luminance0.2257 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22971E #931E97
analogous
#5E971E #22971E #1E9757
triadic
#22971E #1E2297 #971E22
tetradic
#22971E #1E5E97 #931E97 #97571E
square
#22971E #1E5E97 #931E97 #97571E
split-complementary
#22971E #571E97 #971E5E
monochromatic
#0B310A #176414 #22971E #2DCA28 #57DD53

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##22971E#FFFFFF#000000##000000
##22971E1.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: #22971e;
/* rgb */ color: rgb(34, 151, 30);
/* oklch */ color: oklch(59.1% 0.185 142.5);
Tailwind
colors: {
  custom: {
    50: '#73b764',
    500: '#22971e',
    950: '#000000',
  },
}
SCSS
$custom: #22971e;
$custom-light: #73b764;
$custom-dark: #000000;
JSON
{
  "hex": "#22971e",
  "rgb": {
    "r": 34,
    "g": 151,
    "b": 30
  },
  "hsl": {
    "h": 118.017,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.59121,
    "c": 0.18455,
    "h": 142.5
  },
  "luminance": 0.22567
}

Semantic roles & 50–950 ramp

primary
#22971E
secondary
#BC51C0
accent
#3EEAE4
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #22971E

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

Preview Lab → · Contrast checker → · Palette generator →

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