#173C22#173C22

#173C22 is a dark, moderate green. Relative luminance 0.035; OKLCH L 32.1% C 0.063 H 151.1°. Best body text is #FFFFFF at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#173C22
RGBrgb(23, 60, 34)
HSLhsl(138, 45%, 16%)
HSVhsv(138, 62%, 24%)
CMYKcmyk(61.7%, 0%, 43.3%, 76.5%)
CIE-LABlab(22.05, -20.28, 12.18)
CIE-LCHlch(22.05, 23.65, 149.01°)
OKLaboklab(32.1% -0.055 0.0304)
OKLCHoklch(32.1% 0.063 151.1)
XYZxyz(2.2578, 3.5292, 2.0753)
Luminance0.0353 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173C22 #3C1731
analogous
#1F3C17 #173C22 #173C35
triadic
#173C22 #22173C #3C2217
tetradic
#173C22 #171F3C #3C1731 #3C3517
square
#173C22 #171F3C #3C1731 #3C3517
split-complementary
#173C22 #35173C #3C171F
monochromatic
#08160D #08160D #173C22 #28683B #399454

Accessibility & contrast

On white

12.31
#173C22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#173C22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173C22
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173C22#FFFFFF#000000##FFFFFF
##173C221.0012.311.7112.31
#FFFFFF12.311.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3720
Deuteranopia (green-blind)
#373324
Tritanopia (blue-blind)
#0E3B35
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #173c22;
/* rgb */ color: rgb(23, 60, 34);
/* oklch */ color: oklch(32.1% 0.063 151.1);
Tailwind
colors: {
  custom: {
    50: '#58725d',
    500: '#173c22',
    950: '#000000',
  },
}
SCSS
$custom: #173c22;
$custom-light: #58725d;
$custom-dark: #000000;
JSON
{
  "hex": "#173c22",
  "rgb": {
    "r": 23,
    "g": 60,
    "b": 34
  },
  "hsl": {
    "h": 137.838,
    "s": 44.578,
    "l": 16.275
  },
  "oklch": {
    "l": 0.32102,
    "c": 0.06285,
    "h": 151.1
  },
  "luminance": 0.03529
}

Semantic roles & 50–950 ramp

primary
#173C22
secondary
#733C62
accent
#54AED4
background
#F5F6F5
surface
#E9ECE9
border
#C5C7C5
text
#030804
muted
#787B79

Preview Lab

Preview with #173C22

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

Preview Lab → · Contrast checker → · Palette generator →

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