#22873F#22873F

#22873F is a mid, vivid green. Relative luminance 0.180; OKLCH L 55.0% C 0.141 H 148.5°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#22873F
RGBrgb(34, 135, 63)
HSLhsl(137, 60%, 33%)
HSVhsv(137, 75%, 53%)
CMYKcmyk(74.8%, 0%, 53.3%, 47.1%)
CIE-LABlab(49.53, -44.68, 30.48)
CIE-LCHlch(49.53, 54.09, 145.70°)
OKLaboklab(54.99% -0.1202 0.0736)
OKLCHoklch(54.99% 0.141 148.5)
XYZxyz(10.2201, 18.0257, 7.6424)
Luminance0.1803 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22873F #87226A
analogous
#378722 #22873F #228771
triadic
#22873F #3F2287 #873F22
tetradic
#22873F #223787 #87226A #877122
square
#22873F #223787 #87226A #877122
split-complementary
#22873F #712287 #872237
monochromatic
#092511 #165628 #22873F #2EB856 #50D376

Accessibility & contrast

On white

4.56
#22873F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#22873F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #22873F
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22873F#FFFFFF#000000##000000
##22873F1.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#887B39
Deuteranopia (green-blind)
#7C7244
Tritanopia (blue-blind)
#008476
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #22873f;
/* rgb */ color: rgb(34, 135, 63);
/* oklch */ color: oklch(55.0% 0.141 148.5);
Tailwind
colors: {
  custom: {
    50: '#6dab76',
    500: '#22873f',
    950: '#000000',
  },
}
SCSS
$custom: #22873f;
$custom-light: #6dab76;
$custom-dark: #000000;
JSON
{
  "hex": "#22873f",
  "rgb": {
    "r": 34,
    "g": 135,
    "b": 63
  },
  "hsl": {
    "h": 137.228,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.54991,
    "c": 0.14094,
    "h": 148.5
  },
  "luminance": 0.18027
}

Semantic roles & 50–950 ramp

primary
#22873F
secondary
#B74E99
accent
#45B6E3
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #22873F

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

Preview Lab → · Contrast checker → · Palette generator →

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