#174C0F#174C0F

#174C0F is a dark, moderate green. Relative luminance 0.054; OKLCH L 36.8% C 0.106 H 141.2°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#174C0F
RGBrgb(23, 76, 15)
HSLhsl(112, 67%, 18%)
HSVhsv(112, 80%, 30%)
CMYKcmyk(69.7%, 0%, 80.3%, 70.2%)
CIE-LABlab(27.81, -30.38, 29.44)
CIE-LCHlch(27.81, 42.31, 135.90°)
OKLaboklab(36.76% -0.083 0.0667)
OKLCHoklch(36.76% 0.106 141.2)
XYZxyz(3.0239, 5.3852, 1.3319)
Luminance0.0539 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174C0F #440F4C
analogous
#354C0F #174C0F #0F4C25
triadic
#174C0F #0F174C #4C0F17
tetradic
#174C0F #0F354C #440F4C #4C250F
square
#174C0F #0F354C #440F4C #4C250F
split-complementary
#174C0F #250F4C #4C0F35
monochromatic
#081A05 #081A05 #174C0F #267F19 #36B223

Accessibility & contrast

On white

10.11
#174C0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#174C0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174C0F
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174C0F#FFFFFF#000000##FFFFFF
##174C0F1.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4405
Deuteranopia (green-blind)
#484015
Tritanopia (blue-blind)
#0E4940
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #174c0f;
/* rgb */ color: rgb(23, 76, 15);
/* oklch */ color: oklch(36.8% 0.106 141.2);
Tailwind
colors: {
  custom: {
    50: '#5c7f52',
    500: '#174c0f',
    950: '#000000',
  },
}
SCSS
$custom: #174c0f;
$custom-light: #5c7f52;
$custom-dark: #000000;
JSON
{
  "hex": "#174c0f",
  "rgb": {
    "r": 23,
    "g": 76,
    "b": 15
  },
  "hsl": {
    "h": 112.131,
    "s": 67.033,
    "l": 17.843
  },
  "oklch": {
    "l": 0.3676,
    "c": 0.10646,
    "h": 141.2
  },
  "luminance": 0.05386
}

Semantic roles & 50–950 ramp

primary
#174C0F
secondary
#7B3186
accent
#3EEAD3
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040A02
muted
#797C78

Preview Lab

Preview with #174C0F

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

Preview Lab → · Contrast checker → · Palette generator →

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