#173A0A#173A0A

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

Color values

HEX#173A0A
RGBrgb(23, 58, 10)
HSLhsl(104, 71%, 13%)
HSVhsv(104, 83%, 23%)
CMYKcmyk(60.3%, 0%, 82.8%, 77.3%)
CIE-LABlab(20.94, -23.04, 24.53)
CIE-LCHlch(20.94, 33.65, 133.20°)
OKLaboklab(31.08% -0.0635 0.0559)
OKLCHoklch(31.08% 0.085 138.7)
XYZxyz(1.9211, 3.2300, 0.8093)
Luminance0.0323 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173A0A #2D0A3A
analogous
#2F3A0A #173A0A #0A3A15
triadic
#173A0A #0A173A #3A0A17
tetradic
#173A0A #0A2F3A #2D0A3A #3A150A
square
#173A0A #0A2F3A #2D0A3A #3A150A
split-complementary
#173A0A #150A3A #3A0A2F
monochromatic
#0A1A05 #0A1A05 #173A0A #2C6E13 #40A21C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##173A0A#FFFFFF#000000##FFFFFF
##173A0A1.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)
#3C3404
Deuteranopia (green-blind)
#37310F
Tritanopia (blue-blind)
#143831
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #173a0a;
/* rgb */ color: rgb(23, 58, 10);
/* oklch */ color: oklch(31.1% 0.085 138.7);
Tailwind
colors: {
  custom: {
    50: '#58704c',
    500: '#173a0a',
    950: '#000000',
  },
}
SCSS
$custom: #173a0a;
$custom-light: #58704c;
$custom-dark: #000000;
JSON
{
  "hex": "#173a0a",
  "rgb": {
    "r": 23,
    "g": 58,
    "b": 10
  },
  "hsl": {
    "h": 103.75,
    "s": 70.588,
    "l": 13.333
  },
  "oklch": {
    "l": 0.31081,
    "c": 0.08458,
    "h": 138.7
  },
  "luminance": 0.0323
}

Semantic roles & 50–950 ramp

primary
#173A0A
secondary
#622877
accent
#3AEDBD
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#040701
muted
#797A77

Preview Lab

Preview with #173A0A

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

Preview Lab → · Contrast checker → · Palette generator →

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