#22782A#22782A

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

Color values

HEX#22782A
RGBrgb(34, 120, 42)
HSLhsl(126, 56%, 30%)
HSVhsv(126, 72%, 47%)
CMYKcmyk(71.7%, 0%, 65%, 52.9%)
CIE-LABlab(44.15, -42.03, 34.71)
CIE-LCHlch(44.15, 54.51, 140.45°)
OKLaboklab(50.46% -0.1137 0.0811)
OKLCHoklch(50.46% 0.14 144.5)
XYZxyz(7.7936, 13.9394, 4.4699)
Luminance0.1394 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22782A #782270
analogous
#457822 #22782A #227855
triadic
#22782A #2A2278 #782A22
tetradic
#22782A #224578 #782270 #785522
square
#22782A #224578 #782270 #785522
split-complementary
#22782A #552278 #782245
monochromatic
#071909 #144819 #22782A #30A83B #49CB55

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##22782A#FFFFFF#000000##FFFFFF
##22782A1.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)
#7A6D21
Deuteranopia (green-blind)
#706631
Tritanopia (blue-blind)
#057567
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #22782a;
/* rgb */ color: rgb(34, 120, 42);
/* oklch */ color: oklch(50.5% 0.140 144.5);
Tailwind
colors: {
  custom: {
    50: '#6aa067',
    500: '#22782a',
    950: '#000000',
  },
}
SCSS
$custom: #22782a;
$custom-light: #6aa067;
$custom-dark: #000000;
JSON
{
  "hex": "#22782a",
  "rgb": {
    "r": 34,
    "g": 120,
    "b": 42
  },
  "hsl": {
    "h": 125.581,
    "s": 55.844,
    "l": 30.196
  },
  "oklch": {
    "l": 0.50455,
    "c": 0.13967,
    "h": 144.5
  },
  "luminance": 0.1394
}

Semantic roles & 50–950 ramp

primary
#22782A
secondary
#AB4BA2
accent
#49D1DF
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070F06
muted
#7A7E7A

Preview Lab

Preview with #22782A

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

Preview Lab → · Contrast checker → · Palette generator →

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