#174A0C#174A0C

#174A0C is a dark, moderate green. Relative luminance 0.051; OKLCH L 36.1% C 0.106 H 140.6°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#174A0C
RGBrgb(23, 74, 12)
HSLhsl(109, 72%, 17%)
HSVhsv(109, 84%, 29%)
CMYKcmyk(68.9%, 0%, 83.8%, 71%)
CIE-LABlab(27.03, -29.82, 29.91)
CIE-LCHlch(27.03, 42.24, 134.92°)
OKLaboklab(36.12% -0.0817 0.0672)
OKLCHoklch(36.12% 0.106 140.6)
XYZxyz(2.8684, 5.1060, 1.1822)
Luminance0.0511 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174A0C #3F0C4A
analogous
#364A0C #174A0C #0C4A20
triadic
#174A0C #0C174A #4A0C17
tetradic
#174A0C #0C364A #3F0C4A #4A200C
square
#174A0C #0C364A #3F0C4A #4A200C
split-complementary
#174A0C #200C4A #4A0C36
monochromatic
#081A04 #081A04 #174A0C #277F15 #38B31D

Accessibility & contrast

On white

10.39
#174A0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#174A0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174A0C
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174A0C#FFFFFF#000000##FFFFFF
##174A0C1.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4202
Deuteranopia (green-blind)
#463E13
Tritanopia (blue-blind)
#0F473E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #174a0c;
/* rgb */ color: rgb(23, 74, 12);
/* oklch */ color: oklch(36.1% 0.106 140.6);
Tailwind
colors: {
  custom: {
    50: '#5c7d50',
    500: '#174a0c',
    950: '#000000',
  },
}
SCSS
$custom: #174a0c;
$custom-light: #5c7d50;
$custom-dark: #000000;
JSON
{
  "hex": "#174a0c",
  "rgb": {
    "r": 23,
    "g": 74,
    "b": 12
  },
  "hsl": {
    "h": 109.355,
    "s": 72.093,
    "l": 16.863
  },
  "oklch": {
    "l": 0.36115,
    "c": 0.10575,
    "h": 140.6
  },
  "luminance": 0.05106
}

Semantic roles & 50–950 ramp

primary
#174A0C
secondary
#762C86
accent
#39EFCF
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040A02
muted
#797C78

Preview Lab

Preview with #174A0C

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

Preview Lab → · Contrast checker → · Palette generator →

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