#174A2C#174A2C

#174A2C is a dark, moderate green. Relative luminance 0.053; OKLCH L 36.6% C 0.075 H 154.2°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#174A2C
RGBrgb(23, 74, 44)
HSLhsl(145, 53%, 19%)
HSVhsv(145, 69%, 29%)
CMYKcmyk(68.9%, 0%, 40.5%, 71%)
CIE-LABlab(27.47, -24.96, 13.05)
CIE-LCHlch(27.47, 28.17, 152.39°)
OKLaboklab(36.61% -0.0676 0.0327)
OKLCHoklch(36.61% 0.075 154.2)
XYZxyz(3.2565, 5.2612, 3.2263)
Luminance0.0526 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174A2C #4A1735
analogous
#1C4A17 #174A2C #174A46
triadic
#174A2C #2C174A #4A2C17
tetradic
#174A2C #171C4A #4A1735 #4A4617
square
#174A2C #171C4A #4A1735 #4A4617
split-complementary
#174A2C #46174A #4A171C
monochromatic
#07170E #081B10 #174A2C #267948 #34A764

Accessibility & contrast

On white

10.23
#174A2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#174A2C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174A2C
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174A2C#FFFFFF#000000##FFFFFF
##174A2C1.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A442A
Deuteranopia (green-blind)
#433F2E
Tritanopia (blue-blind)
#034942
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #174a2c;
/* rgb */ color: rgb(23, 74, 44);
/* oklch */ color: oklch(36.6% 0.075 154.2);
Tailwind
colors: {
  custom: {
    50: '#5b7d65',
    500: '#174a2c',
    950: '#000000',
  },
}
SCSS
$custom: #174a2c;
$custom-light: #5b7d65;
$custom-dark: #000000;
JSON
{
  "hex": "#174a2c",
  "rgb": {
    "r": 23,
    "g": 74,
    "b": 44
  },
  "hsl": {
    "h": 144.706,
    "s": 52.577,
    "l": 19.02
  },
  "oklch": {
    "l": 0.36612,
    "c": 0.07512,
    "h": 154.2
  },
  "luminance": 0.05262
}

Semantic roles & 50–950 ramp

primary
#174A2C
secondary
#813C65
accent
#4CA1DC
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040905
muted
#797B7A

Preview Lab

Preview with #174A2C

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

Preview Lab → · Contrast checker → · Palette generator →

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