#22782D#22782D

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

Color values

HEX#22782D
RGBrgb(34, 120, 45)
HSLhsl(128, 56%, 30%)
HSVhsv(128, 72%, 47%)
CMYKcmyk(71.7%, 0%, 62.5%, 52.9%)
CIE-LABlab(44.18, -41.65, 33.28)
CIE-LCHlch(44.18, 53.31, 141.37°)
OKLaboklab(50.49% -0.1126 0.0784)
OKLCHoklch(50.49% 0.137 145.2)
XYZxyz(7.8493, 13.9616, 4.7633)
Luminance0.1396 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22782D #78226D
analogous
#427822 #22782D #227858
triadic
#22782D #2D2278 #782D22
tetradic
#22782D #224278 #78226D #785822
square
#22782D #224278 #78226D #785822
split-complementary
#22782D #582278 #782242
monochromatic
#071909 #14481B #22782D #30A83F #49CB5A

Accessibility & contrast

On white

5.54
#22782D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#22782D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #22782D
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22782D#FFFFFF#000000##FFFFFF
##22782D1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6D25
Deuteranopia (green-blind)
#706633
Tritanopia (blue-blind)
#037568
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #22782d;
/* rgb */ color: rgb(34, 120, 45);
/* oklch */ color: oklch(50.5% 0.137 145.2);
Tailwind
colors: {
  custom: {
    50: '#6aa069',
    500: '#22782d',
    950: '#000000',
  },
}
SCSS
$custom: #22782d;
$custom-light: #6aa069;
$custom-dark: #000000;
JSON
{
  "hex": "#22782d",
  "rgb": {
    "r": 34,
    "g": 120,
    "b": 45
  },
  "hsl": {
    "h": 127.674,
    "s": 55.844,
    "l": 30.196
  },
  "oklch": {
    "l": 0.50492,
    "c": 0.13714,
    "h": 145.2
  },
  "luminance": 0.13962
}

Semantic roles & 50–950 ramp

primary
#22782D
secondary
#AB4B9F
accent
#49CCDF
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070F06
muted
#7A7E7A

Preview Lab

Preview with #22782D

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

Preview Lab → · Contrast checker → · Palette generator →

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