#173A09#173A09

#173A09 is a dark, moderate green. Relative luminance 0.032; OKLCH L 31.1% C 0.085 H 138.4°. Best body text is #FFFFFF at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#173A09
RGBrgb(23, 58, 9)
HSLhsl(103, 73%, 13%)
HSVhsv(103, 84%, 23%)
CMYKcmyk(60.3%, 0%, 84.5%, 77.3%)
CIE-LABlab(20.93, -23.13, 24.93)
CIE-LCHlch(20.93, 34.01, 132.86°)
OKLaboklab(31.07% -0.0638 0.0566)
OKLCHoklch(31.07% 0.085 138.4)
XYZxyz(1.9156, 3.2278, 0.7805)
Luminance0.0323 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173A09 #2C093A
analogous
#2F3A09 #173A09 #093A13
triadic
#173A09 #09173A #3A0917
tetradic
#173A09 #092F3A #2C093A #3A1309
square
#173A09 #092F3A #2C093A #3A1309
split-complementary
#173A09 #13093A #3A092F
monochromatic
#0B1A04 #0B1A04 #173A09 #2C6F11 #41A419

Accessibility & contrast

On white

12.76
#173A09 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#173A09 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173A09
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173A09#FFFFFF#000000##FFFFFF
##173A091.0012.761.6512.76
#FFFFFF12.761.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3403
Deuteranopia (green-blind)
#38310E
Tritanopia (blue-blind)
#143830
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #173a09;
/* rgb */ color: rgb(23, 58, 9);
/* oklch */ color: oklch(31.1% 0.085 138.4);
Tailwind
colors: {
  custom: {
    50: '#59704c',
    500: '#173a09',
    950: '#000000',
  },
}
SCSS
$custom: #173a09;
$custom-light: #59704c;
$custom-dark: #000000;
JSON
{
  "hex": "#173a09",
  "rgb": {
    "r": 23,
    "g": 58,
    "b": 9
  },
  "hsl": {
    "h": 102.857,
    "s": 73.134,
    "l": 13.137
  },
  "oklch": {
    "l": 0.31071,
    "c": 0.08535,
    "h": 138.4
  },
  "luminance": 0.03228
}

Semantic roles & 50–950 ramp

primary
#173A09
secondary
#612778
accent
#38F0BB
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#040701
muted
#797A77

Preview Lab

Preview with #173A09

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

Preview Lab → · Contrast checker → · Palette generator →

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