#22842F#22842F

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

Color values

HEX#22842F
RGBrgb(34, 132, 47)
HSLhsl(128, 59%, 33%)
HSVhsv(128, 74%, 52%)
CMYKcmyk(74.2%, 0%, 64.4%, 48.2%)
CIE-LABlab(48.32, -45.82, 37.04)
CIE-LCHlch(48.32, 58.92, 141.05°)
OKLaboklab(53.93% -0.1238 0.0866)
OKLCHoklch(53.93% 0.151 145)
XYZxyz(9.4234, 17.0468, 5.4825)
Luminance0.1705 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22842F #842277
analogous
#468422 #22842F #228460
triadic
#22842F #2F2284 #842F22
tetradic
#22842F #224684 #842277 #846022
square
#22842F #224684 #842277 #846022
split-complementary
#22842F #602284 #842246
monochromatic
#09230C #15531E #22842F #2FB540 #4FD260

Accessibility & contrast

On white

4.76
#22842F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #22842F
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22842F#FFFFFF#000000##FFFFFF
##22842F1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867725
Deuteranopia (green-blind)
#7B7036
Tritanopia (blue-blind)
#008172
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #22842f;
/* rgb */ color: rgb(34, 132, 47);
/* oklch */ color: oklch(53.9% 0.151 145.0);
Tailwind
colors: {
  custom: {
    50: '#6da96b',
    500: '#22842f',
    950: '#000000',
  },
}
SCSS
$custom: #22842f;
$custom-light: #6da96b;
$custom-dark: #000000;
JSON
{
  "hex": "#22842f",
  "rgb": {
    "r": 34,
    "g": 132,
    "b": 47
  },
  "hsl": {
    "h": 127.959,
    "s": 59.036,
    "l": 32.549
  },
  "oklch": {
    "l": 0.53929,
    "c": 0.15106,
    "h": 145
  },
  "luminance": 0.17048
}

Semantic roles & 50–950 ramp

primary
#22842F
secondary
#B54DA7
accent
#46CDE2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #22842F

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

Preview Lab → · Contrast checker → · Palette generator →

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