#173E28#173E28

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

Color values

HEX#173E28
RGBrgb(23, 62, 40)
HSLhsl(146, 46%, 17%)
HSVhsv(146, 63%, 24%)
CMYKcmyk(62.9%, 0%, 35.5%, 75.7%)
CIE-LABlab(22.93, -19.93, 9.48)
CIE-LCHlch(22.93, 22.07, 154.57°)
OKLaboklab(32.87% -0.0544 0.024)
OKLCHoklch(32.87% 0.059 156.2)
XYZxyz(2.4588, 3.7804, 2.6072)
Luminance0.0378 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173E28 #3E172D
analogous
#1A3E17 #173E28 #173E3C
triadic
#173E28 #28173E #3E2817
tetradic
#173E28 #171A3E #3E172D #3E3C17
square
#173E28 #171A3E #3E172D #3E3C17
split-complementary
#173E28 #3C173E #3E171A
monochromatic
#08160E #08160E #173E28 #286B45 #389762

Accessibility & contrast

On white

11.96
#173E28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #173E28
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173E28#FFFFFF#000000##FFFFFF
##173E281.0011.961.7611.96
#FFFFFF11.961.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3927
Deuteranopia (green-blind)
#383529
Tritanopia (blue-blind)
#0B3D38
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #173e28;
/* rgb */ color: rgb(23, 62, 40);
/* oklch */ color: oklch(32.9% 0.059 156.2);
Tailwind
colors: {
  custom: {
    50: '#587362',
    500: '#173e28',
    950: '#000000',
  },
}
SCSS
$custom: #173e28;
$custom-light: #587362;
$custom-dark: #000000;
JSON
{
  "hex": "#173e28",
  "rgb": {
    "r": 23,
    "g": 62,
    "b": 40
  },
  "hsl": {
    "h": 146.154,
    "s": 45.882,
    "l": 16.667
  },
  "oklch": {
    "l": 0.32867,
    "c": 0.05942,
    "h": 156.2
  },
  "luminance": 0.03781
}

Semantic roles & 50–950 ramp

primary
#173E28
secondary
#753C5C
accent
#529CD6
background
#F5F7F5
surface
#E9EDEA
border
#C5C8C6
text
#030805
muted
#787B79

Preview Lab

Preview with #173E28

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

Preview Lab → · Contrast checker → · Palette generator →

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