#173D12#173D12

#173D12 is a dark, moderate green. Relative luminance 0.036; OKLCH L 32.1% C 0.082 H 141.4°. Best body text is #FFFFFF at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#173D12
RGBrgb(23, 61, 18)
HSLhsl(113, 54%, 15%)
HSVhsv(113, 70%, 24%)
CMYKcmyk(62.3%, 0%, 70.5%, 76.1%)
CIE-LABlab(22.17, -23.54, 21.96)
CIE-LCHlch(22.17, 32.19, 136.98°)
OKLaboklab(32.12% -0.0643 0.0513)
OKLCHoklch(32.12% 0.082 141.4)
XYZxyz(2.1312, 3.5631, 1.1476)
Luminance0.0356 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173D12 #38123D
analogous
#2C3D12 #173D12 #123D22
triadic
#173D12 #12173D #3D1217
tetradic
#173D12 #122C3D #38123D #3D2212
square
#173D12 #122C3D #38123D #3D2212
split-complementary
#173D12 #22123D #3D122C
monochromatic
#091807 #091807 #173D12 #296C20 #3B9C2E

Accessibility & contrast

On white

12.26
#173D12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #173D12
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173D12#FFFFFF#000000##FFFFFF
##173D121.0012.261.7112.26
#FFFFFF12.261.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F370D
Deuteranopia (green-blind)
#3A3416
Tritanopia (blue-blind)
#123B34
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #173d12;
/* rgb */ color: rgb(23, 61, 18);
/* oklch */ color: oklch(32.1% 0.082 141.4);
Tailwind
colors: {
  custom: {
    50: '#597352',
    500: '#173d12',
    950: '#000000',
  },
}
SCSS
$custom: #173d12;
$custom-light: #597352;
$custom-dark: #000000;
JSON
{
  "hex": "#173d12",
  "rgb": {
    "r": 23,
    "g": 61,
    "b": 18
  },
  "hsl": {
    "h": 113.023,
    "s": 54.43,
    "l": 15.49
  },
  "oklch": {
    "l": 0.32118,
    "c": 0.08224,
    "h": 141.4
  },
  "luminance": 0.03563
}

Semantic roles & 50–950 ramp

primary
#173D12
secondary
#6E3576
accent
#4ADECD
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040802
muted
#797B78

Preview Lab

Preview with #173D12

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

Preview Lab → · Contrast checker → · Palette generator →

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