#22872E#22872E

#22872E is a mid, vivid green. Relative luminance 0.179; OKLCH L 54.8% C 0.156 H 144.7°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#22872E
RGBrgb(34, 135, 46)
HSLhsl(127, 60%, 33%)
HSVhsv(127, 75%, 53%)
CMYKcmyk(74.8%, 0%, 65.9%, 47.1%)
CIE-LABlab(49.33, -47.01, 38.64)
CIE-LCHlch(49.33, 60.85, 140.58°)
OKLaboklab(54.76% -0.127 0.0899)
OKLCHoklch(54.76% 0.156 144.7)
XYZxyz(9.8161, 17.8642, 5.5150)
Luminance0.1787 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22872E #87227B
analogous
#488722 #22872E #228760
triadic
#22872E #2E2287 #872E22
tetradic
#22872E #224887 #87227B #876022
square
#22872E #224887 #87227B #876022
split-complementary
#22872E #602287 #872248
monochromatic
#09250D #16561D #22872E #2EB83F #50D360

Accessibility & contrast

On white

4.59
#22872E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#22872E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #22872E
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22872E#FFFFFF#000000##FFFFFF
##22872E1.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897A23
Deuteranopia (green-blind)
#7E7236
Tritanopia (blue-blind)
#008374
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #22872e;
/* rgb */ color: rgb(34, 135, 46);
/* oklch */ color: oklch(54.8% 0.156 144.7);
Tailwind
colors: {
  custom: {
    50: '#6eab6b',
    500: '#22872e',
    950: '#000000',
  },
}
SCSS
$custom: #22872e;
$custom-light: #6eab6b;
$custom-dark: #000000;
JSON
{
  "hex": "#22872e",
  "rgb": {
    "r": 34,
    "g": 135,
    "b": 46
  },
  "hsl": {
    "h": 127.129,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.54764,
    "c": 0.15565,
    "h": 144.7
  },
  "luminance": 0.17865
}

Semantic roles & 50–950 ramp

primary
#22872E
secondary
#B74EAA
accent
#45D0E3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #22872E

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

Preview Lab → · Contrast checker → · Palette generator →

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