#22842A#22842A

#22842A is a mid, vivid green. Relative luminance 0.170; OKLCH L 53.9% C 0.155 H 144.1°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#22842A
RGBrgb(34, 132, 42)
HSLhsl(125, 59%, 33%)
HSVhsv(125, 74%, 52%)
CMYKcmyk(74.2%, 0%, 68.2%, 48.2%)
CIE-LABlab(48.27, -46.40, 39.28)
CIE-LCHlch(48.27, 60.79, 139.75°)
OKLaboklab(53.87% -0.1256 0.0908)
OKLCHoklch(53.87% 0.155 144.1)
XYZxyz(9.3283, 17.0087, 4.9814)
Luminance0.1701 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22842A #84227C
analogous
#4B8422 #22842A #22845B
triadic
#22842A #2A2284 #842A22
tetradic
#22842A #224B84 #84227C #845B22
square
#22842A #224B84 #84227C #845B22
split-complementary
#22842A #5B2284 #84224B
monochromatic
#09230B #15531B #22842A #2FB539 #4FD259

Accessibility & contrast

On white

4.77
#22842A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#22842A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #22842A
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22842A#FFFFFF#000000##FFFFFF
##22842A1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#87771E
Deuteranopia (green-blind)
#7B7032
Tritanopia (blue-blind)
#008071
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #22842a;
/* rgb */ color: rgb(34, 132, 42);
/* oklch */ color: oklch(53.9% 0.155 144.1);
Tailwind
colors: {
  custom: {
    50: '#6da968',
    500: '#22842a',
    950: '#000000',
  },
}
SCSS
$custom: #22842a;
$custom-light: #6da968;
$custom-dark: #000000;
JSON
{
  "hex": "#22842a",
  "rgb": {
    "r": 34,
    "g": 132,
    "b": 42
  },
  "hsl": {
    "h": 124.898,
    "s": 59.036,
    "l": 32.549
  },
  "oklch": {
    "l": 0.53873,
    "c": 0.15496,
    "h": 144.1
  },
  "luminance": 0.1701
}

Semantic roles & 50–950 ramp

primary
#22842A
secondary
#B54DAD
accent
#46D5E2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #22842A

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

Preview Lab → · Contrast checker → · Palette generator →

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