#174D21#174D21

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

Color values

HEX#174D21
RGBrgb(23, 77, 33)
HSLhsl(131, 54%, 20%)
HSVhsv(131, 70%, 30%)
CMYKcmyk(70.1%, 0%, 57.1%, 69.8%)
CIE-LABlab(28.38, -28.48, 20.86)
CIE-LCHlch(28.38, 35.30, 143.78°)
OKLaboklab(37.3% -0.0769 0.0503)
OKLCHoklch(37.3% 0.092 146.8)
XYZxyz(3.2815, 5.5994, 2.3464)
Luminance0.0560 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174D21 #4D1743
analogous
#284D17 #174D21 #174D3C
triadic
#174D21 #21174D #4D2117
tetradic
#174D21 #17284D #4D1743 #4D3C17
square
#174D21 #17284D #4D1743 #4D3C17
split-complementary
#174D21 #3C174D #4D1728
monochromatic
#07180A #091E0D #174D21 #257C35 #33AB49

Accessibility & contrast

On white

9.91
#174D21 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #174D21
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174D21#FFFFFF#000000##FFFFFF
##174D211.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E461D
Deuteranopia (green-blind)
#474124
Tritanopia (blue-blind)
#084B43
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #174d21;
/* rgb */ color: rgb(23, 77, 33);
/* oklch */ color: oklch(37.3% 0.092 146.8);
Tailwind
colors: {
  custom: {
    50: '#5c7f5d',
    500: '#174d21',
    950: '#000000',
  },
}
SCSS
$custom: #174d21;
$custom-light: #5c7f5d;
$custom-dark: #000000;
JSON
{
  "hex": "#174d21",
  "rgb": {
    "r": 23,
    "g": 77,
    "b": 33
  },
  "hsl": {
    "h": 131.111,
    "s": 54,
    "l": 19.608
  },
  "oklch": {
    "l": 0.37299,
    "c": 0.09188,
    "h": 146.8
  },
  "luminance": 0.056
}

Semantic roles & 50–950 ramp

primary
#174D21
secondary
#843C77
accent
#4AC2DD
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A04
muted
#797C79

Preview Lab

Preview with #174D21

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

Preview Lab → · Contrast checker → · Palette generator →

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