#173A06#173A06

#173A06 is a dark, moderate green. Relative luminance 0.032; OKLCH L 31.0% C 0.088 H 137.7°. Best body text is #FFFFFF at 12.77:1 contrast (WCAG AA passes).

Color values

HEX#173A06
RGBrgb(23, 58, 6)
HSLhsl(100, 81%, 13%)
HSVhsv(100, 90%, 23%)
CMYKcmyk(60.3%, 0%, 89.7%, 77.3%)
CIE-LABlab(20.91, -23.41, 26.13)
CIE-LCHlch(20.91, 35.08, 131.87°)
OKLaboklab(31.04% -0.0649 0.059)
OKLCHoklch(31.04% 0.088 137.7)
XYZxyz(1.8992, 3.2213, 0.6939)
Luminance0.0322 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173A06 #29063A
analogous
#313A06 #173A06 #063A0F
triadic
#173A06 #06173A #3A0617
tetradic
#173A06 #06313A #29063A #3A0F06
square
#173A06 #06313A #29063A #3A0F06
split-complementary
#173A06 #0F063A #3A0631
monochromatic
#0B1C03 #0B1C03 #173A06 #2D710C #43A911

Accessibility & contrast

On white

12.77
#173A06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#173A06 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173A06
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173A06#FFFFFF#000000##FFFFFF
##173A061.0012.771.6412.77
#FFFFFF12.771.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3400
Deuteranopia (green-blind)
#38310B
Tritanopia (blue-blind)
#143830
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #173a06;
/* rgb */ color: rgb(23, 58, 6);
/* oklch */ color: oklch(31.0% 0.088 137.7);
Tailwind
colors: {
  custom: {
    50: '#59704b',
    500: '#173a06',
    950: '#000000',
  },
}
SCSS
$custom: #173a06;
$custom-light: #59704b;
$custom-dark: #000000;
JSON
{
  "hex": "#173a06",
  "rgb": {
    "r": 23,
    "g": 58,
    "b": 6
  },
  "hsl": {
    "h": 100.385,
    "s": 81.25,
    "l": 12.549
  },
  "oklch": {
    "l": 0.31043,
    "c": 0.08771,
    "h": 137.7
  },
  "luminance": 0.03221
}

Semantic roles & 50–950 ramp

primary
#173A06
secondary
#5D227A
accent
#30F8B6
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#040701
muted
#797A77

Preview Lab

Preview with #173A06

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

Preview Lab → · Contrast checker → · Palette generator →

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