#174F2A#174F2A

#174F2A is a dark, moderate green. Relative luminance 0.059; OKLCH L 38.1% C 0.085 H 151.2°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#174F2A
RGBrgb(23, 79, 42)
HSLhsl(140, 55%, 20%)
HSVhsv(140, 71%, 31%)
CMYKcmyk(70.9%, 0%, 46.8%, 69%)
CIE-LABlab(29.26, -27.70, 16.65)
CIE-LCHlch(29.26, 32.32, 148.99°)
OKLaboklab(38.08% -0.0748 0.0411)
OKLCHoklch(38.08% 0.085 151.2)
XYZxyz(3.5670, 5.9409, 3.1488)
Luminance0.0594 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174F2A #4F173C
analogous
#204F17 #174F2A #174F46
triadic
#174F2A #2A174F #4F2A17
tetradic
#174F2A #17204F #4F173C #4F4617
square
#174F2A #17204F #4F173C #4F4617
split-complementary
#174F2A #46174F #4F1720
monochromatic
#07180D #092011 #174F2A #257E43 #33AE5C

Accessibility & contrast

On white

9.60
#174F2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#174F2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174F2A
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174F2A#FFFFFF#000000##FFFFFF
##174F2A1.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4827
Deuteranopia (green-blind)
#48432C
Tritanopia (blue-blind)
#024E46
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #174f2a;
/* rgb */ color: rgb(23, 79, 42);
/* oklch */ color: oklch(38.1% 0.085 151.2);
Tailwind
colors: {
  custom: {
    50: '#5c8164',
    500: '#174f2a',
    950: '#000000',
  },
}
SCSS
$custom: #174f2a;
$custom-light: #5c8164;
$custom-dark: #000000;
JSON
{
  "hex": "#174f2a",
  "rgb": {
    "r": 23,
    "g": 79,
    "b": 42
  },
  "hsl": {
    "h": 140.357,
    "s": 54.902,
    "l": 20
  },
  "oklch": {
    "l": 0.38076,
    "c": 0.08534,
    "h": 151.2
  },
  "luminance": 0.05941
}

Semantic roles & 50–950 ramp

primary
#174F2A
secondary
#863C6D
accent
#4AACDE
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040A05
muted
#797C7A

Preview Lab

Preview with #174F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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