#22972F#22972F

#22972F is a mid, vivid green. Relative luminance 0.227; OKLCH L 59.3% C 0.174 H 144.4°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#22972F
RGBrgb(34, 151, 47)
HSLhsl(127, 63%, 36%)
HSVhsv(127, 77%, 59%)
CMYKcmyk(77.5%, 0%, 68.9%, 40.8%)
CIE-LABlab(54.74, -52.42, 44.12)
CIE-LCHlch(54.74, 68.51, 139.92°)
OKLaboklab(59.26% -0.1417 0.1016)
OKLCHoklch(59.26% 0.174 144.4)
XYZxyz(12.2386, 22.6771, 6.4209)
Luminance0.2268 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22972F #97228A
analogous
#509722 #22972F #22976A
triadic
#22972F #2F2297 #972F22
tetradic
#22972F #225097 #97228A #976A22
square
#22972F #225097 #97228A #976A22
split-complementary
#22972F #6A2297 #972250
monochromatic
#0C3310 #17651F #22972F #2DC93F #5ADA68

Accessibility & contrast

On white

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

On black

5.54
#22972F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #22972F
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22972F#FFFFFF#000000##000000
##22972F1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #22972f;
/* rgb */ color: rgb(34, 151, 47);
/* oklch */ color: oklch(59.3% 0.174 144.4);
Tailwind
colors: {
  custom: {
    50: '#72b76d',
    500: '#22972f',
    950: '#000000',
  },
}
SCSS
$custom: #22972f;
$custom-light: #72b76d;
$custom-dark: #000000;
JSON
{
  "hex": "#22972f",
  "rgb": {
    "r": 34,
    "g": 151,
    "b": 47
  },
  "hsl": {
    "h": 126.667,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.59255,
    "c": 0.17435,
    "h": 144.4
  },
  "luminance": 0.22679
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #22972F

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

Preview Lab → · Contrast checker → · Palette generator →

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