#173D0F#173D0F

#173D0F is a dark, moderate green. Relative luminance 0.036; OKLCH L 32.1% C 0.085 H 140.4°. Best body text is #FFFFFF at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#173D0F
RGBrgb(23, 61, 15)
HSLhsl(110, 61%, 15%)
HSVhsv(110, 75%, 24%)
CMYKcmyk(62.3%, 0%, 75.4%, 76.1%)
CIE-LABlab(22.14, -23.91, 23.50)
CIE-LCHlch(22.14, 33.52, 135.49°)
OKLaboklab(32.08% -0.0655 0.0542)
OKLCHoklch(32.08% 0.085 140.4)
XYZxyz(2.1082, 3.5540, 1.0267)
Luminance0.0355 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173D0F #350F3D
analogous
#2E3D0F #173D0F #0F3D1E
triadic
#173D0F #0F173D #3D0F17
tetradic
#173D0F #0F2E3D #350F3D #3D1E0F
square
#173D0F #0F2E3D #350F3D #3D1E0F
split-complementary
#173D0F #1E0F3D #3D0F2E
monochromatic
#091906 #091906 #173D0F #2A6E1B #3C9F27

Accessibility & contrast

On white

12.27
#173D0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#173D0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173D0F
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173D0F#FFFFFF#000000##FFFFFF
##173D0F1.0012.271.7112.27
#FFFFFF12.271.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3709
Deuteranopia (green-blind)
#3A3413
Tritanopia (blue-blind)
#133B34
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #173d0f;
/* rgb */ color: rgb(23, 61, 15);
/* oklch */ color: oklch(32.1% 0.085 140.4);
Tailwind
colors: {
  custom: {
    50: '#597350',
    500: '#173d0f',
    950: '#000000',
  },
}
SCSS
$custom: #173d0f;
$custom-light: #597350;
$custom-dark: #000000;
JSON
{
  "hex": "#173d0f",
  "rgb": {
    "r": 23,
    "g": 61,
    "b": 15
  },
  "hsl": {
    "h": 109.565,
    "s": 60.526,
    "l": 14.902
  },
  "oklch": {
    "l": 0.32081,
    "c": 0.085,
    "h": 140.4
  },
  "luminance": 0.03554
}

Semantic roles & 50–950 ramp

primary
#173D0F
secondary
#6B3077
accent
#44E4C8
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040802
muted
#797B78

Preview Lab

Preview with #173D0F

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

Preview Lab → · Contrast checker → · Palette generator →

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