#174D1F#174D1F

#174D1F is a dark, moderate green. Relative luminance 0.056; OKLCH L 37.3% C 0.094 H 146.0°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#174D1F
RGBrgb(23, 77, 31)
HSLhsl(129, 54%, 20%)
HSVhsv(129, 70%, 30%)
CMYKcmyk(70.1%, 0%, 59.7%, 69.8%)
CIE-LABlab(28.35, -28.80, 21.97)
CIE-LCHlch(28.35, 36.22, 142.67°)
OKLaboklab(37.27% -0.0779 0.0526)
OKLCHoklch(37.27% 0.094 146)
XYZxyz(3.2543, 5.5885, 2.2032)
Luminance0.0559 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174D1F #4D1745
analogous
#2A4D17 #174D1F #174D3A
triadic
#174D1F #1F174D #4D1F17
tetradic
#174D1F #172A4D #4D1745 #4D3A17
square
#174D1F #172A4D #4D1745 #4D3A17
split-complementary
#174D1F #3A174D #4D172A
monochromatic
#071809 #091E0C #174D1F #257C32 #33AB45

Accessibility & contrast

On white

9.92
#174D1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #174D1F
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174D1F#FFFFFF#000000##FFFFFF
##174D1F1.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E461B
Deuteranopia (green-blind)
#474122
Tritanopia (blue-blind)
#094B43
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #174d1f;
/* rgb */ color: rgb(23, 77, 31);
/* oklch */ color: oklch(37.3% 0.094 146.0);
Tailwind
colors: {
  custom: {
    50: '#5c7f5c',
    500: '#174d1f',
    950: '#000000',
  },
}
SCSS
$custom: #174d1f;
$custom-light: #5c7f5c;
$custom-dark: #000000;
JSON
{
  "hex": "#174d1f",
  "rgb": {
    "r": 23,
    "g": 77,
    "b": 31
  },
  "hsl": {
    "h": 128.889,
    "s": 54,
    "l": 19.608
  },
  "oklch": {
    "l": 0.37266,
    "c": 0.09394,
    "h": 146
  },
  "luminance": 0.05589
}

Semantic roles & 50–950 ramp

primary
#174D1F
secondary
#843C79
accent
#4AC8DD
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A04
muted
#797C79

Preview Lab

Preview with #174D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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