#173A0F#173A0F

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

Color values

HEX#173A0F
RGBrgb(23, 58, 15)
HSLhsl(109, 59%, 14%)
HSVhsv(109, 74%, 23%)
CMYKcmyk(60.3%, 0%, 74.1%, 77.3%)
CIE-LABlab(20.99, -22.50, 22.25)
CIE-LCHlch(20.99, 31.65, 135.33°)
OKLaboklab(31.14% -0.0617 0.0515)
OKLCHoklch(31.14% 0.08 140.1)
XYZxyz(1.9525, 3.2426, 0.9748)
Luminance0.0324 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173A0F #320F3A
analogous
#2D3A0F #173A0F #0F3A1D
triadic
#173A0F #0F173A #3A0F17
tetradic
#173A0F #0F2D3A #320F3A #3A1D0F
square
#173A0F #0F2D3A #320F3A #3A1D0F
split-complementary
#173A0F #1D0F3A #3A0F2D
monochromatic
#0A1806 #0A1806 #173A0F #2A6B1C #3E9B28

Accessibility & contrast

On white

12.74
#173A0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #173A0F
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173A0F#FFFFFF#000000##FFFFFF
##173A0F1.0012.741.6512.74
#FFFFFF12.741.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C340A
Deuteranopia (green-blind)
#373113
Tritanopia (blue-blind)
#133831
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #173a0f;
/* rgb */ color: rgb(23, 58, 15);
/* oklch */ color: oklch(31.1% 0.080 140.1);
Tailwind
colors: {
  custom: {
    50: '#58704f',
    500: '#173a0f',
    950: '#000000',
  },
}
SCSS
$custom: #173a0f;
$custom-light: #58704f;
$custom-dark: #000000;
JSON
{
  "hex": "#173a0f",
  "rgb": {
    "r": 23,
    "g": 58,
    "b": 15
  },
  "hsl": {
    "h": 108.837,
    "s": 58.904,
    "l": 14.314
  },
  "oklch": {
    "l": 0.31136,
    "c": 0.08038,
    "h": 140.1
  },
  "luminance": 0.03243
}

Semantic roles & 50–950 ramp

primary
#173A0F
secondary
#683074
accent
#46E2C5
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#030702
muted
#787A78

Preview Lab

Preview with #173A0F

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

Preview Lab → · Contrast checker → · Palette generator →

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