#22782B#22782B

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

Color values

HEX#22782B
RGBrgb(34, 120, 43)
HSLhsl(126, 56%, 30%)
HSVhsv(126, 72%, 47%)
CMYKcmyk(71.7%, 0%, 64.2%, 52.9%)
CIE-LABlab(44.16, -41.90, 34.24)
CIE-LCHlch(44.16, 54.11, 140.75°)
OKLaboklab(50.47% -0.1133 0.0802)
OKLCHoklch(50.47% 0.139 144.7)
XYZxyz(7.8117, 13.9466, 4.5653)
Luminance0.1395 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22782B #78226F
analogous
#447822 #22782B #227856
triadic
#22782B #2B2278 #782B22
tetradic
#22782B #224478 #78226F #785622
square
#22782B #224478 #78226F #785622
split-complementary
#22782B #562278 #782244
monochromatic
#071909 #14481A #22782B #30A83C #49CB57

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##22782B#FFFFFF#000000##FFFFFF
##22782B1.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)
#7A6D22
Deuteranopia (green-blind)
#706631
Tritanopia (blue-blind)
#047568
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #22782b;
/* rgb */ color: rgb(34, 120, 43);
/* oklch */ color: oklch(50.5% 0.139 144.7);
Tailwind
colors: {
  custom: {
    50: '#6aa067',
    500: '#22782b',
    950: '#000000',
  },
}
SCSS
$custom: #22782b;
$custom-light: #6aa067;
$custom-dark: #000000;
JSON
{
  "hex": "#22782b",
  "rgb": {
    "r": 34,
    "g": 120,
    "b": 43
  },
  "hsl": {
    "h": 126.279,
    "s": 55.844,
    "l": 30.196
  },
  "oklch": {
    "l": 0.50467,
    "c": 0.13884,
    "h": 144.7
  },
  "luminance": 0.13947
}

Semantic roles & 50–950 ramp

primary
#22782B
secondary
#AB4BA1
accent
#49CFDF
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070F06
muted
#7A7E7A

Preview Lab

Preview with #22782B

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

Preview Lab → · Contrast checker → · Palette generator →

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