#173F09#173F09

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

Color values

HEX#173F09
RGBrgb(23, 63, 9)
HSLhsl(104, 75%, 14%)
HSVhsv(104, 86%, 25%)
CMYKcmyk(63.5%, 0%, 85.7%, 75.3%)
CIE-LABlab(22.85, -25.39, 26.97)
CIE-LCHlch(22.85, 37.05, 133.27°)
OKLaboklab(32.65% -0.0699 0.0606)
OKLCHoklch(32.65% 0.093 139.1)
XYZxyz(2.1801, 3.7567, 0.8686)
Luminance0.0376 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173F09 #31093F
analogous
#323F09 #173F09 #093F16
triadic
#173F09 #09173F #3F0917
tetradic
#173F09 #09323F #31093F #3F1609
square
#173F09 #09323F #31093F #3F1609
split-complementary
#173F09 #16093F #3F0932
monochromatic
#0A1B04 #0A1B04 #173F09 #2B7511 #3EAA18

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##173F09#FFFFFF#000000##FFFFFF
##173F091.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)
#413901
Deuteranopia (green-blind)
#3C350F
Tritanopia (blue-blind)
#133D35
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #173f09;
/* rgb */ color: rgb(23, 63, 9);
/* oklch */ color: oklch(32.7% 0.093 139.1);
Tailwind
colors: {
  custom: {
    50: '#5a744d',
    500: '#173f09',
    950: '#000000',
  },
}
SCSS
$custom: #173f09;
$custom-light: #5a744d;
$custom-dark: #000000;
JSON
{
  "hex": "#173f09",
  "rgb": {
    "r": 23,
    "g": 63,
    "b": 9
  },
  "hsl": {
    "h": 104.444,
    "s": 75,
    "l": 14.118
  },
  "oklch": {
    "l": 0.32651,
    "c": 0.09256,
    "h": 139.1
  },
  "luminance": 0.03757
}

Semantic roles & 50–950 ramp

primary
#173F09
secondary
#67277D
accent
#36F2C1
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040801
muted
#797B77

Preview Lab

Preview with #173F09

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

Preview Lab → · Contrast checker → · Palette generator →

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