#173A1D#173A1D

#173A1D is a dark, moderate green. Relative luminance 0.033; OKLCH L 31.4% C 0.065 H 147.5°. Best body text is #FFFFFF at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#173A1D
RGBrgb(23, 58, 29)
HSLhsl(130, 43%, 16%)
HSVhsv(130, 60%, 23%)
CMYKcmyk(60.3%, 0%, 50%, 77.3%)
CIE-LABlab(21.20, -20.29, 14.26)
CIE-LCHlch(21.20, 24.80, 144.91°)
OKLaboklab(31.37% -0.055 0.0351)
OKLCHoklch(31.37% 0.065 147.5)
XYZxyz(2.0880, 3.2968, 1.6885)
Luminance0.0330 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173A1D #3A1734
analogous
#223A17 #173A1D #173A2E
triadic
#173A1D #1D173A #3A1D17
tetradic
#173A1D #17223A #3A1734 #3A2E17
square
#173A1D #17223A #3A1734 #3A2E17
split-complementary
#173A1D #2E173A #3A1722
monochromatic
#09160B #09160B #173A1D #286633 #3A9249

Accessibility & contrast

On white

12.66
#173A1D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#173A1D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173A1D
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173A1D#FFFFFF#000000##FFFFFF
##173A1D1.0012.661.6612.66
#FFFFFF12.661.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B351B
Deuteranopia (green-blind)
#36321F
Tritanopia (blue-blind)
#103933
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #173a1d;
/* rgb */ color: rgb(23, 58, 29);
/* oklch */ color: oklch(31.4% 0.065 147.5);
Tailwind
colors: {
  custom: {
    50: '#577059',
    500: '#173a1d',
    950: '#000000',
  },
}
SCSS
$custom: #173a1d;
$custom-light: #577059;
$custom-dark: #000000;
JSON
{
  "hex": "#173a1d",
  "rgb": {
    "r": 23,
    "g": 58,
    "b": 29
  },
  "hsl": {
    "h": 130.286,
    "s": 43.21,
    "l": 15.882
  },
  "oklch": {
    "l": 0.3137,
    "c": 0.06526,
    "h": 147.5
  },
  "luminance": 0.03297
}

Semantic roles & 50–950 ramp

primary
#173A1D
secondary
#713C68
accent
#55BDD3
background
#F5F6F5
surface
#E9ECE9
border
#C5C7C5
text
#030703
muted
#787A78

Preview Lab

Preview with #173A1D

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

Preview Lab → · Contrast checker → · Palette generator →

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