#173E22#173E22

#173E22 is a dark, moderate green. Relative luminance 0.037; OKLCH L 32.7% C 0.066 H 150.4°. Best body text is #FFFFFF at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#173E22
RGBrgb(23, 62, 34)
HSLhsl(137, 46%, 17%)
HSVhsv(137, 63%, 24%)
CMYKcmyk(62.9%, 0%, 45.2%, 75.7%)
CIE-LABlab(22.80, -21.29, 13.17)
CIE-LCHlch(22.80, 25.03, 148.25°)
OKLaboklab(32.72% -0.0577 0.0327)
OKLCHoklch(32.72% 0.066 150.4)
XYZxyz(2.3645, 3.7427, 2.1109)
Luminance0.0374 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173E22 #3E1733
analogous
#203E17 #173E22 #173E36
triadic
#173E22 #22173E #3E2217
tetradic
#173E22 #17203E #3E1733 #3E3617
square
#173E22 #17203E #3E1733 #3E3617
split-complementary
#173E22 #36173E #3E1720
monochromatic
#08160C #08160C #173E22 #286B3A #389753

Accessibility & contrast

On white

12.01
#173E22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#173E22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173E22
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173E22#FFFFFF#000000##FFFFFF
##173E221.0012.011.7512.01
#FFFFFF12.011.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3920
Deuteranopia (green-blind)
#393524
Tritanopia (blue-blind)
#0D3D37
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #173e22;
/* rgb */ color: rgb(23, 62, 34);
/* oklch */ color: oklch(32.7% 0.066 150.4);
Tailwind
colors: {
  custom: {
    50: '#58735d',
    500: '#173e22',
    950: '#000000',
  },
}
SCSS
$custom: #173e22;
$custom-light: #58735d;
$custom-dark: #000000;
JSON
{
  "hex": "#173e22",
  "rgb": {
    "r": 23,
    "g": 62,
    "b": 34
  },
  "hsl": {
    "h": 136.923,
    "s": 45.882,
    "l": 16.667
  },
  "oklch": {
    "l": 0.32718,
    "c": 0.06633,
    "h": 150.4
  },
  "luminance": 0.03743
}

Semantic roles & 50–950 ramp

primary
#173E22
secondary
#753C65
accent
#52B1D6
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030804
muted
#787B79

Preview Lab

Preview with #173E22

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

Preview Lab → · Contrast checker → · Palette generator →

#173E22 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva