#174F2F#174F2F

#174F2F is a dark, moderate green. Relative luminance 0.060; OKLCH L 38.2% C 0.080 H 154.5°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#174F2F
RGBrgb(23, 79, 47)
HSLhsl(146, 55%, 20%)
HSVhsv(146, 71%, 31%)
CMYKcmyk(70.9%, 0%, 40.5%, 69%)
CIE-LABlab(29.36, -26.64, 13.72)
CIE-LCHlch(29.36, 29.96, 152.75°)
OKLaboklab(38.19% -0.0721 0.0344)
OKLCHoklch(38.19% 0.08 154.5)
XYZxyz(3.6621, 5.9790, 3.6498)
Luminance0.0598 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174F2F #4F1737
analogous
#1B4F17 #174F2F #174F4B
triadic
#174F2F #2F174F #4F2F17
tetradic
#174F2F #171B4F #4F1737 #4F4B17
square
#174F2F #171B4F #4F1737 #4F4B17
split-complementary
#174F2F #4B174F #4F171B
monochromatic
#07180E #092013 #174F2F #257E4B #33AE67

Accessibility & contrast

On white

9.56
#174F2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#174F2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174F2F
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174F2F#FFFFFF#000000##FFFFFF
##174F2F1.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F482D
Deuteranopia (green-blind)
#484331
Tritanopia (blue-blind)
#004E47
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #174f2f;
/* rgb */ color: rgb(23, 79, 47);
/* oklch */ color: oklch(38.2% 0.080 154.5);
Tailwind
colors: {
  custom: {
    50: '#5c8167',
    500: '#174f2f',
    950: '#000000',
  },
}
SCSS
$custom: #174f2f;
$custom-light: #5c8167;
$custom-dark: #000000;
JSON
{
  "hex": "#174f2f",
  "rgb": {
    "r": 23,
    "g": 79,
    "b": 47
  },
  "hsl": {
    "h": 145.714,
    "s": 54.902,
    "l": 20
  },
  "oklch": {
    "l": 0.38187,
    "c": 0.07989,
    "h": 154.5
  },
  "luminance": 0.05979
}

Semantic roles & 50–950 ramp

primary
#174F2F
secondary
#863C66
accent
#4A9FDE
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040A06
muted
#797C7A

Preview Lab

Preview with #174F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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