#22782F#22782F

#22782F is a mid, vivid green. Relative luminance 0.140; OKLCH L 50.5% C 0.135 H 145.6°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#22782F
RGBrgb(34, 120, 47)
HSLhsl(129, 56%, 30%)
HSVhsv(129, 72%, 47%)
CMYKcmyk(71.7%, 0%, 60.8%, 52.9%)
CIE-LABlab(44.20, -41.38, 32.31)
CIE-LCHlch(44.20, 52.50, 142.02°)
OKLaboklab(50.52% -0.1118 0.0764)
OKLCHoklch(50.52% 0.135 145.6)
XYZxyz(7.8887, 13.9774, 4.9709)
Luminance0.1398 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22782F #78226B
analogous
#407822 #22782F #22785A
triadic
#22782F #2F2278 #782F22
tetradic
#22782F #224078 #78226B #785A22
square
#22782F #224078 #78226B #785A22
split-complementary
#22782F #5A2278 #782240
monochromatic
#07190A #14481C #22782F #30A842 #49CB5D

Accessibility & contrast

On white

5.53
#22782F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#22782F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #22782F
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22782F#FFFFFF#000000##FFFFFF
##22782F1.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6D28
Deuteranopia (green-blind)
#706635
Tritanopia (blue-blind)
#027568
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #22782f;
/* rgb */ color: rgb(34, 120, 47);
/* oklch */ color: oklch(50.5% 0.135 145.6);
Tailwind
colors: {
  custom: {
    50: '#6aa06a',
    500: '#22782f',
    950: '#000000',
  },
}
SCSS
$custom: #22782f;
$custom-light: #6aa06a;
$custom-dark: #000000;
JSON
{
  "hex": "#22782f",
  "rgb": {
    "r": 34,
    "g": 120,
    "b": 47
  },
  "hsl": {
    "h": 129.07,
    "s": 55.844,
    "l": 30.196
  },
  "oklch": {
    "l": 0.50518,
    "c": 0.1354,
    "h": 145.6
  },
  "luminance": 0.13978
}

Semantic roles & 50–950 ramp

primary
#22782F
secondary
#AB4B9C
accent
#49C8DF
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070F06
muted
#7A7E7A

Preview Lab

Preview with #22782F

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

Preview Lab → · Contrast checker → · Palette generator →

#22782F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva