#174D18#174D18

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

Color values

HEX#174D18
RGBrgb(23, 77, 24)
HSLhsl(121, 54%, 20%)
HSVhsv(121, 70%, 30%)
CMYKcmyk(70.1%, 0%, 68.8%, 69.8%)
CIE-LABlab(28.26, -29.81, 25.66)
CIE-LCHlch(28.26, 39.33, 139.28°)
OKLaboklab(37.17% -0.0809 0.0599)
OKLCHoklch(37.17% 0.101 143.5)
XYZxyz(3.1719, 5.5555, 1.7691)
Luminance0.0556 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174D18 #4D174C
analogous
#314D17 #174D18 #174D33
triadic
#174D18 #18174D #4D1817
tetradic
#174D18 #17314D #4D174C #4D3317
square
#174D18 #17314D #4D174C #4D3317
split-complementary
#174D18 #33174D #4D1731
monochromatic
#071807 #091E09 #174D18 #257C27 #33AB35

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##174D18#FFFFFF#000000##FFFFFF
##174D181.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)
#4F4512
Deuteranopia (green-blind)
#48411C
Tritanopia (blue-blind)
#0B4B42
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #174d18;
/* rgb */ color: rgb(23, 77, 24);
/* oklch */ color: oklch(37.2% 0.101 143.5);
Tailwind
colors: {
  custom: {
    50: '#5c7f57',
    500: '#174d18',
    950: '#000000',
  },
}
SCSS
$custom: #174d18;
$custom-light: #5c7f57;
$custom-dark: #000000;
JSON
{
  "hex": "#174d18",
  "rgb": {
    "r": 23,
    "g": 77,
    "b": 24
  },
  "hsl": {
    "h": 121.111,
    "s": 54,
    "l": 19.608
  },
  "oklch": {
    "l": 0.37165,
    "c": 0.10066,
    "h": 143.5
  },
  "luminance": 0.05556
}

Semantic roles & 50–950 ramp

primary
#174D18
secondary
#843C83
accent
#4ADBDD
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A03
muted
#797C78

Preview Lab

Preview with #174D18

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

Preview Lab → · Contrast checker → · Palette generator →

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