#173A26#173A26

#173A26 is a dark, muted green. Relative luminance 0.033; OKLCH L 31.6% C 0.055 H 156.3°. Best body text is #FFFFFF at 12.58:1 contrast (WCAG AA passes).

Color values

HEX#173A26
RGBrgb(23, 58, 38)
HSLhsl(146, 43%, 16%)
HSVhsv(146, 60%, 23%)
CMYKcmyk(60.3%, 0%, 34.5%, 77.3%)
CIE-LABlab(21.39, -18.31, 8.68)
CIE-LCHlch(21.39, 20.26, 154.65°)
OKLaboklab(31.59% -0.05 0.022)
OKLCHoklch(31.59% 0.055 156.3)
XYZxyz(2.2161, 3.3480, 2.3628)
Luminance0.0335 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173A26 #3A172B
analogous
#193A17 #173A26 #173A37
triadic
#173A26 #26173A #3A2617
tetradic
#173A26 #17193A #3A172B #3A3717
square
#173A26 #17193A #3A172B #3A3717
split-complementary
#173A26 #37173A #3A1719
monochromatic
#09160E #09160E #173A26 #286643 #3A925F

Accessibility & contrast

On white

12.58
#173A26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#173A26 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173A26
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173A26#FFFFFF#000000##FFFFFF
##173A261.0012.581.6712.58
#FFFFFF12.581.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3525
Deuteranopia (green-blind)
#353227
Tritanopia (blue-blind)
#0D3935
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #173a26;
/* rgb */ color: rgb(23, 58, 38);
/* oklch */ color: oklch(31.6% 0.055 156.3);
Tailwind
colors: {
  custom: {
    50: '#577060',
    500: '#173a26',
    950: '#000000',
  },
}
SCSS
$custom: #173a26;
$custom-light: #577060;
$custom-dark: #000000;
JSON
{
  "hex": "#173a26",
  "rgb": {
    "r": 23,
    "g": 58,
    "b": 38
  },
  "hsl": {
    "h": 145.714,
    "s": 43.21,
    "l": 15.882
  },
  "oklch": {
    "l": 0.3159,
    "c": 0.05464,
    "h": 156.3
  },
  "luminance": 0.03348
}

Semantic roles & 50–950 ramp

primary
#173A26
secondary
#713C5A
accent
#559DD3
background
#F5F6F5
surface
#E9ECE9
border
#C5C7C5
text
#030704
muted
#787A79

Preview Lab

Preview with #173A26

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

Preview Lab → · Contrast checker → · Palette generator →

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