#174E1F#174E1F

#174E1F is a dark, moderate green. Relative luminance 0.057; OKLCH L 37.6% C 0.095 H 145.9°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#174E1F
RGBrgb(23, 78, 31)
HSLhsl(129, 54%, 20%)
HSVhsv(129, 71%, 31%)
CMYKcmyk(70.5%, 0%, 60.3%, 69.4%)
CIE-LABlab(28.72, -29.23, 22.41)
CIE-LCHlch(28.72, 36.83, 142.53°)
OKLaboklab(37.57% -0.079 0.0535)
OKLCHoklch(37.57% 0.095 145.9)
XYZxyz(3.3248, 5.7295, 2.2267)
Luminance0.0573 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174E1F #4E1746
analogous
#2B4E17 #174E1F #174E3A
triadic
#174E1F #1F174E #4E1F17
tetradic
#174E1F #172B4E #4E1746 #4E3A17
square
#174E1F #172B4E #4E1746 #4E3A17
split-complementary
#174E1F #3A174E #4E172B
monochromatic
#071809 #091F0C #174E1F #257D32 #33AD45

Accessibility & contrast

On white

9.79
#174E1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#174E1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174E1F
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174E1F#FFFFFF#000000##FFFFFF
##174E1F1.009.792.159.79
#FFFFFF9.791.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F471B
Deuteranopia (green-blind)
#484223
Tritanopia (blue-blind)
#084C43
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #174e1f;
/* rgb */ color: rgb(23, 78, 31);
/* oklch */ color: oklch(37.6% 0.095 145.9);
Tailwind
colors: {
  custom: {
    50: '#5c805c',
    500: '#174e1f',
    950: '#000000',
  },
}
SCSS
$custom: #174e1f;
$custom-light: #5c805c;
$custom-dark: #000000;
JSON
{
  "hex": "#174e1f",
  "rgb": {
    "r": 23,
    "g": 78,
    "b": 31
  },
  "hsl": {
    "h": 128.727,
    "s": 54.455,
    "l": 19.804
  },
  "oklch": {
    "l": 0.37571,
    "c": 0.09545,
    "h": 145.9
  },
  "luminance": 0.0573
}

Semantic roles & 50–950 ramp

primary
#174E1F
secondary
#853C7A
accent
#4AC8DE
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A04
muted
#797C79

Preview Lab

Preview with #174E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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