#174A18#174A18

#174A18 is a dark, moderate green. Relative luminance 0.051; OKLCH L 36.2% C 0.096 H 143.6°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#174A18
RGBrgb(23, 74, 24)
HSLhsl(121, 53%, 19%)
HSVhsv(121, 69%, 29%)
CMYKcmyk(68.9%, 0%, 67.6%, 71%)
CIE-LABlab(27.15, -28.54, 24.39)
CIE-LCHlch(27.15, 37.54, 139.48°)
OKLaboklab(36.24% -0.0775 0.0572)
OKLCHoklch(36.24% 0.096 143.6)
XYZxyz(2.9668, 5.1454, 1.7008)
Luminance0.0515 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174A18 #4A1749
analogous
#304A17 #174A18 #174A32
triadic
#174A18 #18174A #4A1817
tetradic
#174A18 #17304A #4A1749 #4A3217
square
#174A18 #17304A #4A1749 #4A3217
split-complementary
#174A18 #32174A #4A1730
monochromatic
#071708 #081B09 #174A18 #267927 #34A736

Accessibility & contrast

On white

10.35
#174A18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#174A18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174A18
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174A18#FFFFFF#000000##FFFFFF
##174A181.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4313
Deuteranopia (green-blind)
#453E1C
Tritanopia (blue-blind)
#0D483F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #174a18;
/* rgb */ color: rgb(23, 74, 24);
/* oklch */ color: oklch(36.2% 0.096 143.6);
Tailwind
colors: {
  custom: {
    50: '#5b7d57',
    500: '#174a18',
    950: '#000000',
  },
}
SCSS
$custom: #174a18;
$custom-light: #5b7d57;
$custom-dark: #000000;
JSON
{
  "hex": "#174a18",
  "rgb": {
    "r": 23,
    "g": 74,
    "b": 24
  },
  "hsl": {
    "h": 121.176,
    "s": 52.577,
    "l": 19.02
  },
  "oklch": {
    "l": 0.36242,
    "c": 0.09629,
    "h": 143.6
  },
  "luminance": 0.05146
}

Semantic roles & 50–950 ramp

primary
#174A18
secondary
#813C80
accent
#4CD9DC
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A03
muted
#797C78

Preview Lab

Preview with #174A18

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

Preview Lab → · Contrast checker → · Palette generator →

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