#173B19#173B19

#173B19 is a dark, moderate green. Relative luminance 0.034; OKLCH L 31.6% C 0.072 H 144.7°. Best body text is #FFFFFF at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#173B19
RGBrgb(23, 59, 25)
HSLhsl(123, 44%, 16%)
HSVhsv(123, 61%, 23%)
CMYKcmyk(61%, 0%, 57.6%, 76.9%)
CIE-LABlab(21.51, -21.52, 17.13)
CIE-LCHlch(21.51, 27.51, 141.48°)
OKLaboklab(31.6% -0.0584 0.0414)
OKLCHoklch(31.6% 0.072 144.7)
XYZxyz(2.0927, 3.3801, 1.4617)
Luminance0.0338 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173B19 #3B1739
analogous
#273B17 #173B19 #173B2B
triadic
#173B19 #19173B #3B1917
tetradic
#173B19 #17273B #3B1739 #3B2B17
square
#173B19 #17273B #3B1739 #3B2B17
split-complementary
#173B19 #2B173B #3B1727
monochromatic
#091609 #091609 #173B19 #28672C #39933E

Accessibility & contrast

On white

12.53
#173B19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#173B19 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173B19
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173B19#FFFFFF#000000##FFFFFF
##173B191.0012.531.6812.53
#FFFFFF12.531.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3616
Deuteranopia (green-blind)
#37321B
Tritanopia (blue-blind)
#113933
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #173b19;
/* rgb */ color: rgb(23, 59, 25);
/* oklch */ color: oklch(31.6% 0.072 144.7);
Tailwind
colors: {
  custom: {
    50: '#587156',
    500: '#173b19',
    950: '#000000',
  },
}
SCSS
$custom: #173b19;
$custom-light: #587156;
$custom-dark: #000000;
JSON
{
  "hex": "#173b19",
  "rgb": {
    "r": 23,
    "g": 59,
    "b": 25
  },
  "hsl": {
    "h": 123.333,
    "s": 43.902,
    "l": 16.078
  },
  "oklch": {
    "l": 0.31603,
    "c": 0.07162,
    "h": 144.7
  },
  "luminance": 0.0338
}

Semantic roles & 50–950 ramp

primary
#173B19
secondary
#723C6F
accent
#54CDD4
background
#F5F6F5
surface
#E9ECE9
border
#C5C7C5
text
#030703
muted
#787A78

Preview Lab

Preview with #173B19

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

Preview Lab → · Contrast checker → · Palette generator →

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