#173B28#173B28

#173B28 is a dark, muted green. Relative luminance 0.035; OKLCH L 32.0% C 0.054 H 158.1°. Best body text is #FFFFFF at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#173B28
RGBrgb(23, 59, 40)
HSLhsl(148, 44%, 16%)
HSVhsv(148, 61%, 23%)
CMYKcmyk(61%, 0%, 32.2%, 76.9%)
CIE-LABlab(21.81, -18.35, 7.94)
CIE-LCHlch(21.81, 20.00, 156.61°)
OKLaboklab(31.95% -0.0503 0.0202)
OKLCHoklch(31.95% 0.054 158.1)
XYZxyz(2.3001, 3.4631, 2.5543)
Luminance0.0346 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173B28 #3B172A
analogous
#183B17 #173B28 #173B3A
triadic
#173B28 #28173B #3B2817
tetradic
#173B28 #17183B #3B172A #3B3A17
square
#173B28 #17183B #3B172A #3B3A17
split-complementary
#173B28 #3A173B #3B1718
monochromatic
#09160F #09160F #173B28 #286746 #399364

Accessibility & contrast

On white

12.41
#173B28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#173B28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173B28
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173B28#FFFFFF#000000##FFFFFF
##173B281.0012.411.6912.41
#FFFFFF12.411.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3627
Deuteranopia (green-blind)
#353329
Tritanopia (blue-blind)
#0C3B36
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #173b28;
/* rgb */ color: rgb(23, 59, 40);
/* oklch */ color: oklch(32.0% 0.054 158.1);
Tailwind
colors: {
  custom: {
    50: '#577162',
    500: '#173b28',
    950: '#000000',
  },
}
SCSS
$custom: #173b28;
$custom-light: #577162;
$custom-dark: #000000;
JSON
{
  "hex": "#173b28",
  "rgb": {
    "r": 23,
    "g": 59,
    "b": 40
  },
  "hsl": {
    "h": 148.333,
    "s": 43.902,
    "l": 16.078
  },
  "oklch": {
    "l": 0.31951,
    "c": 0.05418,
    "h": 158.1
  },
  "luminance": 0.03463
}

Semantic roles & 50–950 ramp

primary
#173B28
secondary
#723C58
accent
#5497D4
background
#F5F6F5
surface
#E9ECEA
border
#C5C7C6
text
#030705
muted
#787A79

Preview Lab

Preview with #173B28

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

Preview Lab → · Contrast checker → · Palette generator →

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