#22842E#22842E

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

Color values

HEX#22842E
RGBrgb(34, 132, 46)
HSLhsl(127, 59%, 33%)
HSVhsv(127, 74%, 52%)
CMYKcmyk(74.2%, 0%, 65.2%, 48.2%)
CIE-LABlab(48.31, -45.94, 37.50)
CIE-LCHlch(48.31, 59.30, 140.78°)
OKLaboklab(53.92% -0.1241 0.0875)
OKLCHoklch(53.92% 0.152 144.8)
XYZxyz(9.4035, 17.0388, 5.3775)
Luminance0.1704 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22842E #842278
analogous
#478422 #22842E #22845F
triadic
#22842E #2E2284 #842E22
tetradic
#22842E #224784 #842278 #845F22
square
#22842E #224784 #842278 #845F22
split-complementary
#22842E #5F2284 #842247
monochromatic
#09230C #15531D #22842E #2FB53F #4FD25F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##22842E#FFFFFF#000000##FFFFFF
##22842E1.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)
#867724
Deuteranopia (green-blind)
#7B7035
Tritanopia (blue-blind)
#008072
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #22842e;
/* rgb */ color: rgb(34, 132, 46);
/* oklch */ color: oklch(53.9% 0.152 144.8);
Tailwind
colors: {
  custom: {
    50: '#6da96a',
    500: '#22842e',
    950: '#000000',
  },
}
SCSS
$custom: #22842e;
$custom-light: #6da96a;
$custom-dark: #000000;
JSON
{
  "hex": "#22842e",
  "rgb": {
    "r": 34,
    "g": 132,
    "b": 46
  },
  "hsl": {
    "h": 127.347,
    "s": 59.036,
    "l": 32.549
  },
  "oklch": {
    "l": 0.53917,
    "c": 0.15187,
    "h": 144.8
  },
  "luminance": 0.1704
}

Semantic roles & 50–950 ramp

primary
#22842E
secondary
#B54DA8
accent
#46CFE2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #22842E

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

Preview Lab → · Contrast checker → · Palette generator →

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