#174F18#174F18

#174F18 is a dark, moderate green. Relative luminance 0.058; OKLCH L 37.8% C 0.104 H 143.4°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#174F18
RGBrgb(23, 79, 24)
HSLhsl(121, 55%, 20%)
HSVhsv(121, 71%, 31%)
CMYKcmyk(70.9%, 0%, 69.6%, 69%)
CIE-LABlab(29.00, -30.64, 26.49)
CIE-LCHlch(29.00, 40.50, 139.15°)
OKLaboklab(37.78% -0.0831 0.0617)
OKLCHoklch(37.78% 0.104 143.4)
XYZxyz(3.3140, 5.8397, 1.8165)
Luminance0.0584 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174F18 #4F174E
analogous
#324F17 #174F18 #174F34
triadic
#174F18 #18174F #4F1817
tetradic
#174F18 #17324F #4F174E #4F3417
square
#174F18 #17324F #4F174E #4F3417
split-complementary
#174F18 #34174F #4F1732
monochromatic
#071807 #09200A #174F18 #257E26 #33AE35

Accessibility & contrast

On white

9.69
#174F18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#174F18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174F18
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174F18#FFFFFF#000000##FFFFFF
##174F181.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514711
Deuteranopia (green-blind)
#4A431D
Tritanopia (blue-blind)
#0A4D43
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #174f18;
/* rgb */ color: rgb(23, 79, 24);
/* oklch */ color: oklch(37.8% 0.104 143.4);
Tailwind
colors: {
  custom: {
    50: '#5d8157',
    500: '#174f18',
    950: '#000000',
  },
}
SCSS
$custom: #174f18;
$custom-light: #5d8157;
$custom-dark: #000000;
JSON
{
  "hex": "#174f18",
  "rgb": {
    "r": 23,
    "g": 79,
    "b": 24
  },
  "hsl": {
    "h": 121.071,
    "s": 54.902,
    "l": 20
  },
  "oklch": {
    "l": 0.37779,
    "c": 0.10352,
    "h": 143.4
  },
  "luminance": 0.0584
}

Semantic roles & 50–950 ramp

primary
#174F18
secondary
#863C85
accent
#4ADCDE
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#050A03
muted
#797C78

Preview Lab

Preview with #174F18

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

Preview Lab → · Contrast checker → · Palette generator →

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