#22792A#22792A

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

Color values

HEX#22792A
RGBrgb(34, 121, 42)
HSLhsl(126, 56%, 30%)
HSVhsv(126, 72%, 47%)
CMYKcmyk(71.9%, 0%, 65.3%, 52.5%)
CIE-LABlab(44.49, -42.40, 35.10)
CIE-LCHlch(44.49, 55.04, 140.38°)
OKLaboklab(50.74% -0.1147 0.0819)
OKLCHoklch(50.74% 0.141 144.5)
XYZxyz(7.9145, 14.1811, 4.5102)
Luminance0.1418 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22792A #792271
analogous
#457922 #22792A #227955
triadic
#22792A #2A2279 #792A22
tetradic
#22792A #224579 #792271 #795522
square
#22792A #224579 #792271 #795522
split-complementary
#22792A #552279 #792245
monochromatic
#071909 #154919 #22792A #2FA93B #49CC55

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##22792A#FFFFFF#000000##FFFFFF
##22792A1.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)
#7B6E21
Deuteranopia (green-blind)
#716631
Tritanopia (blue-blind)
#047668
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #22792a;
/* rgb */ color: rgb(34, 121, 42);
/* oklch */ color: oklch(50.7% 0.141 144.5);
Tailwind
colors: {
  custom: {
    50: '#6ba167',
    500: '#22792a',
    950: '#000000',
  },
}
SCSS
$custom: #22792a;
$custom-light: #6ba167;
$custom-dark: #000000;
JSON
{
  "hex": "#22792a",
  "rgb": {
    "r": 34,
    "g": 121,
    "b": 42
  },
  "hsl": {
    "h": 125.517,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.50741,
    "c": 0.14097,
    "h": 144.5
  },
  "luminance": 0.14182
}

Semantic roles & 50–950 ramp

primary
#22792A
secondary
#AC4BA3
accent
#48D2DF
background
#F6FAF6
surface
#ECF3EB
border
#C7CDC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #22792A

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

Preview Lab → · Contrast checker → · Palette generator →

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