#173E2A#173E2A

#173E2A is a dark, muted green. Relative luminance 0.038; OKLCH L 32.9% C 0.057 H 158.5°. Best body text is #FFFFFF at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#173E2A
RGBrgb(23, 62, 42)
HSLhsl(149, 46%, 17%)
HSVhsv(149, 63%, 24%)
CMYKcmyk(62.9%, 0%, 32.3%, 75.7%)
CIE-LABlab(22.98, -19.44, 8.24)
CIE-LCHlch(22.98, 21.11, 157.04°)
OKLaboklab(32.92% -0.0532 0.021)
OKLCHoklch(32.92% 0.057 158.5)
XYZxyz(2.4937, 3.7943, 2.7910)
Luminance0.0379 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173E2A #3E172B
analogous
#183E17 #173E2A #173E3E
triadic
#173E2A #2A173E #3E2A17
tetradic
#173E2A #17183E #3E172B #3E3E17
square
#173E2A #17183E #3E172B #3E3E17
split-complementary
#173E2A #3E173E #3E1718
monochromatic
#08160F #08160F #173E2A #286B48 #389766

Accessibility & contrast

On white

11.94
#173E2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#173E2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173E2A
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173E2A#FFFFFF#000000##FFFFFF
##173E2A1.0011.941.7611.94
#FFFFFF11.941.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3929
Deuteranopia (green-blind)
#38352B
Tritanopia (blue-blind)
#0A3E39
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #173e2a;
/* rgb */ color: rgb(23, 62, 42);
/* oklch */ color: oklch(32.9% 0.057 158.5);
Tailwind
colors: {
  custom: {
    50: '#587363',
    500: '#173e2a',
    950: '#000000',
  },
}
SCSS
$custom: #173e2a;
$custom-light: #587363;
$custom-dark: #000000;
JSON
{
  "hex": "#173e2a",
  "rgb": {
    "r": 23,
    "g": 62,
    "b": 42
  },
  "hsl": {
    "h": 149.231,
    "s": 45.882,
    "l": 16.667
  },
  "oklch": {
    "l": 0.32922,
    "c": 0.0572,
    "h": 158.5
  },
  "luminance": 0.03795
}

Semantic roles & 50–950 ramp

primary
#173E2A
secondary
#753C59
accent
#5296D6
background
#F5F7F5
surface
#E9EDEA
border
#C5C8C6
text
#030805
muted
#787B79

Preview Lab

Preview with #173E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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