#22891F#22891F

#22891F is a mid, vivid green. Relative luminance 0.183; OKLCH L 55.2% C 0.168 H 142.6°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#22891F
RGBrgb(34, 137, 31)
HSLhsl(118, 63%, 33%)
HSVhsv(118, 77%, 54%)
CMYKcmyk(75.2%, 0%, 77.4%, 46.3%)
CIE-LABlab(49.89, -49.15, 45.42)
CIE-LCHlch(49.89, 66.92, 137.26°)
OKLaboklab(55.19% -0.1336 0.1023)
OKLCHoklch(55.19% 0.168 142.6)
XYZxyz(9.8521, 18.3292, 4.3147)
Luminance0.1833 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22891F #861F89
analogous
#57891F #22891F #1F8951
triadic
#22891F #1F2289 #891F22
tetradic
#22891F #1F5789 #861F89 #89511F
square
#22891F #1F5789 #861F89 #89511F
split-complementary
#22891F #511F89 #891F57
monochromatic
#092508 #165714 #22891F #2EBB2A #50D64C

Accessibility & contrast

On white

4.50
#22891F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#22891F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #22891F
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22891F#FFFFFF#000000##000000
##22891F1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C08
Deuteranopia (green-blind)
#81742B
Tritanopia (blue-blind)
#008575
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #22891f;
/* rgb */ color: rgb(34, 137, 31);
/* oklch */ color: oklch(55.2% 0.168 142.6);
Tailwind
colors: {
  custom: {
    50: '#6fac63',
    500: '#22891f',
    950: '#000000',
  },
}
SCSS
$custom: #22891f;
$custom-light: #6fac63;
$custom-dark: #000000;
JSON
{
  "hex": "#22891f",
  "rgb": {
    "r": 34,
    "g": 137,
    "b": 31
  },
  "hsl": {
    "h": 118.302,
    "s": 63.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.55193,
    "c": 0.16822,
    "h": 142.6
  },
  "luminance": 0.1833
}

Semantic roles & 50–950 ramp

primary
#22891F
secondary
#B64BB9
accent
#42E6E1
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #22891F

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

Preview Lab → · Contrast checker → · Palette generator →

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