#22972E#22972E

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

Color values

HEX#22972E
RGBrgb(34, 151, 46)
HSLhsl(126, 63%, 36%)
HSVhsv(126, 77%, 59%)
CMYKcmyk(77.5%, 0%, 69.5%, 40.8%)
CIE-LABlab(54.73, -52.52, 44.53)
CIE-LCHlch(54.73, 68.86, 139.71°)
OKLaboklab(59.25% -0.142 0.1024)
OKLCHoklch(59.25% 0.175 144.2)
XYZxyz(12.2186, 22.6691, 6.3159)
Luminance0.2267 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22972E #97228B
analogous
#519722 #22972E #229769
triadic
#22972E #2E2297 #972E22
tetradic
#22972E #225197 #97228B #976922
square
#22972E #225197 #97228B #976922
split-complementary
#22972E #692297 #972251
monochromatic
#0C3310 #17651F #22972E #2DC93D #5ADA67

Accessibility & contrast

On white

3.79
#22972E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##22972E#FFFFFF#000000##000000
##22972E1.003.795.535.53
#FFFFFF3.791.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #22972e;
/* rgb */ color: rgb(34, 151, 46);
/* oklch */ color: oklch(59.2% 0.175 144.2);
Tailwind
colors: {
  custom: {
    50: '#72b76c',
    500: '#22972e',
    950: '#000000',
  },
}
SCSS
$custom: #22972e;
$custom-light: #72b76c;
$custom-dark: #000000;
JSON
{
  "hex": "#22972e",
  "rgb": {
    "r": 34,
    "g": 151,
    "b": 46
  },
  "hsl": {
    "h": 126.154,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.59245,
    "c": 0.17505,
    "h": 144.2
  },
  "luminance": 0.22671
}

Semantic roles & 50–950 ramp

primary
#22972E
secondary
#BE57B3
accent
#42D5E6
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #22972E

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

Preview Lab → · Contrast checker → · Palette generator →

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