#22873B#22873B

#22873B is a mid, vivid green. Relative luminance 0.180; OKLCH L 54.9% C 0.145 H 147.5°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#22873B
RGBrgb(34, 135, 59)
HSLhsl(135, 60%, 33%)
HSVhsv(135, 75%, 53%)
CMYKcmyk(74.8%, 0%, 56.3%, 47.1%)
CIE-LABlab(49.48, -45.30, 32.48)
CIE-LCHlch(49.48, 55.74, 144.36°)
OKLaboklab(54.93% -0.1219 0.0777)
OKLCHoklch(54.93% 0.145 147.5)
XYZxyz(10.1123, 17.9826, 7.0749)
Luminance0.1798 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22873B #87226E
analogous
#3C8722 #22873B #22876D
triadic
#22873B #3B2287 #873B22
tetradic
#22873B #223C87 #87226E #876D22
square
#22873B #223C87 #87226E #876D22
split-complementary
#22873B #6D2287 #87223C
monochromatic
#092510 #165626 #22873B #2EB850 #50D371

Accessibility & contrast

On white

4.57
#22873B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#22873B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #22873B
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22873B#FFFFFF#000000##000000
##22873B1.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#897B34
Deuteranopia (green-blind)
#7D7241
Tritanopia (blue-blind)
#008476
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #22873b;
/* rgb */ color: rgb(34, 135, 59);
/* oklch */ color: oklch(54.9% 0.145 147.5);
Tailwind
colors: {
  custom: {
    50: '#6dab73',
    500: '#22873b',
    950: '#000000',
  },
}
SCSS
$custom: #22873b;
$custom-light: #6dab73;
$custom-dark: #000000;
JSON
{
  "hex": "#22873b",
  "rgb": {
    "r": 34,
    "g": 135,
    "b": 59
  },
  "hsl": {
    "h": 134.851,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.5493,
    "c": 0.14462,
    "h": 147.5
  },
  "luminance": 0.17984
}

Semantic roles & 50–950 ramp

primary
#22873B
secondary
#B74E9D
accent
#45BCE3
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #22873B

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

Preview Lab → · Contrast checker → · Palette generator →

#22873B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva