#174D1D#174D1D

#174D1D is a dark, moderate green. Relative luminance 0.056; OKLCH L 37.2% C 0.096 H 145.2°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#174D1D
RGBrgb(23, 77, 29)
HSLhsl(127, 54%, 20%)
HSVhsv(127, 70%, 30%)
CMYKcmyk(70.1%, 0%, 62.3%, 69.8%)
CIE-LABlab(28.32, -29.11, 23.05)
CIE-LCHlch(28.32, 37.13, 141.63°)
OKLaboklab(37.24% -0.0788 0.0548)
OKLCHoklch(37.24% 0.096 145.2)
XYZxyz(3.2288, 5.5783, 2.0687)
Luminance0.0558 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174D1D #4D1747
analogous
#2C4D17 #174D1D #174D38
triadic
#174D1D #1D174D #4D1D17
tetradic
#174D1D #172C4D #4D1747 #4D3817
square
#174D1D #172C4D #4D1747 #4D3817
split-complementary
#174D1D #38174D #4D172C
monochromatic
#071809 #091E0B #174D1D #257C2F #33AB40

Accessibility & contrast

On white

9.93
#174D1D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#174D1D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174D1D
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174D1D#FFFFFF#000000##FFFFFF
##174D1D1.009.932.129.93
#FFFFFF9.931.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4618
Deuteranopia (green-blind)
#484121
Tritanopia (blue-blind)
#094B42
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #174d1d;
/* rgb */ color: rgb(23, 77, 29);
/* oklch */ color: oklch(37.2% 0.096 145.2);
Tailwind
colors: {
  custom: {
    50: '#5c7f5a',
    500: '#174d1d',
    950: '#000000',
  },
}
SCSS
$custom: #174d1d;
$custom-light: #5c7f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#174d1d",
  "rgb": {
    "r": 23,
    "g": 77,
    "b": 29
  },
  "hsl": {
    "h": 126.667,
    "s": 54,
    "l": 19.608
  },
  "oklch": {
    "l": 0.37235,
    "c": 0.09595,
    "h": 145.2
  },
  "luminance": 0.05579
}

Semantic roles & 50–950 ramp

primary
#174D1D
secondary
#843C7C
accent
#4ACDDD
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A04
muted
#797C79

Preview Lab

Preview with #174D1D

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

Preview Lab → · Contrast checker → · Palette generator →

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