#173F23#173F23

#173F23 is a dark, moderate green. Relative luminance 0.039; OKLCH L 33.0% C 0.067 H 150.9°. Best body text is #FFFFFF at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#173F23
RGBrgb(23, 63, 35)
HSLhsl(138, 47%, 17%)
HSVhsv(138, 63%, 25%)
CMYKcmyk(63.5%, 0%, 44.4%, 75.3%)
CIE-LABlab(23.20, -21.57, 13.06)
CIE-LCHlch(23.20, 25.22, 148.82°)
OKLaboklab(33.05% -0.0585 0.0325)
OKLCHoklch(33.05% 0.067 150.9)
XYZxyz(2.4341, 3.8583, 2.2062)
Luminance0.0386 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173F23 #3F1733
analogous
#1F3F17 #173F23 #173F37
triadic
#173F23 #23173F #3F2317
tetradic
#173F23 #171F3F #3F1733 #3F3717
square
#173F23 #171F3F #3F1733 #3F3717
split-complementary
#173F23 #37173F #3F171F
monochromatic
#08160C #08160C #173F23 #276C3C #389955

Accessibility & contrast

On white

11.85
#173F23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#173F23 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173F23
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173F23#FFFFFF#000000##FFFFFF
##173F231.0011.851.7711.85
#FFFFFF11.851.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3A21
Deuteranopia (green-blind)
#3A3625
Tritanopia (blue-blind)
#0D3E38
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #173f23;
/* rgb */ color: rgb(23, 63, 35);
/* oklch */ color: oklch(33.0% 0.067 150.9);
Tailwind
colors: {
  custom: {
    50: '#58745e',
    500: '#173f23',
    950: '#000000',
  },
}
SCSS
$custom: #173f23;
$custom-light: #58745e;
$custom-dark: #000000;
JSON
{
  "hex": "#173f23",
  "rgb": {
    "r": 23,
    "g": 63,
    "b": 35
  },
  "hsl": {
    "h": 138,
    "s": 46.512,
    "l": 16.863
  },
  "oklch": {
    "l": 0.33049,
    "c": 0.0669,
    "h": 150.9
  },
  "luminance": 0.03859
}

Semantic roles & 50–950 ramp

primary
#173F23
secondary
#763C64
accent
#52AED6
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030804
muted
#787B79

Preview Lab

Preview with #173F23

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

Preview Lab → · Contrast checker → · Palette generator →

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