#173F14#173F14

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

Color values

HEX#173F14
RGBrgb(23, 63, 20)
HSLhsl(116, 52%, 16%)
HSVhsv(116, 68%, 25%)
CMYKcmyk(63.5%, 0%, 68.3%, 75.3%)
CIE-LABlab(22.96, -24.20, 21.76)
CIE-LCHlch(22.96, 32.55, 138.03°)
OKLaboklab(32.77% -0.0659 0.0511)
OKLCHoklch(32.77% 0.083 142.2)
XYZxyz(2.2570, 3.7875, 1.2738)
Luminance0.0379 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173F14 #3C143F
analogous
#2D3F14 #173F14 #143F27
triadic
#173F14 #14173F #3F1417
tetradic
#173F14 #142D3F #3C143F #3F2714
square
#173F14 #142D3F #3C143F #3F2714
split-complementary
#173F14 #27143F #3F142D
monochromatic
#081707 #081707 #173F14 #286D23 #399C31

Accessibility & contrast

On white

11.95
#173F14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #173F14
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173F14#FFFFFF#000000##FFFFFF
##173F141.0011.951.7611.95
#FFFFFF11.951.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41390F
Deuteranopia (green-blind)
#3B3517
Tritanopia (blue-blind)
#113D36
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #173f14;
/* rgb */ color: rgb(23, 63, 20);
/* oklch */ color: oklch(32.8% 0.083 142.2);
Tailwind
colors: {
  custom: {
    50: '#597453',
    500: '#173f14',
    950: '#000000',
  },
}
SCSS
$custom: #173f14;
$custom-light: #597453;
$custom-dark: #000000;
JSON
{
  "hex": "#173f14",
  "rgb": {
    "r": 23,
    "g": 63,
    "b": 20
  },
  "hsl": {
    "h": 115.814,
    "s": 51.807,
    "l": 16.275
  },
  "oklch": {
    "l": 0.32772,
    "c": 0.08343,
    "h": 142.2
  },
  "luminance": 0.03788
}

Semantic roles & 50–950 ramp

primary
#173F14
secondary
#733877
accent
#4DDBD1
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040802
muted
#797B78

Preview Lab

Preview with #173F14

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

Preview Lab → · Contrast checker → · Palette generator →

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