#173F08#173F08

#173F08 is a dark, moderate green. Relative luminance 0.038; OKLCH L 32.6% C 0.093 H 138.9°. Best body text is #FFFFFF at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#173F08
RGBrgb(23, 63, 8)
HSLhsl(104, 77%, 14%)
HSVhsv(104, 87%, 25%)
CMYKcmyk(63.5%, 0%, 87.3%, 75.3%)
CIE-LABlab(22.84, -25.48, 27.37)
CIE-LCHlch(22.84, 37.40, 132.95°)
OKLaboklab(32.64% -0.0703 0.0613)
OKLCHoklch(32.64% 0.093 138.9)
XYZxyz(2.1746, 3.7545, 0.8398)
Luminance0.0376 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173F08 #30083F
analogous
#333F08 #173F08 #083F15
triadic
#173F08 #08173F #3F0817
tetradic
#173F08 #08333F #30083F #3F1508
square
#173F08 #08333F #30083F #3F1508
split-complementary
#173F08 #15083F #3F0833
monochromatic
#0A1B03 #0A1B03 #173F08 #2B750F #3FAC16

Accessibility & contrast

On white

11.99
#173F08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #173F08
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173F08#FFFFFF#000000##FFFFFF
##173F081.0011.991.7511.99
#FFFFFF11.991.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413900
Deuteranopia (green-blind)
#3C350E
Tritanopia (blue-blind)
#133D35
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #173f08;
/* rgb */ color: rgb(23, 63, 8);
/* oklch */ color: oklch(32.6% 0.093 138.9);
Tailwind
colors: {
  custom: {
    50: '#5a744c',
    500: '#173f08',
    950: '#000000',
  },
}
SCSS
$custom: #173f08;
$custom-light: #5a744c;
$custom-dark: #000000;
JSON
{
  "hex": "#173f08",
  "rgb": {
    "r": 23,
    "g": 63,
    "b": 8
  },
  "hsl": {
    "h": 103.636,
    "s": 77.465,
    "l": 13.922
  },
  "oklch": {
    "l": 0.32642,
    "c": 0.09327,
    "h": 138.9
  },
  "luminance": 0.03755
}

Semantic roles & 50–950 ramp

primary
#173F08
secondary
#65257E
accent
#34F4C0
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040801
muted
#797B77

Preview Lab

Preview with #173F08

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

Preview Lab → · Contrast checker → · Palette generator →

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