#173A0B#173A0B

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

Color values

HEX#173A0B
RGBrgb(23, 58, 11)
HSLhsl(105, 68%, 14%)
HSVhsv(105, 81%, 23%)
CMYKcmyk(60.3%, 0%, 81%, 77.3%)
CIE-LABlab(20.95, -22.94, 24.12)
CIE-LCHlch(20.95, 33.29, 133.56°)
OKLaboklab(31.09% -0.0632 0.0551)
OKLCHoklch(31.09% 0.084 138.9)
XYZxyz(1.9267, 3.2323, 0.8389)
Luminance0.0323 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173A0B #2E0B3A
analogous
#2E3A0B #173A0B #0B3A16
triadic
#173A0B #0B173A #3A0B17
tetradic
#173A0B #0B2E3A #2E0B3A #3A160B
square
#173A0B #0B2E3A #2E0B3A #3A160B
split-complementary
#173A0B #160B3A #3A0B2E
monochromatic
#0A1A05 #0A1A05 #173A0B #2B6D15 #40A11F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #173a0b;
/* rgb */ color: rgb(23, 58, 11);
/* oklch */ color: oklch(31.1% 0.084 138.9);
Tailwind
colors: {
  custom: {
    50: '#58704d',
    500: '#173a0b',
    950: '#000000',
  },
}
SCSS
$custom: #173a0b;
$custom-light: #58704d;
$custom-dark: #000000;
JSON
{
  "hex": "#173a0b",
  "rgb": {
    "r": 23,
    "g": 58,
    "b": 11
  },
  "hsl": {
    "h": 104.681,
    "s": 68.116,
    "l": 13.529
  },
  "oklch": {
    "l": 0.31091,
    "c": 0.08381,
    "h": 138.9
  },
  "luminance": 0.03232
}

Semantic roles & 50–950 ramp

primary
#173A0B
secondary
#632A77
accent
#3DEBBF
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#040701
muted
#797A77

Preview Lab

Preview with #173A0B

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

Preview Lab → · Contrast checker → · Palette generator →

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