#173F06#173F06

#173F06 is a dark, moderate green. Relative luminance 0.037; OKLCH L 32.6% C 0.095 H 138.5°. Best body text is #FFFFFF at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#173F06
RGBrgb(23, 63, 6)
HSLhsl(102, 83%, 14%)
HSVhsv(102, 90%, 25%)
CMYKcmyk(63.5%, 0%, 90.5%, 75.3%)
CIE-LABlab(22.83, -25.66, 28.17)
CIE-LCHlch(22.83, 38.10, 132.32°)
OKLaboklab(32.63% -0.0709 0.0628)
OKLCHoklch(32.63% 0.095 138.5)
XYZxyz(2.1636, 3.7501, 0.7821)
Luminance0.0375 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173F06 #2E063F
analogous
#333F06 #173F06 #063F11
triadic
#173F06 #06173F #3F0617
tetradic
#173F06 #06333F #2E063F #3F1106
square
#173F06 #06333F #2E063F #3F1106
split-complementary
#173F06 #11063F #3F0633
monochromatic
#0A1C03 #0A1C03 #173F06 #2B770B #40AF11

Accessibility & contrast

On white

12.00
#173F06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #173F06
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173F06#FFFFFF#000000##FFFFFF
##173F061.0012.001.7512.00
#FFFFFF12.001.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413900
Deuteranopia (green-blind)
#3C350C
Tritanopia (blue-blind)
#133C34
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #173f06;
/* rgb */ color: rgb(23, 63, 6);
/* oklch */ color: oklch(32.6% 0.095 138.5);
Tailwind
colors: {
  custom: {
    50: '#5a744b',
    500: '#173f06',
    950: '#000000',
  },
}
SCSS
$custom: #173f06;
$custom-light: #5a744b;
$custom-dark: #000000;
JSON
{
  "hex": "#173f06",
  "rgb": {
    "r": 23,
    "g": 63,
    "b": 6
  },
  "hsl": {
    "h": 102.105,
    "s": 82.609,
    "l": 13.529
  },
  "oklch": {
    "l": 0.32625,
    "c": 0.0947,
    "h": 138.5
  },
  "luminance": 0.0375
}

Semantic roles & 50–950 ramp

primary
#173F06
secondary
#63227F
accent
#2FF9BD
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040801
muted
#797B77

Preview Lab

Preview with #173F06

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

Preview Lab → · Contrast checker → · Palette generator →

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