#22792C#22792C

#22792C is a mid, vivid green. Relative luminance 0.142; OKLCH L 50.8% C 0.139 H 144.9°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#22792C
RGBrgb(34, 121, 44)
HSLhsl(127, 56%, 30%)
HSVhsv(127, 72%, 47%)
CMYKcmyk(71.9%, 0%, 63.6%, 52.5%)
CIE-LABlab(44.51, -42.15, 34.16)
CIE-LCHlch(44.51, 54.26, 140.98°)
OKLaboklab(50.77% -0.114 0.0801)
OKLCHoklch(50.77% 0.139 144.9)
XYZxyz(7.9512, 14.1958, 4.7034)
Luminance0.1420 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22792C #79226F
analogous
#437922 #22792C #227958
triadic
#22792C #2C2279 #792C22
tetradic
#22792C #224379 #79226F #795822
square
#22792C #224379 #79226F #795822
split-complementary
#22792C #582279 #792243
monochromatic
#071909 #15491B #22792C #2FA93D #49CC58

Accessibility & contrast

On white

5.47
#22792C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#22792C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #22792C
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22792C#FFFFFF#000000##FFFFFF
##22792C1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6E24
Deuteranopia (green-blind)
#716732
Tritanopia (blue-blind)
#037669
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #22792c;
/* rgb */ color: rgb(34, 121, 44);
/* oklch */ color: oklch(50.8% 0.139 144.9);
Tailwind
colors: {
  custom: {
    50: '#6aa168',
    500: '#22792c',
    950: '#000000',
  },
}
SCSS
$custom: #22792c;
$custom-light: #6aa168;
$custom-dark: #000000;
JSON
{
  "hex": "#22792c",
  "rgb": {
    "r": 34,
    "g": 121,
    "b": 44
  },
  "hsl": {
    "h": 126.897,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.50765,
    "c": 0.13931,
    "h": 144.9
  },
  "luminance": 0.14197
}

Semantic roles & 50–950 ramp

primary
#22792C
secondary
#AC4BA1
accent
#48CEDF
background
#F6FAF6
surface
#ECF3EB
border
#C7CDC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #22792C

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

Preview Lab → · Contrast checker → · Palette generator →

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