#173F2A#173F2A

#173F2A is a dark, muted green. Relative luminance 0.039; OKLCH L 33.2% C 0.059 H 157.8°. Best body text is #FFFFFF at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#173F2A
RGBrgb(23, 63, 42)
HSLhsl(149, 47%, 17%)
HSVhsv(149, 63%, 25%)
CMYKcmyk(63.5%, 0%, 33.3%, 75.3%)
CIE-LABlab(23.35, -19.96, 8.75)
CIE-LCHlch(23.35, 21.80, 156.34°)
OKLaboklab(33.23% -0.0546 0.0222)
OKLCHoklch(33.23% 0.059 157.8)
XYZxyz(2.5486, 3.9041, 2.8093)
Luminance0.0390 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173F2A #3F172C
analogous
#183F17 #173F2A #173F3E
triadic
#173F2A #2A173F #3F2A17
tetradic
#173F2A #17183F #3F172C #3F3E17
square
#173F2A #17183F #3F172C #3F3E17
split-complementary
#173F2A #3E173F #3F1718
monochromatic
#08160F #08160F #173F2A #276C48 #389966

Accessibility & contrast

On white

11.79
#173F2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#173F2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173F2A
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173F2A#FFFFFF#000000##FFFFFF
##173F2A1.0011.791.7811.79
#FFFFFF11.791.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3A29
Deuteranopia (green-blind)
#39362B
Tritanopia (blue-blind)
#093F39
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #173f2a;
/* rgb */ color: rgb(23, 63, 42);
/* oklch */ color: oklch(33.2% 0.059 157.8);
Tailwind
colors: {
  custom: {
    50: '#587463',
    500: '#173f2a',
    950: '#000000',
  },
}
SCSS
$custom: #173f2a;
$custom-light: #587463;
$custom-dark: #000000;
JSON
{
  "hex": "#173f2a",
  "rgb": {
    "r": 23,
    "g": 63,
    "b": 42
  },
  "hsl": {
    "h": 148.5,
    "s": 46.512,
    "l": 16.863
  },
  "oklch": {
    "l": 0.33226,
    "c": 0.05893,
    "h": 157.8
  },
  "luminance": 0.03904
}

Semantic roles & 50–950 ramp

primary
#173F2A
secondary
#763C5A
accent
#5297D6
background
#F5F7F5
surface
#E9EDEA
border
#C5C8C6
text
#030805
muted
#787B79

Preview Lab

Preview with #173F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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