#174917#174917

#174917 is a dark, moderate green. Relative luminance 0.050; OKLCH L 35.9% C 0.096 H 143.3°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#174917
RGBrgb(23, 73, 23)
HSLhsl(120, 52%, 19%)
HSVhsv(120, 68%, 29%)
CMYKcmyk(68.5%, 0%, 68.5%, 71.4%)
CIE-LABlab(26.76, -28.24, 24.48)
CIE-LCHlch(26.76, 37.38, 139.08°)
OKLaboklab(35.92% -0.0767 0.0573)
OKLCHoklch(35.92% 0.096 143.3)
XYZxyz(2.8904, 5.0088, 1.6249)
Luminance0.0501 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174917 #491749
analogous
#304917 #174917 #174930
triadic
#174917 #171749 #491717
tetradic
#174917 #173049 #491749 #493017
square
#174917 #173049 #491749 #493017
split-complementary
#174917 #301749 #491730
monochromatic
#071707 #081A08 #174917 #267826 #34A634

Accessibility & contrast

On white

10.49
#174917 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#174917 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174917
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174917#FFFFFF#000000##FFFFFF
##1749171.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4211
Deuteranopia (green-blind)
#443E1B
Tritanopia (blue-blind)
#0D473E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #174917;
/* rgb */ color: rgb(23, 73, 23);
/* oklch */ color: oklch(35.9% 0.096 143.3);
Tailwind
colors: {
  custom: {
    50: '#5b7c56',
    500: '#174917',
    950: '#000000',
  },
}
SCSS
$custom: #174917;
$custom-light: #5b7c56;
$custom-dark: #000000;
JSON
{
  "hex": "#174917",
  "rgb": {
    "r": 23,
    "g": 73,
    "b": 23
  },
  "hsl": {
    "h": 120,
    "s": 52.083,
    "l": 18.824
  },
  "oklch": {
    "l": 0.3592,
    "c": 0.09574,
    "h": 143.3
  },
  "luminance": 0.05009
}

Semantic roles & 50–950 ramp

primary
#174917
secondary
#803C80
accent
#4CDCDC
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040903
muted
#797B78

Preview Lab

Preview with #174917

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

Preview Lab → · Contrast checker → · Palette generator →

#174917 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva