#174E2C#174E2C

#174E2C is a dark, moderate green. Relative luminance 0.058; OKLCH L 37.8% C 0.082 H 152.8°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#174E2C
RGBrgb(23, 78, 44)
HSLhsl(143, 54%, 20%)
HSVhsv(143, 71%, 31%)
CMYKcmyk(70.5%, 0%, 43.6%, 69.4%)
CIE-LABlab(28.93, -26.83, 15.00)
CIE-LCHlch(28.93, 30.74, 150.79°)
OKLaboklab(37.82% -0.0725 0.0373)
OKLCHoklch(37.82% 0.082 152.8)
XYZxyz(3.5321, 5.8124, 3.3182)
Luminance0.0581 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174E2C #4E1739
analogous
#1E4E17 #174E2C #174E48
triadic
#174E2C #2C174E #4E2C17
tetradic
#174E2C #171E4E #4E1739 #4E4817
square
#174E2C #171E4E #4E1739 #4E4817
split-complementary
#174E2C #48174E #4E171E
monochromatic
#07180D #091F11 #174E2C #257D47 #33AD61

Accessibility & contrast

On white

9.71
#174E2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#174E2C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174E2C
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174E2C#FFFFFF#000000##FFFFFF
##174E2C1.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E472A
Deuteranopia (green-blind)
#47422E
Tritanopia (blue-blind)
#014D45
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #174e2c;
/* rgb */ color: rgb(23, 78, 44);
/* oklch */ color: oklch(37.8% 0.082 152.8);
Tailwind
colors: {
  custom: {
    50: '#5b8065',
    500: '#174e2c',
    950: '#000000',
  },
}
SCSS
$custom: #174e2c;
$custom-light: #5b8065;
$custom-dark: #000000;
JSON
{
  "hex": "#174e2c",
  "rgb": {
    "r": 23,
    "g": 78,
    "b": 44
  },
  "hsl": {
    "h": 142.909,
    "s": 54.455,
    "l": 19.804
  },
  "oklch": {
    "l": 0.37818,
    "c": 0.08156,
    "h": 152.8
  },
  "luminance": 0.05813
}

Semantic roles & 50–950 ramp

primary
#174E2C
secondary
#853C69
accent
#4AA5DE
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040A05
muted
#797C7A

Preview Lab

Preview with #174E2C

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

Preview Lab → · Contrast checker → · Palette generator →

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