#173C12#173C12

#173C12 is a dark, moderate green. Relative luminance 0.035; OKLCH L 31.8% C 0.081 H 141.4°. Best body text is #FFFFFF at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#173C12
RGBrgb(23, 60, 18)
HSLhsl(113, 54%, 15%)
HSVhsv(113, 70%, 24%)
CMYKcmyk(61.7%, 0%, 70%, 76.5%)
CIE-LABlab(21.79, -23.07, 21.53)
CIE-LCHlch(21.79, 31.56, 136.98°)
OKLaboklab(31.8% -0.063 0.0504)
OKLCHoklch(31.8% 0.081 141.4)
XYZxyz(2.0783, 3.4574, 1.1300)
Luminance0.0346 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173C12 #37123C
analogous
#2C3C12 #173C12 #123C22
triadic
#173C12 #12173C #3C1217
tetradic
#173C12 #122C3C #37123C #3C2212
square
#173C12 #122C3C #37123C #3C2212
split-complementary
#173C12 #22123C #3C122C
monochromatic
#091807 #091807 #173C12 #296B20 #3B9A2E

Accessibility & contrast

On white

12.41
#173C12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #173C12
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173C12#FFFFFF#000000##FFFFFF
##173C121.0012.411.6912.41
#FFFFFF12.411.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E360D
Deuteranopia (green-blind)
#393315
Tritanopia (blue-blind)
#123A33
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #173c12;
/* rgb */ color: rgb(23, 60, 18);
/* oklch */ color: oklch(31.8% 0.081 141.4);
Tailwind
colors: {
  custom: {
    50: '#587251',
    500: '#173c12',
    950: '#000000',
  },
}
SCSS
$custom: #173c12;
$custom-light: #587251;
$custom-dark: #000000;
JSON
{
  "hex": "#173c12",
  "rgb": {
    "r": 23,
    "g": 60,
    "b": 18
  },
  "hsl": {
    "h": 112.857,
    "s": 53.846,
    "l": 15.294
  },
  "oklch": {
    "l": 0.31804,
    "c": 0.08067,
    "h": 141.4
  },
  "luminance": 0.03458
}

Semantic roles & 50–950 ramp

primary
#173C12
secondary
#6D3575
accent
#4BDDCC
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#040802
muted
#797B78

Preview Lab

Preview with #173C12

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

Preview Lab → · Contrast checker → · Palette generator →

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