#22971B#22971B

#22971B is a mid, vivid green. Relative luminance 0.226; 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#22971B
RGBrgb(34, 151, 27)
HSLhsl(117, 70%, 35%)
HSVhsv(117, 82%, 59%)
CMYKcmyk(77.5%, 0%, 82.1%, 40.8%)
CIE-LABlab(54.61, -54.04, 51.28)
CIE-LCHlch(54.61, 74.50, 136.50°)
OKLaboklab(59.1% -0.147 0.1139)
OKLCHoklch(59.1% 0.186 142.2)
XYZxyz(11.9234, 22.5510, 4.7611)
Luminance0.2255 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22971B #901B97
analogous
#60971B #22971B #1B9752
triadic
#22971B #1B2297 #971B22
tetradic
#22971B #1B6097 #901B97 #97521B
square
#22971B #1B6097 #901B97 #97521B
split-complementary
#22971B #521B97 #971B60
monochromatic
#0B2F08 #166312 #22971B #2ECB24 #55DF4D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##22971B#FFFFFF#000000##000000
##22971B1.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)
#8E7F2B
Tritanopia (blue-blind)
#009280
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #22971b;
/* rgb */ color: rgb(34, 151, 27);
/* oklch */ color: oklch(59.1% 0.186 142.2);
Tailwind
colors: {
  custom: {
    50: '#73b763',
    500: '#22971b',
    950: '#000000',
  },
}
SCSS
$custom: #22971b;
$custom-light: #73b763;
$custom-dark: #000000;
JSON
{
  "hex": "#22971b",
  "rgb": {
    "r": 34,
    "g": 151,
    "b": 27
  },
  "hsl": {
    "h": 116.613,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.59103,
    "c": 0.18596,
    "h": 142.2
  },
  "luminance": 0.22552
}

Semantic roles & 50–950 ramp

primary
#22971B
secondary
#BB4CC1
accent
#3BECE2
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #22971B

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

Preview Lab → · Contrast checker → · Palette generator →

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