#22841F#22841F

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

Color values

HEX#22841F
RGBrgb(34, 132, 31)
HSLhsl(118, 62%, 32%)
HSVhsv(118, 77%, 52%)
CMYKcmyk(74.2%, 0%, 76.5%, 48.2%)
CIE-LABlab(48.19, -47.44, 43.72)
CIE-LCHlch(48.19, 64.51, 137.34°)
OKLaboklab(53.77% -0.1289 0.0987)
OKLCHoklch(53.77% 0.162 142.6)
XYZxyz(9.1577, 16.9405, 4.0833)
Luminance0.1694 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22841F #811F84
analogous
#55841F #22841F #1F844F
triadic
#22841F #1F2284 #841F22
tetradic
#22841F #1F5584 #811F84 #844F1F
square
#22841F #1F5584 #811F84 #844F1F
split-complementary
#22841F #4F1F84 #841F55
monochromatic
#082108 #155213 #22841F #2FB62B #4DD449

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##22841F#FFFFFF#000000##FFFFFF
##22841F1.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)
#87770B
Deuteranopia (green-blind)
#7C6F2A
Tritanopia (blue-blind)
#008071
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #22841f;
/* rgb */ color: rgb(34, 132, 31);
/* oklch */ color: oklch(53.8% 0.162 142.6);
Tailwind
colors: {
  custom: {
    50: '#6ea962',
    500: '#22841f',
    950: '#000000',
  },
}
SCSS
$custom: #22841f;
$custom-light: #6ea962;
$custom-dark: #000000;
JSON
{
  "hex": "#22841f",
  "rgb": {
    "r": 34,
    "g": 132,
    "b": 31
  },
  "hsl": {
    "h": 118.218,
    "s": 61.963,
    "l": 31.961
  },
  "oklch": {
    "l": 0.53774,
    "c": 0.16238,
    "h": 142.6
  },
  "luminance": 0.16942
}

Semantic roles & 50–950 ramp

primary
#22841F
secondary
#B348B7
accent
#43E5E0
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #22841F

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

Preview Lab → · Contrast checker → · Palette generator →

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