#173F0D#173F0D

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

Color values

HEX#173F0D
RGBrgb(23, 63, 13)
HSLhsl(108, 66%, 15%)
HSVhsv(108, 79%, 25%)
CMYKcmyk(63.5%, 0%, 79.4%, 75.3%)
CIE-LABlab(22.88, -25.03, 25.27)
CIE-LCHlch(22.88, 35.57, 134.72°)
OKLaboklab(32.69% -0.0687 0.0576)
OKLCHoklch(32.69% 0.09 140)
XYZxyz(2.2034, 3.7660, 0.9915)
Luminance0.0377 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173F0D #350D3F
analogous
#303F0D #173F0D #0D3F1C
triadic
#173F0D #0D173F #3F0D17
tetradic
#173F0D #0D303F #350D3F #3F1C0D
square
#173F0D #0D303F #350D3F #3F1C0D
split-complementary
#173F0D #1C0D3F #3F0D30
monochromatic
#091905 #091905 #173F0D #2A7217 #3CA422

Accessibility & contrast

On white

11.98
#173F0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#173F0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173F0D
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173F0D#FFFFFF#000000##FFFFFF
##173F0D1.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413906
Deuteranopia (green-blind)
#3C3512
Tritanopia (blue-blind)
#123D35
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #173f0d;
/* rgb */ color: rgb(23, 63, 13);
/* oklch */ color: oklch(32.7% 0.090 140.0);
Tailwind
colors: {
  custom: {
    50: '#59744f',
    500: '#173f0d',
    950: '#000000',
  },
}
SCSS
$custom: #173f0d;
$custom-light: #59744f;
$custom-dark: #000000;
JSON
{
  "hex": "#173f0d",
  "rgb": {
    "r": 23,
    "g": 63,
    "b": 13
  },
  "hsl": {
    "h": 108,
    "s": 65.789,
    "l": 14.902
  },
  "oklch": {
    "l": 0.32688,
    "c": 0.08964,
    "h": 140
  },
  "luminance": 0.03766
}

Semantic roles & 50–950 ramp

primary
#173F0D
secondary
#6B2D7B
accent
#3FE9C7
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040802
muted
#797B78

Preview Lab

Preview with #173F0D

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

Preview Lab → · Contrast checker → · Palette generator →

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