#174F2C#174F2C

#174F2C is a dark, moderate green. Relative luminance 0.060; OKLCH L 38.1% C 0.083 H 152.4°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#174F2C
RGBrgb(23, 79, 44)
HSLhsl(143, 55%, 20%)
HSVhsv(143, 71%, 31%)
CMYKcmyk(70.9%, 0%, 44.3%, 69%)
CIE-LABlab(29.30, -27.29, 15.48)
CIE-LCHlch(29.30, 31.37, 150.43°)
OKLaboklab(38.12% -0.0737 0.0385)
OKLCHoklch(38.12% 0.083 152.4)
XYZxyz(3.6037, 5.9556, 3.3420)
Luminance0.0596 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174F2C #4F173A
analogous
#1E4F17 #174F2C #174F48
triadic
#174F2C #2C174F #4F2C17
tetradic
#174F2C #171E4F #4F173A #4F4817
square
#174F2C #171E4F #4F173A #4F4817
split-complementary
#174F2C #48174F #4F171E
monochromatic
#07180D #092012 #174F2C #257E46 #33AE61

Accessibility & contrast

On white

9.58
#174F2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#174F2C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174F2C
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174F2C#FFFFFF#000000##FFFFFF
##174F2C1.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F482A
Deuteranopia (green-blind)
#48432E
Tritanopia (blue-blind)
#014E46
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #174f2c;
/* rgb */ color: rgb(23, 79, 44);
/* oklch */ color: oklch(38.1% 0.083 152.4);
Tailwind
colors: {
  custom: {
    50: '#5c8165',
    500: '#174f2c',
    950: '#000000',
  },
}
SCSS
$custom: #174f2c;
$custom-light: #5c8165;
$custom-dark: #000000;
JSON
{
  "hex": "#174f2c",
  "rgb": {
    "r": 23,
    "g": 79,
    "b": 44
  },
  "hsl": {
    "h": 142.5,
    "s": 54.902,
    "l": 20
  },
  "oklch": {
    "l": 0.38119,
    "c": 0.08315,
    "h": 152.4
  },
  "luminance": 0.05956
}

Semantic roles & 50–950 ramp

primary
#174F2C
secondary
#863C6A
accent
#4AA6DE
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040A05
muted
#797C7A

Preview Lab

Preview with #174F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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