#22792B#22792B

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

Color values

HEX#22792B
RGBrgb(34, 121, 43)
HSLhsl(126, 56%, 30%)
HSVhsv(126, 72%, 47%)
CMYKcmyk(71.9%, 0%, 64.5%, 52.5%)
CIE-LABlab(44.50, -42.28, 34.63)
CIE-LCHlch(44.50, 54.65, 140.68°)
OKLaboklab(50.75% -0.1143 0.081)
OKLCHoklch(50.75% 0.14 144.7)
XYZxyz(7.9326, 14.1884, 4.6056)
Luminance0.1419 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22792B #792270
analogous
#447922 #22792B #227956
triadic
#22792B #2B2279 #792B22
tetradic
#22792B #224479 #792270 #795622
square
#22792B #224479 #792270 #795622
split-complementary
#22792B #562279 #792244
monochromatic
#071909 #15491A #22792B #2FA93C #49CC57

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##22792B#FFFFFF#000000##FFFFFF
##22792B1.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)
#7B6E22
Deuteranopia (green-blind)
#716632
Tritanopia (blue-blind)
#047668
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #22792b;
/* rgb */ color: rgb(34, 121, 43);
/* oklch */ color: oklch(50.8% 0.140 144.7);
Tailwind
colors: {
  custom: {
    50: '#6aa167',
    500: '#22792b',
    950: '#000000',
  },
}
SCSS
$custom: #22792b;
$custom-light: #6aa167;
$custom-dark: #000000;
JSON
{
  "hex": "#22792b",
  "rgb": {
    "r": 34,
    "g": 121,
    "b": 43
  },
  "hsl": {
    "h": 126.207,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.50753,
    "c": 0.14015,
    "h": 144.7
  },
  "luminance": 0.14189
}

Semantic roles & 50–950 ramp

primary
#22792B
secondary
#AC4BA2
accent
#48D0DF
background
#F6FAF6
surface
#ECF3EB
border
#C7CDC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #22792B

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

Preview Lab → · Contrast checker → · Palette generator →

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