#174C2E#174C2E

#174C2E is a dark, moderate green. Relative luminance 0.055; OKLCH L 37.3% C 0.076 H 155.0°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#174C2E
RGBrgb(23, 76, 46)
HSLhsl(146, 54%, 19%)
HSVhsv(146, 70%, 30%)
CMYKcmyk(69.7%, 0%, 39.5%, 70.2%)
CIE-LABlab(28.24, -25.46, 12.84)
CIE-LCHlch(28.24, 28.51, 153.23°)
OKLaboklab(37.26% -0.069 0.0322)
OKLCHoklch(37.26% 0.076 155)
XYZxyz(3.4306, 5.5479, 3.4743)
Luminance0.0555 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174C2E #4C1735
analogous
#1B4C17 #174C2E #174C49
triadic
#174C2E #2E174C #4C2E17
tetradic
#174C2E #171B4C #4C1735 #4C4917
square
#174C2E #171B4C #4C1735 #4C4917
split-complementary
#174C2E #49174C #4C171B
monochromatic
#07170E #091D12 #174C2E #257B4A #33AA67

Accessibility & contrast

On white

9.95
#174C2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#174C2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174C2E
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174C2E#FFFFFF#000000##FFFFFF
##174C2E1.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C462C
Deuteranopia (green-blind)
#454130
Tritanopia (blue-blind)
#014B44
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #174c2e;
/* rgb */ color: rgb(23, 76, 46);
/* oklch */ color: oklch(37.3% 0.076 155.0);
Tailwind
colors: {
  custom: {
    50: '#5b7e67',
    500: '#174c2e',
    950: '#000000',
  },
}
SCSS
$custom: #174c2e;
$custom-light: #5b7e67;
$custom-dark: #000000;
JSON
{
  "hex": "#174c2e",
  "rgb": {
    "r": 23,
    "g": 76,
    "b": 46
  },
  "hsl": {
    "h": 146.038,
    "s": 53.535,
    "l": 19.412
  },
  "oklch": {
    "l": 0.37262,
    "c": 0.07617,
    "h": 155
  },
  "luminance": 0.05548
}

Semantic roles & 50–950 ramp

primary
#174C2E
secondary
#833C64
accent
#4B9EDD
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040A06
muted
#797C7A

Preview Lab

Preview with #174C2E

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

Preview Lab → · Contrast checker → · Palette generator →

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