#174D1E#174D1E

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

Color values

HEX#174D1E
RGBrgb(23, 77, 30)
HSLhsl(128, 54%, 20%)
HSVhsv(128, 70%, 30%)
CMYKcmyk(70.1%, 0%, 61%, 69.8%)
CIE-LABlab(28.34, -28.96, 22.51)
CIE-LCHlch(28.34, 36.68, 142.14°)
OKLaboklab(37.25% -0.0783 0.0537)
OKLCHoklch(37.25% 0.095 145.6)
XYZxyz(3.2414, 5.5833, 2.1349)
Luminance0.0558 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174D1E #4D1746
analogous
#2B4D17 #174D1E #174D39
triadic
#174D1E #1E174D #4D1E17
tetradic
#174D1E #172B4D #4D1746 #4D3917
square
#174D1E #172B4D #4D1746 #4D3917
split-complementary
#174D1E #39174D #4D172B
monochromatic
#071809 #091E0C #174D1E #257C30 #33AB43

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##174D1E#FFFFFF#000000##FFFFFF
##174D1E1.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)
#4E461A
Deuteranopia (green-blind)
#484122
Tritanopia (blue-blind)
#094B42
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #174d1e;
/* rgb */ color: rgb(23, 77, 30);
/* oklch */ color: oklch(37.3% 0.095 145.6);
Tailwind
colors: {
  custom: {
    50: '#5c7f5b',
    500: '#174d1e',
    950: '#000000',
  },
}
SCSS
$custom: #174d1e;
$custom-light: #5c7f5b;
$custom-dark: #000000;
JSON
{
  "hex": "#174d1e",
  "rgb": {
    "r": 23,
    "g": 77,
    "b": 30
  },
  "hsl": {
    "h": 127.778,
    "s": 54,
    "l": 19.608
  },
  "oklch": {
    "l": 0.3725,
    "c": 0.09495,
    "h": 145.6
  },
  "luminance": 0.05584
}

Semantic roles & 50–950 ramp

primary
#174D1E
secondary
#843C7B
accent
#4ACADD
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A04
muted
#797C79

Preview Lab

Preview with #174D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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