#174A2F#174A2F

#174A2F is a dark, moderate green. Relative luminance 0.053; OKLCH L 36.7% C 0.072 H 156.7°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#174A2F
RGBrgb(23, 74, 47)
HSLhsl(148, 53%, 19%)
HSVhsv(148, 69%, 29%)
CMYKcmyk(68.9%, 0%, 36.5%, 71%)
CIE-LABlab(27.53, -24.27, 11.26)
CIE-LCHlch(27.53, 26.75, 155.12°)
OKLaboklab(36.69% -0.066 0.0284)
OKLCHoklch(36.69% 0.072 156.7)
XYZxyz(3.3149, 5.2846, 3.5341)
Luminance0.0529 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174A2F #4A1732
analogous
#194A17 #174A2F #174A49
triadic
#174A2F #2F174A #4A2F17
tetradic
#174A2F #17194A #4A1732 #4A4917
square
#174A2F #17194A #4A1732 #4A4917
split-complementary
#174A2F #49174A #4A1719
monochromatic
#07170F #081B11 #174A2F #26794D #34A76A

Accessibility & contrast

On white

10.21
#174A2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#174A2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174A2F
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174A2F#FFFFFF#000000##FFFFFF
##174A2F1.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A442D
Deuteranopia (green-blind)
#433F31
Tritanopia (blue-blind)
#014943
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #174a2f;
/* rgb */ color: rgb(23, 74, 47);
/* oklch */ color: oklch(36.7% 0.072 156.7);
Tailwind
colors: {
  custom: {
    50: '#5b7d67',
    500: '#174a2f',
    950: '#000000',
  },
}
SCSS
$custom: #174a2f;
$custom-light: #5b7d67;
$custom-dark: #000000;
JSON
{
  "hex": "#174a2f",
  "rgb": {
    "r": 23,
    "g": 74,
    "b": 47
  },
  "hsl": {
    "h": 148.235,
    "s": 52.577,
    "l": 19.02
  },
  "oklch": {
    "l": 0.36685,
    "c": 0.07185,
    "h": 156.7
  },
  "luminance": 0.05285
}

Semantic roles & 50–950 ramp

primary
#174A2F
secondary
#813C60
accent
#4C98DC
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040906
muted
#797B7A

Preview Lab

Preview with #174A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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