#173F12#173F12

#173F12 is a dark, moderate green. Relative luminance 0.038; OKLCH L 32.7% C 0.085 H 141.5°. Best body text is #FFFFFF at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#173F12
RGBrgb(23, 63, 18)
HSLhsl(113, 56%, 16%)
HSVhsv(113, 71%, 25%)
CMYKcmyk(63.5%, 0%, 71.4%, 75.3%)
CIE-LABlab(22.93, -24.46, 22.82)
CIE-LCHlch(22.93, 33.45, 136.99°)
OKLaboklab(32.75% -0.0668 0.0531)
OKLCHoklch(32.75% 0.085 141.5)
XYZxyz(2.2399, 3.7807, 1.1839)
Luminance0.0378 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173F12 #3A123F
analogous
#2D3F12 #173F12 #123F23
triadic
#173F12 #12173F #3F1217
tetradic
#173F12 #122D3F #3A123F #3F2312
square
#173F12 #122D3F #3A123F #3F2312
split-complementary
#173F12 #23123F #3F122D
monochromatic
#091807 #091807 #173F12 #286F20 #3A9E2D

Accessibility & contrast

On white

11.96
#173F12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#173F12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173F12
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173F12#FFFFFF#000000##FFFFFF
##173F121.0011.961.7611.96
#FFFFFF11.961.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41390D
Deuteranopia (green-blind)
#3C3516
Tritanopia (blue-blind)
#123D36
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #173f12;
/* rgb */ color: rgb(23, 63, 18);
/* oklch */ color: oklch(32.7% 0.085 141.5);
Tailwind
colors: {
  custom: {
    50: '#597452',
    500: '#173f12',
    950: '#000000',
  },
}
SCSS
$custom: #173f12;
$custom-light: #597452;
$custom-dark: #000000;
JSON
{
  "hex": "#173f12",
  "rgb": {
    "r": 23,
    "g": 63,
    "b": 18
  },
  "hsl": {
    "h": 113.333,
    "s": 55.556,
    "l": 15.882
  },
  "oklch": {
    "l": 0.32745,
    "c": 0.08534,
    "h": 141.5
  },
  "luminance": 0.03781
}

Semantic roles & 50–950 ramp

primary
#173F12
secondary
#713578
accent
#49DFCE
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040802
muted
#797B78

Preview Lab

Preview with #173F12

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

Preview Lab → · Contrast checker → · Palette generator →

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