#22842D#22842D

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

Color values

HEX#22842D
RGBrgb(34, 132, 45)
HSLhsl(127, 59%, 33%)
HSVhsv(127, 74%, 52%)
CMYKcmyk(74.2%, 0%, 65.9%, 48.2%)
CIE-LABlab(48.30, -46.06, 37.95)
CIE-LCHlch(48.30, 59.68, 140.51°)
OKLaboklab(53.91% -0.1245 0.0883)
OKLCHoklch(53.91% 0.153 144.6)
XYZxyz(9.3840, 17.0310, 5.2749)
Luminance0.1703 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22842D #842279
analogous
#488422 #22842D #22845E
triadic
#22842D #2D2284 #842D22
tetradic
#22842D #224884 #842279 #845E22
square
#22842D #224884 #842279 #845E22
split-complementary
#22842D #5E2284 #842248
monochromatic
#09230C #15531C #22842D #2FB53E #4FD25D

Accessibility & contrast

On white

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

On black

4.41
#22842D on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##22842D#FFFFFF#000000##FFFFFF
##22842D1.004.774.414.77
#FFFFFF4.771.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867723
Deuteranopia (green-blind)
#7B7035
Tritanopia (blue-blind)
#008072
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #22842d;
/* rgb */ color: rgb(34, 132, 45);
/* oklch */ color: oklch(53.9% 0.153 144.6);
Tailwind
colors: {
  custom: {
    50: '#6da96a',
    500: '#22842d',
    950: '#000000',
  },
}
SCSS
$custom: #22842d;
$custom-light: #6da96a;
$custom-dark: #000000;
JSON
{
  "hex": "#22842d",
  "rgb": {
    "r": 34,
    "g": 132,
    "b": 45
  },
  "hsl": {
    "h": 126.735,
    "s": 59.036,
    "l": 32.549
  },
  "oklch": {
    "l": 0.53906,
    "c": 0.15265,
    "h": 144.6
  },
  "luminance": 0.17032
}

Semantic roles & 50–950 ramp

primary
#22842D
secondary
#B54DA9
accent
#46D1E2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #22842D

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

Preview Lab → · Contrast checker → · Palette generator →

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