#174E2E#174E2E

#174E2E is a dark, moderate green. Relative luminance 0.058; OKLCH L 37.9% C 0.079 H 154.2°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#174E2E
RGBrgb(23, 78, 46)
HSLhsl(145, 54%, 20%)
HSVhsv(145, 71%, 31%)
CMYKcmyk(70.5%, 0%, 41%, 69.4%)
CIE-LABlab(28.97, -26.40, 13.82)
CIE-LCHlch(28.97, 29.80, 152.36°)
OKLaboklab(37.86% -0.0714 0.0346)
OKLCHoklch(37.86% 0.079 154.2)
XYZxyz(3.5706, 5.8278, 3.5209)
Luminance0.0583 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174E2E #4E1737
analogous
#1C4E17 #174E2E #174E4A
triadic
#174E2E #2E174E #4E2E17
tetradic
#174E2E #171C4E #4E1737 #4E4A17
square
#174E2E #171C4E #4E1737 #4E4A17
split-complementary
#174E2E #4A174E #4E171C
monochromatic
#07180E #091F12 #174E2E #257D4A #33AD66

Accessibility & contrast

On white

9.70
#174E2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#174E2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174E2E
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174E2E#FFFFFF#000000##FFFFFF
##174E2E1.009.702.179.70
#FFFFFF9.701.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E472C
Deuteranopia (green-blind)
#474230
Tritanopia (blue-blind)
#004D46
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #174e2e;
/* rgb */ color: rgb(23, 78, 46);
/* oklch */ color: oklch(37.9% 0.079 154.2);
Tailwind
colors: {
  custom: {
    50: '#5b8067',
    500: '#174e2e',
    950: '#000000',
  },
}
SCSS
$custom: #174e2e;
$custom-light: #5b8067;
$custom-dark: #000000;
JSON
{
  "hex": "#174e2e",
  "rgb": {
    "r": 23,
    "g": 78,
    "b": 46
  },
  "hsl": {
    "h": 145.091,
    "s": 54.455,
    "l": 19.804
  },
  "oklch": {
    "l": 0.37863,
    "c": 0.07938,
    "h": 154.2
  },
  "luminance": 0.05828
}

Semantic roles & 50–950 ramp

primary
#174E2E
secondary
#853C66
accent
#4AA0DE
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040A06
muted
#797C7A

Preview Lab

Preview with #174E2E

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

Preview Lab → · Contrast checker → · Palette generator →

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