#22781E#22781E

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

Color values

HEX#22781E
RGBrgb(34, 120, 30)
HSLhsl(117, 60%, 29%)
HSVhsv(117, 75%, 47%)
CMYKcmyk(71.7%, 0%, 75%, 52.9%)
CIE-LABlab(44.04, -43.29, 39.91)
CIE-LCHlch(44.04, 58.88, 137.33°)
OKLaboklab(50.33% -0.1177 0.0906)
OKLCHoklch(50.33% 0.149 142.4)
XYZxyz(7.6101, 13.8659, 3.5034)
Luminance0.1387 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22781E #741E78
analogous
#4F781E #22781E #1E7847
triadic
#22781E #1E2278 #781E22
tetradic
#22781E #1E4F78 #741E78 #78471E
square
#22781E #1E4F78 #741E78 #78471E
split-complementary
#22781E #471E78 #781E4F
monochromatic
#071806 #144712 #22781E #30A92A #47CF41

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##22781E#FFFFFF#000000##FFFFFF
##22781E1.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)
#7B6C0E
Deuteranopia (green-blind)
#716527
Tritanopia (blue-blind)
#0B7466
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #22781e;
/* rgb */ color: rgb(34, 120, 30);
/* oklch */ color: oklch(50.3% 0.149 142.4);
Tailwind
colors: {
  custom: {
    50: '#6ba060',
    500: '#22781e',
    950: '#000000',
  },
}
SCSS
$custom: #22781e;
$custom-light: #6ba060;
$custom-dark: #000000;
JSON
{
  "hex": "#22781e",
  "rgb": {
    "r": 34,
    "g": 120,
    "b": 30
  },
  "hsl": {
    "h": 117.333,
    "s": 60,
    "l": 29.412
  },
  "oklch": {
    "l": 0.50333,
    "c": 0.14857,
    "h": 142.4
  },
  "luminance": 0.13867
}

Semantic roles & 50–950 ramp

primary
#22781E
secondary
#A746AC
accent
#45E3DC
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070F05
muted
#7A7E79

Preview Lab

Preview with #22781E

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

Preview Lab → · Contrast checker → · Palette generator →

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