#22791B#22791B

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

Color values

HEX#22791B
RGBrgb(34, 121, 27)
HSLhsl(116, 64%, 29%)
HSVhsv(116, 78%, 47%)
CMYKcmyk(71.9%, 0%, 77.7%, 52.5%)
CIE-LABlab(44.37, -43.90, 41.40)
CIE-LCHlch(44.37, 60.34, 136.68°)
OKLaboklab(50.6% -0.1196 0.0933)
OKLCHoklch(50.6% 0.152 142)
XYZxyz(7.6945, 14.0931, 3.3514)
Luminance0.1409 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22791B #721B79
analogous
#51791B #22791B #1B7943
triadic
#22791B #1B2279 #791B22
tetradic
#22791B #1B5179 #721B79 #79431B
square
#22791B #1B5179 #721B79 #79431B
split-complementary
#22791B #431B79 #791B51
monochromatic
#071906 #144710 #22791B #30AB26 #46D33B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##22791B#FFFFFF#000000##FFFFFF
##22791B1.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)
#7C6D07
Deuteranopia (green-blind)
#726625
Tritanopia (blue-blind)
#0B7567
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #22791b;
/* rgb */ color: rgb(34, 121, 27);
/* oklch */ color: oklch(50.6% 0.152 142.0);
Tailwind
colors: {
  custom: {
    50: '#6ba15e',
    500: '#22791b',
    950: '#000000',
  },
}
SCSS
$custom: #22791b;
$custom-light: #6ba15e;
$custom-dark: #000000;
JSON
{
  "hex": "#22791b",
  "rgb": {
    "r": 34,
    "g": 121,
    "b": 27
  },
  "hsl": {
    "h": 115.532,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.50597,
    "c": 0.15166,
    "h": 142
  },
  "luminance": 0.14094
}

Semantic roles & 50–950 ramp

primary
#22791B
secondary
#A543AD
accent
#41E7DA
background
#F6FAF5
surface
#ECF3E9
border
#C7CDC5
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #22791B

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

Preview Lab → · Contrast checker → · Palette generator →

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