#174C0C#174C0C

#174C0C is a dark, moderate green. Relative luminance 0.054; OKLCH L 36.7% C 0.108 H 140.7°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#174C0C
RGBrgb(23, 76, 12)
HSLhsl(110, 73%, 17%)
HSVhsv(110, 84%, 30%)
CMYKcmyk(69.7%, 0%, 84.2%, 70.2%)
CIE-LABlab(27.78, -30.64, 30.65)
CIE-LCHlch(27.78, 43.33, 134.99°)
OKLaboklab(36.74% -0.0839 0.0687)
OKLCHoklch(36.74% 0.108 140.7)
XYZxyz(3.0040, 5.3773, 1.2274)
Luminance0.0538 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174C0C #410C4C
analogous
#374C0C #174C0C #0C4C21
triadic
#174C0C #0C174C #4C0C17
tetradic
#174C0C #0C374C #410C4C #4C210C
square
#174C0C #0C374C #410C4C #4C210C
split-complementary
#174C0C #210C4C #4C0C37
monochromatic
#081A04 #081A04 #174C0C #278114 #37B61D

Accessibility & contrast

On white

10.12
#174C0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#174C0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174C0C
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174C0C#FFFFFF#000000##FFFFFF
##174C0C1.0010.122.0810.12
#FFFFFF10.121.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4401
Deuteranopia (green-blind)
#484013
Tritanopia (blue-blind)
#0E4940
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #174c0c;
/* rgb */ color: rgb(23, 76, 12);
/* oklch */ color: oklch(36.7% 0.108 140.7);
Tailwind
colors: {
  custom: {
    50: '#5d7f50',
    500: '#174c0c',
    950: '#000000',
  },
}
SCSS
$custom: #174c0c;
$custom-light: #5d7f50;
$custom-dark: #000000;
JSON
{
  "hex": "#174c0c",
  "rgb": {
    "r": 23,
    "g": 76,
    "b": 12
  },
  "hsl": {
    "h": 109.688,
    "s": 72.727,
    "l": 17.255
  },
  "oklch": {
    "l": 0.36735,
    "c": 0.10841,
    "h": 140.7
  },
  "luminance": 0.05378
}

Semantic roles & 50–950 ramp

primary
#174C0C
secondary
#782C88
accent
#38EFD0
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#050A02
muted
#797C78

Preview Lab

Preview with #174C0C

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

Preview Lab → · Contrast checker → · Palette generator →

#174C0C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva