#173A0D#173A0D

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

Color values

HEX#173A0D
RGBrgb(23, 58, 13)
HSLhsl(107, 63%, 14%)
HSVhsv(107, 78%, 23%)
CMYKcmyk(60.3%, 0%, 77.6%, 77.3%)
CIE-LABlab(20.97, -22.73, 23.23)
CIE-LCHlch(20.97, 32.50, 134.38°)
OKLaboklab(31.11% -0.0625 0.0534)
OKLCHoklch(31.11% 0.082 139.5)
XYZxyz(1.9390, 3.2372, 0.9034)
Luminance0.0324 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173A0D #300D3A
analogous
#2E3A0D #173A0D #0D3A1A
triadic
#173A0D #0D173A #3A0D17
tetradic
#173A0D #0D2E3A #300D3A #3A1A0D
square
#173A0D #0D2E3A #300D3A #3A1A0D
split-complementary
#173A0D #1A0D3A #3A0D2E
monochromatic
#0A1906 #0A1906 #173A0D #2B6C18 #3F9E23

Accessibility & contrast

On white

12.75
#173A0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #173A0D
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173A0D#FFFFFF#000000##FFFFFF
##173A0D1.0012.751.6512.75
#FFFFFF12.751.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3407
Deuteranopia (green-blind)
#373111
Tritanopia (blue-blind)
#143831
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #173a0d;
/* rgb */ color: rgb(23, 58, 13);
/* oklch */ color: oklch(31.1% 0.082 139.5);
Tailwind
colors: {
  custom: {
    50: '#58704e',
    500: '#173a0d',
    950: '#000000',
  },
}
SCSS
$custom: #173a0d;
$custom-light: #58704e;
$custom-dark: #000000;
JSON
{
  "hex": "#173a0d",
  "rgb": {
    "r": 23,
    "g": 58,
    "b": 13
  },
  "hsl": {
    "h": 106.667,
    "s": 63.38,
    "l": 13.922
  },
  "oklch": {
    "l": 0.31112,
    "c": 0.08216,
    "h": 139.5
  },
  "luminance": 0.03237
}

Semantic roles & 50–950 ramp

primary
#173A0D
secondary
#652D76
accent
#41E6C2
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#040702
muted
#797A78

Preview Lab

Preview with #173A0D

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

Preview Lab → · Contrast checker → · Palette generator →

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