#174D2F#174D2F

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

Color values

HEX#174D2F
RGBrgb(23, 77, 47)
HSLhsl(147, 54%, 20%)
HSVhsv(147, 70%, 30%)
CMYKcmyk(70.1%, 0%, 39%, 69.8%)
CIE-LABlab(28.63, -25.70, 12.74)
CIE-LCHlch(28.63, 28.69, 153.63°)
OKLaboklab(37.59% -0.0697 0.032)
OKLCHoklch(37.59% 0.077 155.3)
XYZxyz(3.5200, 5.6948, 3.6025)
Luminance0.0570 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174D2F #4D1735
analogous
#1A4D17 #174D2F #174D4A
triadic
#174D2F #2F174D #4D2F17
tetradic
#174D2F #171A4D #4D1735 #4D4A17
square
#174D2F #171A4D #4D1735 #4D4A17
split-complementary
#174D2F #4A174D #4D171A
monochromatic
#07180E #091E12 #174D2F #257C4C #33AB69

Accessibility & contrast

On white

9.82
#174D2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #174D2F
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174D2F#FFFFFF#000000##FFFFFF
##174D2F1.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D472D
Deuteranopia (green-blind)
#464131
Tritanopia (blue-blind)
#004C45
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #174d2f;
/* rgb */ color: rgb(23, 77, 47);
/* oklch */ color: oklch(37.6% 0.077 155.3);
Tailwind
colors: {
  custom: {
    50: '#5b7f67',
    500: '#174d2f',
    950: '#000000',
  },
}
SCSS
$custom: #174d2f;
$custom-light: #5b7f67;
$custom-dark: #000000;
JSON
{
  "hex": "#174d2f",
  "rgb": {
    "r": 23,
    "g": 77,
    "b": 47
  },
  "hsl": {
    "h": 146.667,
    "s": 54,
    "l": 19.608
  },
  "oklch": {
    "l": 0.37587,
    "c": 0.07669,
    "h": 155.3
  },
  "luminance": 0.05695
}

Semantic roles & 50–950 ramp

primary
#174D2F
secondary
#843C64
accent
#4A9CDD
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040A06
muted
#797C7A

Preview Lab

Preview with #174D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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