#173E1E#173E1E

#173E1E is a dark, moderate green. Relative luminance 0.037; OKLCH L 32.6% C 0.071 H 147.4°. Best body text is #FFFFFF at 12.04:1 contrast (WCAG AA passes).

Color values

HEX#173E1E
RGBrgb(23, 62, 30)
HSLhsl(131, 46%, 17%)
HSVhsv(131, 63%, 24%)
CMYKcmyk(62.9%, 0%, 51.6%, 75.7%)
CIE-LABlab(22.73, -22.09, 15.59)
CIE-LCHlch(22.73, 27.04, 144.79°)
OKLaboklab(32.63% -0.0598 0.0382)
OKLCHoklch(32.63% 0.071 147.4)
XYZxyz(2.3102, 3.7209, 1.8245)
Luminance0.0372 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173E1E #3E1737
analogous
#243E17 #173E1E #173E32
triadic
#173E1E #1E173E #3E1E17
tetradic
#173E1E #17243E #3E1737 #3E3217
square
#173E1E #17243E #3E1737 #3E3217
split-complementary
#173E1E #32173E #3E1724
monochromatic
#08160B #08160B #173E1E #286B34 #389749

Accessibility & contrast

On white

12.04
#173E1E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#173E1E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173E1E
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173E1E#FFFFFF#000000##FFFFFF
##173E1E1.0012.041.7412.04
#FFFFFF12.041.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F381C
Deuteranopia (green-blind)
#3A3520
Tritanopia (blue-blind)
#0F3D36
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #173e1e;
/* rgb */ color: rgb(23, 62, 30);
/* oklch */ color: oklch(32.6% 0.071 147.4);
Tailwind
colors: {
  custom: {
    50: '#58745a',
    500: '#173e1e',
    950: '#000000',
  },
}
SCSS
$custom: #173e1e;
$custom-light: #58745a;
$custom-dark: #000000;
JSON
{
  "hex": "#173e1e",
  "rgb": {
    "r": 23,
    "g": 62,
    "b": 30
  },
  "hsl": {
    "h": 130.769,
    "s": 45.882,
    "l": 16.667
  },
  "oklch": {
    "l": 0.32632,
    "c": 0.07098,
    "h": 147.4
  },
  "luminance": 0.03721
}

Semantic roles & 50–950 ramp

primary
#173E1E
secondary
#753C6B
accent
#52BED6
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030804
muted
#787B79

Preview Lab

Preview with #173E1E

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

Preview Lab → · Contrast checker → · Palette generator →

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