#173C15#173C15

#173C15 is a dark, moderate green. Relative luminance 0.035; OKLCH L 31.8% C 0.078 H 142.6°. Best body text is #FFFFFF at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#173C15
RGBrgb(23, 60, 21)
HSLhsl(117, 48%, 16%)
HSVhsv(117, 65%, 24%)
CMYKcmyk(61.7%, 0%, 65%, 76.5%)
CIE-LABlab(21.83, -22.65, 19.89)
CIE-LCHlch(21.83, 30.14, 138.71°)
OKLaboklab(31.85% -0.0617 0.0472)
OKLCHoklch(31.85% 0.078 142.6)
XYZxyz(2.1045, 3.4678, 1.2678)
Luminance0.0347 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173C15 #3A153C
analogous
#2A3C15 #173C15 #153C26
triadic
#173C15 #15173C #3C1517
tetradic
#173C15 #152A3C #3A153C #3C2615
square
#173C15 #152A3C #3A153C #3C2615
split-complementary
#173C15 #26153C #3C152A
monochromatic
#091708 #091708 #173C15 #286925 #3A9735

Accessibility & contrast

On white

12.40
#173C15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #173C15
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173C15#FFFFFF#000000##FFFFFF
##173C151.0012.401.6912.40
#FFFFFF12.401.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3611
Deuteranopia (green-blind)
#393318
Tritanopia (blue-blind)
#123A33
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #173c15;
/* rgb */ color: rgb(23, 60, 21);
/* oklch */ color: oklch(31.8% 0.078 142.6);
Tailwind
colors: {
  custom: {
    50: '#587253',
    500: '#173c15',
    950: '#000000',
  },
}
SCSS
$custom: #173c15;
$custom-light: #587253;
$custom-dark: #000000;
JSON
{
  "hex": "#173c15",
  "rgb": {
    "r": 23,
    "g": 60,
    "b": 21
  },
  "hsl": {
    "h": 116.923,
    "s": 48.148,
    "l": 15.882
  },
  "oklch": {
    "l": 0.31848,
    "c": 0.07764,
    "h": 142.6
  },
  "luminance": 0.03468
}

Semantic roles & 50–950 ramp

primary
#173C15
secondary
#713974
accent
#50D8D1
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#030802
muted
#787B78

Preview Lab

Preview with #173C15

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

Preview Lab → · Contrast checker → · Palette generator →

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