#174E0C#174E0C

#174E0C is a dark, moderate green. Relative luminance 0.057; OKLCH L 37.4% C 0.111 H 140.8°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#174E0C
RGBrgb(23, 78, 12)
HSLhsl(110, 73%, 18%)
HSVhsv(110, 85%, 31%)
CMYKcmyk(70.5%, 0%, 84.6%, 69.4%)
CIE-LABlab(28.53, -31.44, 31.37)
CIE-LCHlch(28.53, 44.42, 135.06°)
OKLaboklab(37.35% -0.086 0.0702)
OKLCHoklch(37.35% 0.111 140.8)
XYZxyz(3.1439, 5.6572, 1.2740)
Luminance0.0566 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174E0C #430C4E
analogous
#384E0C #174E0C #0C4E22
triadic
#174E0C #0C174E #4E0C17
tetradic
#174E0C #0C384E #430C4E #4E220C
square
#174E0C #0C384E #430C4E #4E220C
split-complementary
#174E0C #220C4E #4E0C38
monochromatic
#081B04 #081B04 #174E0C #278314 #36B81C

Accessibility & contrast

On white

9.85
#174E0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#174E0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174E0C
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174E0C#FFFFFF#000000##FFFFFF
##174E0C1.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504601
Deuteranopia (green-blind)
#4A4213
Tritanopia (blue-blind)
#0E4B42
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #174e0c;
/* rgb */ color: rgb(23, 78, 12);
/* oklch */ color: oklch(37.4% 0.111 140.8);
Tailwind
colors: {
  custom: {
    50: '#5d8051',
    500: '#174e0c',
    950: '#000000',
  },
}
SCSS
$custom: #174e0c;
$custom-light: #5d8051;
$custom-dark: #000000;
JSON
{
  "hex": "#174e0c",
  "rgb": {
    "r": 23,
    "g": 78,
    "b": 12
  },
  "hsl": {
    "h": 110,
    "s": 73.333,
    "l": 17.647
  },
  "oklch": {
    "l": 0.37354,
    "c": 0.11105,
    "h": 140.8
  },
  "luminance": 0.05657
}

Semantic roles & 50–950 ramp

primary
#174E0C
secondary
#7A2C8A
accent
#38F0D1
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#050A02
muted
#797C78

Preview Lab

Preview with #174E0C

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

Preview Lab → · Contrast checker → · Palette generator →

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