#173C06#173C06

#173C06 is a dark, moderate green. Relative luminance 0.034; OKLCH L 31.7% C 0.091 H 138.0°. Best body text is #FFFFFF at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#173C06
RGBrgb(23, 60, 6)
HSLhsl(101, 82%, 13%)
HSVhsv(101, 90%, 24%)
CMYKcmyk(61.7%, 0%, 90%, 76.5%)
CIE-LABlab(21.68, -24.32, 26.96)
CIE-LCHlch(21.68, 36.31, 132.05°)
OKLaboklab(31.68% -0.0673 0.0605)
OKLCHoklch(31.68% 0.091 138)
XYZxyz(2.0020, 3.4269, 0.7282)
Luminance0.0343 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173C06 #2B063C
analogous
#323C06 #173C06 #063C10
triadic
#173C06 #06173C #3C0617
tetradic
#173C06 #06323C #2B063C #3C1006
square
#173C06 #06323C #2B063C #3C1006
split-complementary
#173C06 #10063C #3C0632
monochromatic
#0B1C03 #0B1C03 #173C06 #2C740C #42AB11

Accessibility & contrast

On white

12.46
#173C06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#173C06 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173C06
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173C06#FFFFFF#000000##FFFFFF
##173C061.0012.461.6912.46
#FFFFFF12.461.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3600
Deuteranopia (green-blind)
#3A330C
Tritanopia (blue-blind)
#143A32
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #173c06;
/* rgb */ color: rgb(23, 60, 6);
/* oklch */ color: oklch(31.7% 0.091 138.0);
Tailwind
colors: {
  custom: {
    50: '#59724b',
    500: '#173c06',
    950: '#000000',
  },
}
SCSS
$custom: #173c06;
$custom-light: #59724b;
$custom-dark: #000000;
JSON
{
  "hex": "#173c06",
  "rgb": {
    "r": 23,
    "g": 60,
    "b": 6
  },
  "hsl": {
    "h": 101.111,
    "s": 81.818,
    "l": 12.941
  },
  "oklch": {
    "l": 0.31677,
    "c": 0.09053,
    "h": 138
  },
  "luminance": 0.03427
}

Semantic roles & 50–950 ramp

primary
#173C06
secondary
#60227C
accent
#30F8B9
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#040801
muted
#797B77

Preview Lab

Preview with #173C06

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

Preview Lab → · Contrast checker → · Palette generator →

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