#173F16#173F16

#173F16 is a dark, moderate green. Relative luminance 0.038; OKLCH L 32.8% C 0.081 H 143.0°. Best body text is #FFFFFF at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#173F16
RGBrgb(23, 63, 22)
HSLhsl(119, 48%, 17%)
HSVhsv(119, 65%, 25%)
CMYKcmyk(63.5%, 0%, 65.1%, 75.3%)
CIE-LABlab(22.98, -23.92, 20.67)
CIE-LCHlch(22.98, 31.61, 139.16°)
OKLaboklab(32.8% -0.065 0.049)
OKLCHoklch(32.8% 0.081 143)
XYZxyz(2.2756, 3.7949, 1.3715)
Luminance0.0379 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173F16 #3E163F
analogous
#2C3F16 #173F16 #163F2A
triadic
#173F16 #16173F #3F1617
tetradic
#173F16 #162C3F #3E163F #3F2A16
square
#173F16 #162C3F #3E163F #3F2A16
split-complementary
#173F16 #2A163F #3F162C
monochromatic
#081708 #081708 #173F16 #286C26 #389A36

Accessibility & contrast

On white

11.94
#173F16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#173F16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173F16
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173F16#FFFFFF#000000##FFFFFF
##173F161.0011.941.7611.94
#FFFFFF11.941.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403912
Deuteranopia (green-blind)
#3B3519
Tritanopia (blue-blind)
#113D36
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #173f16;
/* rgb */ color: rgb(23, 63, 22);
/* oklch */ color: oklch(32.8% 0.081 143.0);
Tailwind
colors: {
  custom: {
    50: '#597454',
    500: '#173f16',
    950: '#000000',
  },
}
SCSS
$custom: #173f16;
$custom-light: #597454;
$custom-dark: #000000;
JSON
{
  "hex": "#173f16",
  "rgb": {
    "r": 23,
    "g": 63,
    "b": 22
  },
  "hsl": {
    "h": 118.537,
    "s": 48.235,
    "l": 16.667
  },
  "oklch": {
    "l": 0.32801,
    "c": 0.08142,
    "h": 143
  },
  "luminance": 0.03795
}

Semantic roles & 50–950 ramp

primary
#173F16
secondary
#753B76
accent
#50D8D5
background
#F5F7F4
surface
#E9EDE8
border
#C5C8C4
text
#040803
muted
#797B78

Preview Lab

Preview with #173F16

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

Preview Lab → · Contrast checker → · Palette generator →

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