#174D2C#174D2C

#174D2C is a dark, moderate green. Relative luminance 0.057; OKLCH L 37.5% C 0.080 H 153.1°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#174D2C
RGBrgb(23, 77, 44)
HSLhsl(143, 54%, 20%)
HSVhsv(143, 70%, 30%)
CMYKcmyk(70.1%, 0%, 42.9%, 69.8%)
CIE-LABlab(28.57, -26.37, 14.52)
CIE-LCHlch(28.57, 30.10, 151.16°)
OKLaboklab(37.52% -0.0713 0.0362)
OKLCHoklch(37.52% 0.08 153.1)
XYZxyz(3.4616, 5.6714, 3.2946)
Luminance0.0567 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174D2C #4D1738
analogous
#1D4D17 #174D2C #174D47
triadic
#174D2C #2C174D #4D2C17
tetradic
#174D2C #171D4D #4D1738 #4D4717
square
#174D2C #171D4D #4D1738 #4D4717
split-complementary
#174D2C #47174D #4D171D
monochromatic
#07180D #091E11 #174D2C #257C47 #33AB62

Accessibility & contrast

On white

9.84
#174D2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#174D2C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174D2C
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174D2C#FFFFFF#000000##FFFFFF
##174D2C1.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D462A
Deuteranopia (green-blind)
#46412E
Tritanopia (blue-blind)
#024C45
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #174d2c;
/* rgb */ color: rgb(23, 77, 44);
/* oklch */ color: oklch(37.5% 0.080 153.1);
Tailwind
colors: {
  custom: {
    50: '#5b7f65',
    500: '#174d2c',
    950: '#000000',
  },
}
SCSS
$custom: #174d2c;
$custom-light: #5b7f65;
$custom-dark: #000000;
JSON
{
  "hex": "#174d2c",
  "rgb": {
    "r": 23,
    "g": 77,
    "b": 44
  },
  "hsl": {
    "h": 143.333,
    "s": 54,
    "l": 19.608
  },
  "oklch": {
    "l": 0.37517,
    "c": 0.07997,
    "h": 153.1
  },
  "luminance": 0.05672
}

Semantic roles & 50–950 ramp

primary
#174D2C
secondary
#843C68
accent
#4AA4DD
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040A05
muted
#797C7A

Preview Lab

Preview with #174D2C

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

Preview Lab → · Contrast checker → · Palette generator →

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