#22873D#22873D

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

Color values

HEX#22873D
RGBrgb(34, 135, 61)
HSLhsl(136, 60%, 33%)
HSVhsv(136, 75%, 53%)
CMYKcmyk(74.8%, 0%, 54.8%, 47.1%)
CIE-LABlab(49.50, -45.00, 31.49)
CIE-LCHlch(49.50, 54.92, 145.02°)
OKLaboklab(54.96% -0.1211 0.0757)
OKLCHoklch(54.96% 0.143 148)
XYZxyz(10.1652, 18.0038, 7.3533)
Luminance0.1800 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22873D #87226C
analogous
#398722 #22873D #22876F
triadic
#22873D #3D2287 #873D22
tetradic
#22873D #223987 #87226C #876F22
square
#22873D #223987 #87226C #876F22
split-complementary
#22873D #6F2287 #872239
monochromatic
#092511 #165627 #22873D #2EB853 #50D373

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##22873D#FFFFFF#000000##000000
##22873D1.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #22873d;
/* rgb */ color: rgb(34, 135, 61);
/* oklch */ color: oklch(55.0% 0.143 148.0);
Tailwind
colors: {
  custom: {
    50: '#6dab74',
    500: '#22873d',
    950: '#000000',
  },
}
SCSS
$custom: #22873d;
$custom-light: #6dab74;
$custom-dark: #000000;
JSON
{
  "hex": "#22873d",
  "rgb": {
    "r": 34,
    "g": 135,
    "b": 61
  },
  "hsl": {
    "h": 136.04,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.5496,
    "c": 0.1428,
    "h": 148
  },
  "luminance": 0.18005
}

Semantic roles & 50–950 ramp

primary
#22873D
secondary
#B74E9B
accent
#45B9E3
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #22873D

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

Preview Lab → · Contrast checker → · Palette generator →

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