#173A10#173A10

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

Color values

HEX#173A10
RGBrgb(23, 58, 16)
HSLhsl(110, 57%, 15%)
HSVhsv(110, 72%, 23%)
CMYKcmyk(60.3%, 0%, 72.4%, 77.3%)
CIE-LABlab(21.00, -22.38, 21.73)
CIE-LCHlch(21.00, 31.19, 135.85°)
OKLaboklab(31.15% -0.0613 0.0506)
OKLCHoklch(31.15% 0.079 140.5)
XYZxyz(1.9598, 3.2455, 1.0133)
Luminance0.0325 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173A10 #33103A
analogous
#2C3A10 #173A10 #103A1E
triadic
#173A10 #10173A #3A1017
tetradic
#173A10 #102C3A #33103A #3A1E10
square
#173A10 #102C3A #33103A #3A1E10
split-complementary
#173A10 #1E103A #3A102C
monochromatic
#0A1807 #0A1807 #173A10 #2A6A1D #3D9A2A

Accessibility & contrast

On white

12.73
#173A10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #173A10
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173A10#FFFFFF#000000##FFFFFF
##173A101.0012.731.6512.73
#FFFFFF12.731.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #173a10;
/* rgb */ color: rgb(23, 58, 16);
/* oklch */ color: oklch(31.1% 0.079 140.5);
Tailwind
colors: {
  custom: {
    50: '#587050',
    500: '#173a10',
    950: '#000000',
  },
}
SCSS
$custom: #173a10;
$custom-light: #587050;
$custom-dark: #000000;
JSON
{
  "hex": "#173a10",
  "rgb": {
    "r": 23,
    "g": 58,
    "b": 16
  },
  "hsl": {
    "h": 110,
    "s": 56.757,
    "l": 14.51
  },
  "oklch": {
    "l": 0.31148,
    "c": 0.07945,
    "h": 140.5
  },
  "luminance": 0.03246
}

Semantic roles & 50–950 ramp

primary
#173A10
secondary
#693274
accent
#48E0C7
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#030702
muted
#787A78

Preview Lab

Preview with #173A10

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

Preview Lab → · Contrast checker → · Palette generator →

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