#22873C#22873C

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

Color values

HEX#22873C
RGBrgb(34, 135, 60)
HSLhsl(135, 60%, 33%)
HSVhsv(135, 75%, 53%)
CMYKcmyk(74.8%, 0%, 55.6%, 47.1%)
CIE-LABlab(49.49, -45.15, 31.99)
CIE-LCHlch(49.49, 55.33, 144.68°)
OKLaboklab(54.95% -0.1215 0.0767)
OKLCHoklch(54.95% 0.144 147.7)
XYZxyz(10.1385, 17.9931, 7.2128)
Luminance0.1799 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22873C #87226D
analogous
#3A8722 #22873C #22876E
triadic
#22873C #3C2287 #873C22
tetradic
#22873C #223A87 #87226D #876E22
square
#22873C #223A87 #87226D #876E22
split-complementary
#22873C #6E2287 #87223A
monochromatic
#092511 #165626 #22873C #2EB852 #50D372

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##22873C#FFFFFF#000000##000000
##22873C1.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)
#897B35
Deuteranopia (green-blind)
#7D7242
Tritanopia (blue-blind)
#008476
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #22873c;
/* rgb */ color: rgb(34, 135, 60);
/* oklch */ color: oklch(54.9% 0.144 147.7);
Tailwind
colors: {
  custom: {
    50: '#6dab74',
    500: '#22873c',
    950: '#000000',
  },
}
SCSS
$custom: #22873c;
$custom-light: #6dab74;
$custom-dark: #000000;
JSON
{
  "hex": "#22873c",
  "rgb": {
    "r": 34,
    "g": 135,
    "b": 60
  },
  "hsl": {
    "h": 135.446,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.54945,
    "c": 0.14371,
    "h": 147.7
  },
  "luminance": 0.17994
}

Semantic roles & 50–950 ramp

primary
#22873C
secondary
#B74E9C
accent
#45BAE3
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #22873C

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

Preview Lab → · Contrast checker → · Palette generator →

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