#22972D#22972D

#22972D is a mid, vivid green. Relative luminance 0.227; OKLCH L 59.2% C 0.176 H 144.1°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#22972D
RGBrgb(34, 151, 45)
HSLhsl(126, 63%, 36%)
HSVhsv(126, 77%, 59%)
CMYKcmyk(77.5%, 0%, 70.2%, 40.8%)
CIE-LABlab(54.72, -52.62, 44.94)
CIE-LCHlch(54.72, 69.20, 139.51°)
OKLaboklab(59.24% -0.1423 0.1031)
OKLCHoklch(59.24% 0.176 144.1)
XYZxyz(12.1991, 22.6613, 6.2133)
Luminance0.2266 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22972D #97228C
analogous
#529722 #22972D #229768
triadic
#22972D #2D2297 #972D22
tetradic
#22972D #225297 #97228C #976822
square
#22972D #225297 #97228C #976822
split-complementary
#22972D #682297 #972252
monochromatic
#0C330F #17651E #22972D #2DC93C #5ADA66

Accessibility & contrast

On white

3.80
#22972D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#22972D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #22972D
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22972D#FFFFFF#000000##000000
##22972D1.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A881E
Deuteranopia (green-blind)
#8D7F37
Tritanopia (blue-blind)
#009382
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #22972d;
/* rgb */ color: rgb(34, 151, 45);
/* oklch */ color: oklch(59.2% 0.176 144.1);
Tailwind
colors: {
  custom: {
    50: '#72b76c',
    500: '#22972d',
    950: '#000000',
  },
}
SCSS
$custom: #22972d;
$custom-light: #72b76c;
$custom-dark: #000000;
JSON
{
  "hex": "#22972d",
  "rgb": {
    "r": 34,
    "g": 151,
    "b": 45
  },
  "hsl": {
    "h": 125.641,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.59236,
    "c": 0.17574,
    "h": 144.1
  },
  "luminance": 0.22663
}

Semantic roles & 50–950 ramp

primary
#22972D
secondary
#BE57B4
accent
#42D7E6
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #22972D

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

Preview Lab → · Contrast checker → · Palette generator →

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