#173E0A#173E0A

#173E0A is a dark, moderate green. Relative luminance 0.036; OKLCH L 32.3% C 0.090 H 139.2°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#173E0A
RGBrgb(23, 62, 10)
HSLhsl(105, 72%, 14%)
HSVhsv(105, 84%, 24%)
CMYKcmyk(62.9%, 0%, 83.9%, 75.7%)
CIE-LABlab(22.48, -24.86, 26.18)
CIE-LCHlch(22.48, 36.10, 133.52°)
OKLaboklab(32.34% -0.0684 0.0591)
OKLCHoklch(32.34% 0.09 139.2)
XYZxyz(2.1307, 3.6491, 0.8792)
Luminance0.0365 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173E0A #310A3E
analogous
#313E0A #173E0A #0A3E17
triadic
#173E0A #0A173E #3E0A17
tetradic
#173E0A #0A313E #310A3E #3E170A
square
#173E0A #0A313E #310A3E #3E170A
split-complementary
#173E0A #170A3E #3E0A31
monochromatic
#0A1A04 #0A1A04 #173E0A #2B7313 #3EA71B

Accessibility & contrast

On white

12.14
#173E0A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#173E0A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173E0A
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173E0A#FFFFFF#000000##FFFFFF
##173E0A1.0012.141.7312.14
#FFFFFF12.141.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403803
Deuteranopia (green-blind)
#3B340F
Tritanopia (blue-blind)
#133C34
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #173e0a;
/* rgb */ color: rgb(23, 62, 10);
/* oklch */ color: oklch(32.3% 0.090 139.2);
Tailwind
colors: {
  custom: {
    50: '#59744d',
    500: '#173e0a',
    950: '#000000',
  },
}
SCSS
$custom: #173e0a;
$custom-light: #59744d;
$custom-dark: #000000;
JSON
{
  "hex": "#173e0a",
  "rgb": {
    "r": 23,
    "g": 62,
    "b": 10
  },
  "hsl": {
    "h": 105,
    "s": 72.222,
    "l": 14.118
  },
  "oklch": {
    "l": 0.32344,
    "c": 0.09043,
    "h": 139.2
  },
  "luminance": 0.03649
}

Semantic roles & 50–950 ramp

primary
#173E0A
secondary
#67287B
accent
#39EFC1
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040801
muted
#797B77

Preview Lab

Preview with #173E0A

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

Preview Lab → · Contrast checker → · Palette generator →

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