#22792D#22792D

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

Color values

HEX#22792D
RGBrgb(34, 121, 45)
HSLhsl(128, 56%, 30%)
HSVhsv(128, 72%, 47%)
CMYKcmyk(71.9%, 0%, 62.8%, 52.5%)
CIE-LABlab(44.52, -42.03, 33.68)
CIE-LCHlch(44.52, 53.86, 141.29°)
OKLaboklab(50.78% -0.1136 0.0792)
OKLCHoklch(50.78% 0.138 145.1)
XYZxyz(7.9702, 14.2034, 4.8036)
Luminance0.1420 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22792D #79226E
analogous
#427922 #22792D #227958
triadic
#22792D #2D2279 #792D22
tetradic
#22792D #224279 #79226E #795822
square
#22792D #224279 #79226E #795822
split-complementary
#22792D #582279 #792242
monochromatic
#071909 #15491B #22792D #2FA93F #49CC5A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##22792D#FFFFFF#000000##FFFFFF
##22792D1.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)
#7B6E25
Deuteranopia (green-blind)
#716733
Tritanopia (blue-blind)
#027669
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #22792d;
/* rgb */ color: rgb(34, 121, 45);
/* oklch */ color: oklch(50.8% 0.138 145.1);
Tailwind
colors: {
  custom: {
    50: '#6aa169',
    500: '#22792d',
    950: '#000000',
  },
}
SCSS
$custom: #22792d;
$custom-light: #6aa169;
$custom-dark: #000000;
JSON
{
  "hex": "#22792d",
  "rgb": {
    "r": 34,
    "g": 121,
    "b": 45
  },
  "hsl": {
    "h": 127.586,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.50778,
    "c": 0.13847,
    "h": 145.1
  },
  "luminance": 0.14204
}

Semantic roles & 50–950 ramp

primary
#22792D
secondary
#AC4BA0
accent
#48CCDF
background
#F6FAF6
surface
#ECF3EB
border
#C7CDC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #22792D

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

Preview Lab → · Contrast checker → · Palette generator →

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