#173E23#173E23

#173E23 is a dark, moderate green. Relative luminance 0.037; OKLCH L 32.7% C 0.065 H 151.3°. Best body text is #FFFFFF at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#173E23
RGBrgb(23, 62, 35)
HSLhsl(138, 46%, 17%)
HSVhsv(138, 63%, 24%)
CMYKcmyk(62.9%, 0%, 43.5%, 75.7%)
CIE-LABlab(22.82, -21.07, 12.56)
CIE-LCHlch(22.82, 24.53, 149.20°)
OKLaboklab(32.74% -0.0571 0.0313)
OKLCHoklch(32.74% 0.065 151.3)
XYZxyz(2.3792, 3.7485, 2.1879)
Luminance0.0375 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173E23 #3E1732
analogous
#1F3E17 #173E23 #173E37
triadic
#173E23 #23173E #3E2317
tetradic
#173E23 #171F3E #3E1732 #3E3717
square
#173E23 #171F3E #3E1732 #3E3717
split-complementary
#173E23 #37173E #3E171F
monochromatic
#08160D #08160D #173E23 #286B3C #389755

Accessibility & contrast

On white

12.00
#173E23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#173E23 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173E23
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173E23#FFFFFF#000000##FFFFFF
##173E231.0012.001.7512.00
#FFFFFF12.001.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3921
Deuteranopia (green-blind)
#393525
Tritanopia (blue-blind)
#0D3D37
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #173e23;
/* rgb */ color: rgb(23, 62, 35);
/* oklch */ color: oklch(32.7% 0.065 151.3);
Tailwind
colors: {
  custom: {
    50: '#58735e',
    500: '#173e23',
    950: '#000000',
  },
}
SCSS
$custom: #173e23;
$custom-light: #58735e;
$custom-dark: #000000;
JSON
{
  "hex": "#173e23",
  "rgb": {
    "r": 23,
    "g": 62,
    "b": 35
  },
  "hsl": {
    "h": 138.462,
    "s": 45.882,
    "l": 16.667
  },
  "oklch": {
    "l": 0.32741,
    "c": 0.06516,
    "h": 151.3
  },
  "luminance": 0.03749
}

Semantic roles & 50–950 ramp

primary
#173E23
secondary
#753C63
accent
#52ADD6
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030804
muted
#787B79

Preview Lab

Preview with #173E23

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

Preview Lab → · Contrast checker → · Palette generator →

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