#22972C#22972C

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

Color values

HEX#22972C
RGBrgb(34, 151, 44)
HSLhsl(125, 63%, 36%)
HSVhsv(125, 77%, 59%)
CMYKcmyk(77.5%, 0%, 70.9%, 40.8%)
CIE-LABlab(54.71, -52.72, 45.34)
CIE-LCHlch(54.71, 69.53, 139.31°)
OKLaboklab(59.23% -0.1426 0.1038)
OKLCHoklch(59.23% 0.176 144)
XYZxyz(12.1801, 22.6537, 6.1131)
Luminance0.2266 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22972C #97228D
analogous
#539722 #22972C #229767
triadic
#22972C #2C2297 #972C22
tetradic
#22972C #225397 #97228D #976722
square
#22972C #225397 #97228D #976722
split-complementary
#22972C #672297 #972253
monochromatic
#0C330F #17651D #22972C #2DC93B #5ADA65

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##22972C#FFFFFF#000000##000000
##22972C1.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)
#9A881C
Deuteranopia (green-blind)
#8D7F36
Tritanopia (blue-blind)
#009382
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #22972c;
/* rgb */ color: rgb(34, 151, 44);
/* oklch */ color: oklch(59.2% 0.176 144.0);
Tailwind
colors: {
  custom: {
    50: '#72b76b',
    500: '#22972c',
    950: '#000000',
  },
}
SCSS
$custom: #22972c;
$custom-light: #72b76b;
$custom-dark: #000000;
JSON
{
  "hex": "#22972c",
  "rgb": {
    "r": 34,
    "g": 151,
    "b": 44
  },
  "hsl": {
    "h": 125.128,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.59227,
    "c": 0.17641,
    "h": 144
  },
  "luminance": 0.22655
}

Semantic roles & 50–950 ramp

primary
#22972C
secondary
#BE57B5
accent
#42D8E6
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #22972C

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

Preview Lab → · Contrast checker → · Palette generator →

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