#174D28#174D28

#174D28 is a dark, moderate green. Relative luminance 0.056; OKLCH L 37.4% C 0.084 H 150.5°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#174D28
RGBrgb(23, 77, 40)
HSLhsl(139, 54%, 20%)
HSVhsv(139, 70%, 30%)
CMYKcmyk(70.1%, 0%, 48.1%, 69.8%)
CIE-LABlab(28.49, -27.19, 16.86)
CIE-LCHlch(28.49, 32.00, 148.20°)
OKLaboklab(37.43% -0.0734 0.0415)
OKLCHoklch(37.43% 0.084 150.5)
XYZxyz(3.3900, 5.6428, 2.9176)
Luminance0.0564 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174D28 #4D173C
analogous
#214D17 #174D28 #174D43
triadic
#174D28 #28174D #4D2817
tetradic
#174D28 #17214D #4D173C #4D4317
square
#174D28 #17214D #4D173C #4D4317
split-complementary
#174D28 #43174D #4D1721
monochromatic
#07180C #091E10 #174D28 #257C40 #33AB59

Accessibility & contrast

On white

9.87
#174D28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #174D28
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174D28#FFFFFF#000000##FFFFFF
##174D281.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4625
Deuteranopia (green-blind)
#47412A
Tritanopia (blue-blind)
#044C44
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #174d28;
/* rgb */ color: rgb(23, 77, 40);
/* oklch */ color: oklch(37.4% 0.084 150.5);
Tailwind
colors: {
  custom: {
    50: '#5b7f62',
    500: '#174d28',
    950: '#000000',
  },
}
SCSS
$custom: #174d28;
$custom-light: #5b7f62;
$custom-dark: #000000;
JSON
{
  "hex": "#174d28",
  "rgb": {
    "r": 23,
    "g": 77,
    "b": 40
  },
  "hsl": {
    "h": 138.889,
    "s": 54,
    "l": 19.608
  },
  "oklch": {
    "l": 0.3743,
    "c": 0.08435,
    "h": 150.5
  },
  "luminance": 0.05643
}

Semantic roles & 50–950 ramp

primary
#174D28
secondary
#843C6D
accent
#4AAFDD
background
#F5F7F5
surface
#E9EEEA
border
#C5C9C6
text
#040A05
muted
#797C79

Preview Lab

Preview with #174D28

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

Preview Lab → · Contrast checker → · Palette generator →

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