#22873E#22873E

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

Color values

HEX#22873E
RGBrgb(34, 135, 62)
HSLhsl(137, 60%, 33%)
HSVhsv(137, 75%, 53%)
CMYKcmyk(74.8%, 0%, 54.1%, 47.1%)
CIE-LABlab(49.51, -44.84, 30.98)
CIE-LCHlch(49.51, 54.50, 145.36°)
OKLaboklab(54.97% -0.1207 0.0746)
OKLCHoklch(54.97% 0.142 148.3)
XYZxyz(10.1924, 18.0147, 7.4965)
Luminance0.1802 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22873E #87226B
analogous
#388722 #22873E #228770
triadic
#22873E #3E2287 #873E22
tetradic
#22873E #223887 #87226B #877022
square
#22873E #223887 #87226B #877022
split-complementary
#22873E #702287 #872238
monochromatic
#092511 #165628 #22873E #2EB854 #50D375

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##22873E#FFFFFF#000000##000000
##22873E1.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)
#887B38
Deuteranopia (green-blind)
#7D7243
Tritanopia (blue-blind)
#008476
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #22873e;
/* rgb */ color: rgb(34, 135, 62);
/* oklch */ color: oklch(55.0% 0.142 148.3);
Tailwind
colors: {
  custom: {
    50: '#6dab75',
    500: '#22873e',
    950: '#000000',
  },
}
SCSS
$custom: #22873e;
$custom-light: #6dab75;
$custom-dark: #000000;
JSON
{
  "hex": "#22873e",
  "rgb": {
    "r": 34,
    "g": 135,
    "b": 62
  },
  "hsl": {
    "h": 136.634,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.54975,
    "c": 0.14188,
    "h": 148.3
  },
  "luminance": 0.18016
}

Semantic roles & 50–950 ramp

primary
#22873E
secondary
#B74E9A
accent
#45B7E3
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #22873E

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

Preview Lab → · Contrast checker → · Palette generator →

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