#174D1B#174D1B

#174D1B is a dark, moderate green. Relative luminance 0.056; OKLCH L 37.2% C 0.098 H 144.5°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#174D1B
RGBrgb(23, 77, 27)
HSLhsl(124, 54%, 20%)
HSVhsv(124, 70%, 30%)
CMYKcmyk(70.1%, 0%, 64.9%, 69.8%)
CIE-LABlab(28.30, -29.40, 24.11)
CIE-LCHlch(28.30, 38.03, 140.64°)
OKLaboklab(37.21% -0.0796 0.0569)
OKLCHoklch(37.21% 0.098 144.5)
XYZxyz(3.2049, 5.5687, 1.9427)
Luminance0.0557 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174D1B #4D1749
analogous
#2E4D17 #174D1B #174D36
triadic
#174D1B #1B174D #4D1B17
tetradic
#174D1B #172E4D #4D1749 #4D3617
square
#174D1B #172E4D #4D1749 #4D3617
split-complementary
#174D1B #36174D #4D172E
monochromatic
#071808 #091E0A #174D1B #257C2C #33AB3C

Accessibility & contrast

On white

9.93
#174D1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #174D1B
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174D1B#FFFFFF#000000##FFFFFF
##174D1B1.009.932.119.93
#FFFFFF9.931.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4616
Deuteranopia (green-blind)
#48411F
Tritanopia (blue-blind)
#0A4B42
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #174d1b;
/* rgb */ color: rgb(23, 77, 27);
/* oklch */ color: oklch(37.2% 0.098 144.5);
Tailwind
colors: {
  custom: {
    50: '#5c7f59',
    500: '#174d1b',
    950: '#000000',
  },
}
SCSS
$custom: #174d1b;
$custom-light: #5c7f59;
$custom-dark: #000000;
JSON
{
  "hex": "#174d1b",
  "rgb": {
    "r": 23,
    "g": 77,
    "b": 27
  },
  "hsl": {
    "h": 124.444,
    "s": 54,
    "l": 19.608
  },
  "oklch": {
    "l": 0.37205,
    "c": 0.09789,
    "h": 144.5
  },
  "luminance": 0.05569
}

Semantic roles & 50–950 ramp

primary
#174D1B
secondary
#843C7F
accent
#4AD2DD
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A03
muted
#797C78

Preview Lab

Preview with #174D1B

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

Preview Lab → · Contrast checker → · Palette generator →

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