#173F0A#173F0A

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

Color values

HEX#173F0A
RGBrgb(23, 63, 10)
HSLhsl(105, 73%, 14%)
HSVhsv(105, 84%, 25%)
CMYKcmyk(63.5%, 0%, 84.1%, 75.3%)
CIE-LABlab(22.86, -25.31, 26.57)
CIE-LCHlch(22.86, 36.70, 133.60°)
OKLaboklab(32.66% -0.0696 0.0599)
OKLCHoklch(32.66% 0.092 139.3)
XYZxyz(2.1856, 3.7589, 0.8975)
Luminance0.0376 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173F0A #320A3F
analogous
#323F0A #173F0A #0A3F18
triadic
#173F0A #0A173F #3F0A17
tetradic
#173F0A #0A323F #320A3F #3F180A
square
#173F0A #0A323F #320A3F #3F180A
split-complementary
#173F0A #180A3F #3F0A32
monochromatic
#0A1A04 #0A1A04 #173F0A #2A7412 #3EA91B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #173f0a;
/* rgb */ color: rgb(23, 63, 10);
/* oklch */ color: oklch(32.7% 0.092 139.3);
Tailwind
colors: {
  custom: {
    50: '#5a744d',
    500: '#173f0a',
    950: '#000000',
  },
}
SCSS
$custom: #173f0a;
$custom-light: #5a744d;
$custom-dark: #000000;
JSON
{
  "hex": "#173f0a",
  "rgb": {
    "r": 23,
    "g": 63,
    "b": 10
  },
  "hsl": {
    "h": 105.283,
    "s": 72.603,
    "l": 14.314
  },
  "oklch": {
    "l": 0.32659,
    "c": 0.09186,
    "h": 139.3
  },
  "luminance": 0.03759
}

Semantic roles & 50–950 ramp

primary
#173F0A
secondary
#68297C
accent
#38EFC2
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040801
muted
#797B77

Preview Lab

Preview with #173F0A

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

Preview Lab → · Contrast checker → · Palette generator →

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