#174D2A#174D2A

#174D2A is a dark, moderate green. Relative luminance 0.057; OKLCH L 37.5% C 0.082 H 151.7°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#174D2A
RGBrgb(23, 77, 42)
HSLhsl(141, 54%, 20%)
HSVhsv(141, 70%, 30%)
CMYKcmyk(70.1%, 0%, 45.5%, 69.8%)
CIE-LABlab(28.53, -26.79, 15.70)
CIE-LCHlch(28.53, 31.05, 149.63°)
OKLaboklab(37.47% -0.0724 0.0389)
OKLCHoklch(37.47% 0.082 151.7)
XYZxyz(3.4249, 5.6567, 3.1014)
Luminance0.0566 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174D2A #4D173A
analogous
#1F4D17 #174D2A #174D45
triadic
#174D2A #2A174D #4D2A17
tetradic
#174D2A #171F4D #4D173A #4D4517
square
#174D2A #171F4D #4D173A #4D4517
split-complementary
#174D2A #45174D #4D171F
monochromatic
#07180D #091E10 #174D2A #257C44 #33AB5D

Accessibility & contrast

On white

9.85
#174D2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#174D2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174D2A
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174D2A#FFFFFF#000000##FFFFFF
##174D2A1.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4628
Deuteranopia (green-blind)
#46412C
Tritanopia (blue-blind)
#034C44
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #174d2a;
/* rgb */ color: rgb(23, 77, 42);
/* oklch */ color: oklch(37.5% 0.082 151.7);
Tailwind
colors: {
  custom: {
    50: '#5b7f64',
    500: '#174d2a',
    950: '#000000',
  },
}
SCSS
$custom: #174d2a;
$custom-light: #5b7f64;
$custom-dark: #000000;
JSON
{
  "hex": "#174d2a",
  "rgb": {
    "r": 23,
    "g": 77,
    "b": 42
  },
  "hsl": {
    "h": 141.111,
    "s": 54,
    "l": 19.608
  },
  "oklch": {
    "l": 0.37472,
    "c": 0.08216,
    "h": 151.7
  },
  "luminance": 0.05657
}

Semantic roles & 50–950 ramp

primary
#174D2A
secondary
#843C6B
accent
#4AAADD
background
#F5F7F5
surface
#E9EEEA
border
#C5C9C6
text
#040A05
muted
#797C79

Preview Lab

Preview with #174D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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