#174D31#174D31

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

Color values

HEX#174D31
RGBrgb(23, 77, 49)
HSLhsl(149, 54%, 20%)
HSVhsv(149, 70%, 30%)
CMYKcmyk(70.1%, 0%, 36.4%, 69.8%)
CIE-LABlab(28.67, -25.24, 11.55)
CIE-LCHlch(28.67, 27.76, 155.41°)
OKLaboklab(37.64% -0.0686 0.0292)
OKLCHoklch(37.64% 0.075 157)
XYZxyz(3.5613, 5.7113, 3.8198)
Luminance0.0571 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174D31 #4D1733
analogous
#184D17 #174D31 #174D4C
triadic
#174D31 #31174D #4D3117
tetradic
#174D31 #17184D #4D1733 #4D4C17
square
#174D31 #17184D #4D1733 #4D4C17
split-complementary
#174D31 #4C174D #4D1718
monochromatic
#07180F #091E13 #174D31 #257C4F #33AB6D

Accessibility & contrast

On white

9.80
#174D31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #174D31
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174D31#FFFFFF#000000##FFFFFF
##174D311.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C472F
Deuteranopia (green-blind)
#454233
Tritanopia (blue-blind)
#004C46
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #174d31;
/* rgb */ color: rgb(23, 77, 49);
/* oklch */ color: oklch(37.6% 0.075 157.0);
Tailwind
colors: {
  custom: {
    50: '#5b7f69',
    500: '#174d31',
    950: '#000000',
  },
}
SCSS
$custom: #174d31;
$custom-light: #5b7f69;
$custom-dark: #000000;
JSON
{
  "hex": "#174d31",
  "rgb": {
    "r": 23,
    "g": 77,
    "b": 49
  },
  "hsl": {
    "h": 148.889,
    "s": 54,
    "l": 19.608
  },
  "oklch": {
    "l": 0.37636,
    "c": 0.07454,
    "h": 157
  },
  "luminance": 0.05712
}

Semantic roles & 50–950 ramp

primary
#174D31
secondary
#843C61
accent
#4A97DD
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040A06
muted
#797C7A

Preview Lab

Preview with #174D31

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

Preview Lab → · Contrast checker → · Palette generator →

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