#174C2A#174C2A

#174C2A is a dark, moderate green. Relative luminance 0.055; OKLCH L 37.2% C 0.081 H 152.0°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#174C2A
RGBrgb(23, 76, 42)
HSLhsl(142, 54%, 19%)
HSVhsv(142, 70%, 30%)
CMYKcmyk(69.7%, 0%, 44.7%, 70.2%)
CIE-LABlab(28.16, -26.33, 15.21)
CIE-LCHlch(28.16, 30.41, 149.98°)
OKLaboklab(37.17% -0.0712 0.0378)
OKLCHoklch(37.17% 0.081 152)
XYZxyz(3.3554, 5.5179, 3.0783)
Luminance0.0552 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174C2A #4C1739
analogous
#1F4C17 #174C2A #174C45
triadic
#174C2A #2A174C #4C2A17
tetradic
#174C2A #171F4C #4C1739 #4C4517
square
#174C2A #171F4C #4C1739 #4C4517
split-complementary
#174C2A #45174C #4C171F
monochromatic
#07170D #091D10 #174C2A #257B44 #33AA5E

Accessibility & contrast

On white

9.98
#174C2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#174C2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174C2A
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174C2A#FFFFFF#000000##FFFFFF
##174C2A1.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4528
Deuteranopia (green-blind)
#45412C
Tritanopia (blue-blind)
#044B44
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #174c2a;
/* rgb */ color: rgb(23, 76, 42);
/* oklch */ color: oklch(37.2% 0.081 152.0);
Tailwind
colors: {
  custom: {
    50: '#5b7e64',
    500: '#174c2a',
    950: '#000000',
  },
}
SCSS
$custom: #174c2a;
$custom-light: #5b7e64;
$custom-dark: #000000;
JSON
{
  "hex": "#174c2a",
  "rgb": {
    "r": 23,
    "g": 76,
    "b": 42
  },
  "hsl": {
    "h": 141.509,
    "s": 53.535,
    "l": 19.412
  },
  "oklch": {
    "l": 0.3717,
    "c": 0.08057,
    "h": 152
  },
  "luminance": 0.05518
}

Semantic roles & 50–950 ramp

primary
#174C2A
secondary
#833C6A
accent
#4BA9DD
background
#F5F7F5
surface
#E9EEEA
border
#C5C9C6
text
#040A05
muted
#797C79

Preview Lab

Preview with #174C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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