#174F0F#174F0F

#174F0F is a dark, moderate green. Relative luminance 0.058; OKLCH L 37.7% C 0.110 H 141.3°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#174F0F
RGBrgb(23, 79, 15)
HSLhsl(113, 68%, 18%)
HSVhsv(113, 81%, 31%)
CMYKcmyk(70.9%, 0%, 81%, 69%)
CIE-LABlab(28.92, -31.59, 30.57)
CIE-LCHlch(28.92, 43.96, 135.94°)
OKLaboklab(37.69% -0.0863 0.069)
OKLCHoklch(37.69% 0.11 141.3)
XYZxyz(3.2354, 5.8083, 1.4025)
Luminance0.0581 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174F0F #470F4F
analogous
#374F0F #174F0F #0F4F27
triadic
#174F0F #0F174F #4F0F17
tetradic
#174F0F #0F374F #470F4F #4F270F
square
#174F0F #0F374F #470F4F #4F270F
split-complementary
#174F0F #270F4F #4F0F37
monochromatic
#071A05 #081C05 #174F0F #268219 #35B623

Accessibility & contrast

On white

9.71
#174F0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#174F0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174F0F
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174F0F#FFFFFF#000000##FFFFFF
##174F0F1.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514704
Deuteranopia (green-blind)
#4A4216
Tritanopia (blue-blind)
#0D4C43
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #174f0f;
/* rgb */ color: rgb(23, 79, 15);
/* oklch */ color: oklch(37.7% 0.110 141.3);
Tailwind
colors: {
  custom: {
    50: '#5d8152',
    500: '#174f0f',
    950: '#000000',
  },
}
SCSS
$custom: #174f0f;
$custom-light: #5d8152;
$custom-dark: #000000;
JSON
{
  "hex": "#174f0f",
  "rgb": {
    "r": 23,
    "g": 79,
    "b": 15
  },
  "hsl": {
    "h": 112.5,
    "s": 68.085,
    "l": 18.431
  },
  "oklch": {
    "l": 0.37686,
    "c": 0.11048,
    "h": 141.3
  },
  "luminance": 0.05809
}

Semantic roles & 50–950 ramp

primary
#174F0F
secondary
#7E3189
accent
#3DEBD5
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#050A02
muted
#797C78

Preview Lab

Preview with #174F0F

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

Preview Lab → · Contrast checker → · Palette generator →

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