#173D06#173D06

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

Color values

HEX#173D06
RGBrgb(23, 61, 6)
HSLhsl(101, 82%, 13%)
HSVhsv(101, 90%, 24%)
CMYKcmyk(62.3%, 0%, 90.2%, 76.1%)
CIE-LABlab(22.06, -24.77, 27.37)
CIE-LCHlch(22.06, 36.91, 132.14°)
OKLaboklab(31.99% -0.0685 0.0613)
OKLCHoklch(31.99% 0.092 138.2)
XYZxyz(2.0549, 3.5326, 0.7458)
Luminance0.0353 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173D06 #2C063D
analogous
#323D06 #173D06 #063D11
triadic
#173D06 #06173D #3D0617
tetradic
#173D06 #06323D #2C063D #3D1106
square
#173D06 #06323D #2C063D #3D1106
split-complementary
#173D06 #11063D #3D0632
monochromatic
#0B1C03 #0B1C03 #173D06 #2C750B #41AC11

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##173D06#FFFFFF#000000##FFFFFF
##173D061.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)
#3F3700
Deuteranopia (green-blind)
#3A340C
Tritanopia (blue-blind)
#143B33
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #173d06;
/* rgb */ color: rgb(23, 61, 6);
/* oklch */ color: oklch(32.0% 0.092 138.2);
Tailwind
colors: {
  custom: {
    50: '#59734b',
    500: '#173d06',
    950: '#000000',
  },
}
SCSS
$custom: #173d06;
$custom-light: #59734b;
$custom-dark: #000000;
JSON
{
  "hex": "#173d06",
  "rgb": {
    "r": 23,
    "g": 61,
    "b": 6
  },
  "hsl": {
    "h": 101.455,
    "s": 82.09,
    "l": 13.137
  },
  "oklch": {
    "l": 0.31993,
    "c": 0.09193,
    "h": 138.2
  },
  "luminance": 0.03533
}

Semantic roles & 50–950 ramp

primary
#173D06
secondary
#61227D
accent
#2FF8BA
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040801
muted
#797B77

Preview Lab

Preview with #173D06

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

Preview Lab → · Contrast checker → · Palette generator →

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