#173B13#173B13

#173B13 is a dark, moderate green. Relative luminance 0.034; OKLCH L 31.5% C 0.078 H 141.7°. Best body text is #FFFFFF at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#173B13
RGBrgb(23, 59, 19)
HSLhsl(114, 51%, 15%)
HSVhsv(114, 68%, 23%)
CMYKcmyk(61%, 0%, 67.8%, 76.9%)
CIE-LABlab(21.42, -22.46, 20.55)
CIE-LCHlch(21.42, 30.44, 137.54°)
OKLaboklab(31.5% -0.0613 0.0484)
OKLCHoklch(31.5% 0.078 141.7)
XYZxyz(2.0348, 3.3569, 1.1567)
Luminance0.0336 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173B13 #37133B
analogous
#2B3B13 #173B13 #133B23
triadic
#173B13 #13173B #3B1317
tetradic
#173B13 #132B3B #37133B #3B2313
square
#173B13 #132B3B #37133B #3B2313
split-complementary
#173B13 #23133B #3B132B
monochromatic
#091707 #091707 #173B13 #296922 #3B9831

Accessibility & contrast

On white

12.56
#173B13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #173B13
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173B13#FFFFFF#000000##FFFFFF
##173B131.0012.561.6712.56
#FFFFFF12.561.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D350F
Deuteranopia (green-blind)
#383216
Tritanopia (blue-blind)
#123932
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #173b13;
/* rgb */ color: rgb(23, 59, 19);
/* oklch */ color: oklch(31.5% 0.078 141.7);
Tailwind
colors: {
  custom: {
    50: '#587152',
    500: '#173b13',
    950: '#000000',
  },
}
SCSS
$custom: #173b13;
$custom-light: #587152;
$custom-dark: #000000;
JSON
{
  "hex": "#173b13",
  "rgb": {
    "r": 23,
    "g": 59,
    "b": 19
  },
  "hsl": {
    "h": 114,
    "s": 51.282,
    "l": 15.294
  },
  "oklch": {
    "l": 0.31504,
    "c": 0.07809,
    "h": 141.7
  },
  "luminance": 0.03357
}

Semantic roles & 50–950 ramp

primary
#173B13
secondary
#6D3673
accent
#4DDBCD
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#030702
muted
#787A78

Preview Lab

Preview with #173B13

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

Preview Lab → · Contrast checker → · Palette generator →

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