#22873A#22873A

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

Color values

HEX#22873A
RGBrgb(34, 135, 58)
HSLhsl(134, 60%, 33%)
HSVhsv(134, 75%, 53%)
CMYKcmyk(74.8%, 0%, 57%, 47.1%)
CIE-LABlab(49.46, -45.44, 32.98)
CIE-LCHlch(49.46, 56.15, 144.03°)
OKLaboklab(54.92% -0.1224 0.0788)
OKLCHoklch(54.92% 0.146 147.2)
XYZxyz(10.0866, 17.9724, 6.9396)
Luminance0.1797 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22873A #87226F
analogous
#3D8722 #22873A #22876C
triadic
#22873A #3A2287 #873A22
tetradic
#22873A #223D87 #87226F #876C22
square
#22873A #223D87 #87226F #876C22
split-complementary
#22873A #6C2287 #87223D
monochromatic
#092510 #165625 #22873A #2EB84F #50D36F

Accessibility & contrast

On white

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

On black

4.59
#22873A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #22873A
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22873A#FFFFFF#000000##000000
##22873A1.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #22873a;
/* rgb */ color: rgb(34, 135, 58);
/* oklch */ color: oklch(54.9% 0.146 147.2);
Tailwind
colors: {
  custom: {
    50: '#6dab72',
    500: '#22873a',
    950: '#000000',
  },
}
SCSS
$custom: #22873a;
$custom-light: #6dab72;
$custom-dark: #000000;
JSON
{
  "hex": "#22873a",
  "rgb": {
    "r": 34,
    "g": 135,
    "b": 58
  },
  "hsl": {
    "h": 134.257,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.54916,
    "c": 0.14553,
    "h": 147.2
  },
  "luminance": 0.17974
}

Semantic roles & 50–950 ramp

primary
#22873A
secondary
#B74E9E
accent
#45BDE3
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #22873A

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

Preview Lab → · Contrast checker → · Palette generator →

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