#22841E#22841E

#22841E is a mid, vivid green. Relative luminance 0.169; OKLCH L 53.8% C 0.163 H 142.4°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#22841E
RGBrgb(34, 132, 30)
HSLhsl(118, 63%, 32%)
HSVhsv(118, 77%, 52%)
CMYKcmyk(74.2%, 0%, 77.3%, 48.2%)
CIE-LABlab(48.18, -47.52, 44.08)
CIE-LCHlch(48.18, 64.82, 137.15°)
OKLaboklab(53.77% -0.1292 0.0993)
OKLCHoklch(53.77% 0.163 142.4)
XYZxyz(9.1448, 16.9353, 4.0149)
Luminance0.1694 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22841E #801E84
analogous
#55841E #22841E #1E844D
triadic
#22841E #1E2284 #841E22
tetradic
#22841E #1E5584 #801E84 #844D1E
square
#22841E #1E5584 #801E84 #844D1E
split-complementary
#22841E #4D1E84 #841E55
monochromatic
#082007 #155213 #22841E #2FB629 #4DD547

Accessibility & contrast

On white

4.79
#22841E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#22841E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #22841E
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22841E#FFFFFF#000000##FFFFFF
##22841E1.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877708
Deuteranopia (green-blind)
#7C6F29
Tritanopia (blue-blind)
#008070
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #22841e;
/* rgb */ color: rgb(34, 132, 30);
/* oklch */ color: oklch(53.8% 0.163 142.4);
Tailwind
colors: {
  custom: {
    50: '#6ea961',
    500: '#22841e',
    950: '#000000',
  },
}
SCSS
$custom: #22841e;
$custom-light: #6ea961;
$custom-dark: #000000;
JSON
{
  "hex": "#22841e",
  "rgb": {
    "r": 34,
    "g": 132,
    "b": 30
  },
  "hsl": {
    "h": 117.647,
    "s": 62.963,
    "l": 31.765
  },
  "oklch": {
    "l": 0.53767,
    "c": 0.16296,
    "h": 142.4
  },
  "luminance": 0.16936
}

Semantic roles & 50–950 ramp

primary
#22841E
secondary
#B247B7
accent
#42E6E0
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #22841E

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

Preview Lab → · Contrast checker → · Palette generator →

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