#173B16#173B16

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

Color values

HEX#173B16
RGBrgb(23, 59, 22)
HSLhsl(118, 46%, 16%)
HSVhsv(118, 63%, 23%)
CMYKcmyk(61%, 0%, 62.7%, 76.9%)
CIE-LABlab(21.46, -22.02, 18.87)
CIE-LCHlch(21.46, 29.00, 139.40°)
OKLaboklab(31.55% -0.0599 0.045)
OKLCHoklch(31.55% 0.075 143.1)
XYZxyz(2.0620, 3.3678, 1.3003)
Luminance0.0337 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173B16 #3A163B
analogous
#293B16 #173B16 #163B27
triadic
#173B16 #16173B #3B1617
tetradic
#173B16 #16293B #3A163B #3B2716
square
#173B16 #16293B #3A163B #3B2716
split-complementary
#173B16 #27163B #3B1629
monochromatic
#091608 #091608 #173B16 #286827 #3A9437

Accessibility & contrast

On white

12.55
#173B16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #173B16
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173B16#FFFFFF#000000##FFFFFF
##173B161.0012.551.6712.55
#FFFFFF12.551.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3513
Deuteranopia (green-blind)
#383219
Tritanopia (blue-blind)
#123933
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #173b16;
/* rgb */ color: rgb(23, 59, 22);
/* oklch */ color: oklch(31.6% 0.075 143.1);
Tailwind
colors: {
  custom: {
    50: '#587154',
    500: '#173b16',
    950: '#000000',
  },
}
SCSS
$custom: #173b16;
$custom-light: #587154;
$custom-dark: #000000;
JSON
{
  "hex": "#173b16",
  "rgb": {
    "r": 23,
    "g": 59,
    "b": 22
  },
  "hsl": {
    "h": 118.378,
    "s": 45.679,
    "l": 15.882
  },
  "oklch": {
    "l": 0.31551,
    "c": 0.07495,
    "h": 143.1
  },
  "luminance": 0.03368
}

Semantic roles & 50–950 ramp

primary
#173B16
secondary
#713B72
accent
#52D5D2
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#030703
muted
#787A78

Preview Lab

Preview with #173B16

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

Preview Lab → · Contrast checker → · Palette generator →

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