#22781A#22781A

#22781A is a mid, vivid green. Relative luminance 0.138; OKLCH L 50.3% C 0.151 H 141.9°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#22781A
RGBrgb(34, 120, 26)
HSLhsl(115, 64%, 29%)
HSVhsv(115, 78%, 47%)
CMYKcmyk(71.7%, 0%, 78.3%, 52.9%)
CIE-LABlab(44.01, -43.62, 41.42)
CIE-LCHlch(44.01, 60.16, 136.48°)
OKLaboklab(50.3% -0.1189 0.0932)
OKLCHoklch(50.3% 0.151 141.9)
XYZxyz(7.5622, 13.8468, 3.2512)
Luminance0.1385 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22781A #701A78
analogous
#51781A #22781A #1A7841
triadic
#22781A #1A2278 #781A22
tetradic
#22781A #1A5178 #701A78 #78411A
square
#22781A #1A5178 #701A78 #78411A
split-complementary
#22781A #411A78 #781A51
monochromatic
#071905 #14460F #22781A #30AA25 #46D438

Accessibility & contrast

On white

5.57
#22781A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#22781A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #22781A
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22781A#FFFFFF#000000##FFFFFF
##22781A1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C06
Deuteranopia (green-blind)
#716524
Tritanopia (blue-blind)
#0C7466
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #22781a;
/* rgb */ color: rgb(34, 120, 26);
/* oklch */ color: oklch(50.3% 0.151 141.9);
Tailwind
colors: {
  custom: {
    50: '#6ba05e',
    500: '#22781a',
    950: '#000000',
  },
}
SCSS
$custom: #22781a;
$custom-light: #6ba05e;
$custom-dark: #000000;
JSON
{
  "hex": "#22781a",
  "rgb": {
    "r": 34,
    "g": 120,
    "b": 26
  },
  "hsl": {
    "h": 114.894,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.50301,
    "c": 0.15105,
    "h": 141.9
  },
  "luminance": 0.13848
}

Semantic roles & 50–950 ramp

primary
#22781A
secondary
#A341AC
accent
#40E7D9
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080F05
muted
#7A7E79

Preview Lab

Preview with #22781A

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

Preview Lab → · Contrast checker → · Palette generator →

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