#174E1C#174E1C

#174E1C is a dark, moderate green. Relative luminance 0.057; OKLCH L 37.5% C 0.098 H 144.8°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#174E1C
RGBrgb(23, 78, 28)
HSLhsl(125, 54%, 20%)
HSVhsv(125, 71%, 31%)
CMYKcmyk(70.5%, 0%, 64.1%, 69.4%)
CIE-LABlab(28.68, -29.68, 24.02)
CIE-LCHlch(28.68, 38.18, 141.02°)
OKLaboklab(37.53% -0.0804 0.0568)
OKLCHoklch(37.53% 0.098 144.8)
XYZxyz(3.2871, 5.7144, 2.0282)
Luminance0.0571 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174E1C #4E1749
analogous
#2D4E17 #174E1C #174E38
triadic
#174E1C #1C174E #4E1C17
tetradic
#174E1C #172D4E #4E1749 #4E3817
square
#174E1C #172D4E #4E1749 #4E3817
split-complementary
#174E1C #38174E #4E172D
monochromatic
#071808 #091F0B #174E1C #257D2D #33AD3E

Accessibility & contrast

On white

9.80
#174E1C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#174E1C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174E1C
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174E1C#FFFFFF#000000##FFFFFF
##174E1C1.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4617
Deuteranopia (green-blind)
#494220
Tritanopia (blue-blind)
#094C43
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #174e1c;
/* rgb */ color: rgb(23, 78, 28);
/* oklch */ color: oklch(37.5% 0.098 144.8);
Tailwind
colors: {
  custom: {
    50: '#5c805a',
    500: '#174e1c',
    950: '#000000',
  },
}
SCSS
$custom: #174e1c;
$custom-light: #5c805a;
$custom-dark: #000000;
JSON
{
  "hex": "#174e1c",
  "rgb": {
    "r": 23,
    "g": 78,
    "b": 28
  },
  "hsl": {
    "h": 125.455,
    "s": 54.455,
    "l": 19.804
  },
  "oklch": {
    "l": 0.37526,
    "c": 0.0984,
    "h": 144.8
  },
  "luminance": 0.05715
}

Semantic roles & 50–950 ramp

primary
#174E1C
secondary
#853C7E
accent
#4AD0DE
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A04
muted
#797C79

Preview Lab

Preview with #174E1C

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

Preview Lab → · Contrast checker → · Palette generator →

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