#22791A#22791A

#22791A is a mid, vivid green. Relative luminance 0.141; OKLCH L 50.6% C 0.152 H 141.9°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#22791A
RGBrgb(34, 121, 26)
HSLhsl(115, 65%, 29%)
HSVhsv(115, 79%, 47%)
CMYKcmyk(71.9%, 0%, 78.5%, 52.5%)
CIE-LABlab(44.36, -43.98, 41.77)
CIE-LCHlch(44.36, 60.65, 136.48°)
OKLaboklab(50.59% -0.1198 0.0939)
OKLCHoklch(50.59% 0.152 141.9)
XYZxyz(7.6831, 14.0886, 3.2915)
Luminance0.1409 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22791A #711A79
analogous
#52791A #22791A #1A7942
triadic
#22791A #1A2279 #791A22
tetradic
#22791A #1A5279 #711A79 #79421A
square
#22791A #1A5279 #711A79 #79421A
split-complementary
#22791A #421A79 #791A52
monochromatic
#071905 #14470F #22791A #30AB25 #46D439

Accessibility & contrast

On white

5.50
#22791A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#22791A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #22791A
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22791A#FFFFFF#000000##FFFFFF
##22791A1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D05
Deuteranopia (green-blind)
#726624
Tritanopia (blue-blind)
#0C7567
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #22791a;
/* rgb */ color: rgb(34, 121, 26);
/* oklch */ color: oklch(50.6% 0.152 141.9);
Tailwind
colors: {
  custom: {
    50: '#6ba15e',
    500: '#22791a',
    950: '#000000',
  },
}
SCSS
$custom: #22791a;
$custom-light: #6ba15e;
$custom-dark: #000000;
JSON
{
  "hex": "#22791a",
  "rgb": {
    "r": 34,
    "g": 121,
    "b": 26
  },
  "hsl": {
    "h": 114.947,
    "s": 64.626,
    "l": 28.824
  },
  "oklch": {
    "l": 0.5059,
    "c": 0.15225,
    "h": 141.9
  },
  "luminance": 0.14089
}

Semantic roles & 50–950 ramp

primary
#22791A
secondary
#A441AD
accent
#40E8DA
background
#F6FAF5
surface
#ECF3E9
border
#C7CDC5
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #22791A

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

Preview Lab → · Contrast checker → · Palette generator →

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