#173C05#173C05

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

Color values

HEX#173C05
RGBrgb(23, 60, 5)
HSLhsl(100, 85%, 13%)
HSVhsv(100, 92%, 24%)
CMYKcmyk(61.7%, 0%, 91.7%, 76.5%)
CIE-LABlab(21.67, -24.41, 27.36)
CIE-LCHlch(21.67, 36.67, 131.74°)
OKLaboklab(31.67% -0.0676 0.0613)
OKLCHoklch(31.67% 0.091 137.8)
XYZxyz(1.9965, 3.4247, 0.6994)
Luminance0.0343 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173C05 #2A053C
analogous
#323C05 #173C05 #053C0F
triadic
#173C05 #05173C #3C0517
tetradic
#173C05 #05323C #2A053C #3C0F05
square
#173C05 #05323C #2A053C #3C0F05
split-complementary
#173C05 #0F053C #3C0532
monochromatic
#0B1C02 #0B1C02 #173C05 #2D740A #42AD0E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##173C05#FFFFFF#000000##FFFFFF
##173C051.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)
#3A330B
Tritanopia (blue-blind)
#143A32
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #173c05;
/* rgb */ color: rgb(23, 60, 5);
/* oklch */ color: oklch(31.7% 0.091 137.8);
Tailwind
colors: {
  custom: {
    50: '#59724a',
    500: '#173c05',
    950: '#000000',
  },
}
SCSS
$custom: #173c05;
$custom-light: #59724a;
$custom-dark: #000000;
JSON
{
  "hex": "#173c05",
  "rgb": {
    "r": 23,
    "g": 60,
    "b": 5
  },
  "hsl": {
    "h": 100.364,
    "s": 84.615,
    "l": 12.745
  },
  "oklch": {
    "l": 0.31667,
    "c": 0.09131,
    "h": 137.8
  },
  "luminance": 0.03425
}

Semantic roles & 50–950 ramp

primary
#173C05
secondary
#5E207D
accent
#2DFBB7
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#040801
muted
#797B77

Preview Lab

Preview with #173C05

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

Preview Lab → · Contrast checker → · Palette generator →

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