#174D2E#174D2E

#174D2E is a dark, moderate green. Relative luminance 0.057; OKLCH L 37.6% C 0.078 H 154.6°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#174D2E
RGBrgb(23, 77, 46)
HSLhsl(146, 54%, 20%)
HSVhsv(146, 70%, 30%)
CMYKcmyk(70.1%, 0%, 40.3%, 69.8%)
CIE-LABlab(28.61, -25.93, 13.33)
CIE-LCHlch(28.61, 29.16, 152.78°)
OKLaboklab(37.56% -0.0702 0.0334)
OKLCHoklch(37.56% 0.078 154.6)
XYZxyz(3.5001, 5.6868, 3.4974)
Luminance0.0569 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174D2E #4D1736
analogous
#1B4D17 #174D2E #174D49
triadic
#174D2E #2E174D #4D2E17
tetradic
#174D2E #171B4D #4D1736 #4D4917
square
#174D2E #171B4D #4D1736 #4D4917
split-complementary
#174D2E #49174D #4D171B
monochromatic
#07180E #091E12 #174D2E #257C4A #33AB66

Accessibility & contrast

On white

9.83
#174D2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#174D2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174D2E
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174D2E#FFFFFF#000000##FFFFFF
##174D2E1.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D462C
Deuteranopia (green-blind)
#464130
Tritanopia (blue-blind)
#014C45
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #174d2e;
/* rgb */ color: rgb(23, 77, 46);
/* oklch */ color: oklch(37.6% 0.078 154.6);
Tailwind
colors: {
  custom: {
    50: '#5b7f67',
    500: '#174d2e',
    950: '#000000',
  },
}
SCSS
$custom: #174d2e;
$custom-light: #5b7f67;
$custom-dark: #000000;
JSON
{
  "hex": "#174d2e",
  "rgb": {
    "r": 23,
    "g": 77,
    "b": 46
  },
  "hsl": {
    "h": 145.556,
    "s": 54,
    "l": 19.608
  },
  "oklch": {
    "l": 0.37563,
    "c": 0.07777,
    "h": 154.6
  },
  "luminance": 0.05687
}

Semantic roles & 50–950 ramp

primary
#174D2E
secondary
#843C65
accent
#4A9FDD
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040A06
muted
#797C7A

Preview Lab

Preview with #174D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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