#174F31#174F31

#174F31 is a dark, moderate green. Relative luminance 0.060; OKLCH L 38.2% C 0.078 H 156.1°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#174F31
RGBrgb(23, 79, 49)
HSLhsl(148, 55%, 20%)
HSVhsv(148, 71%, 31%)
CMYKcmyk(70.9%, 0%, 38%, 69%)
CIE-LABlab(29.40, -26.19, 12.54)
CIE-LCHlch(29.40, 29.03, 154.42°)
OKLaboklab(38.24% -0.071 0.0315)
OKLCHoklch(38.24% 0.078 156.1)
XYZxyz(3.7034, 5.9955, 3.8672)
Luminance0.0600 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174F31 #4F1735
analogous
#194F17 #174F31 #174F4D
triadic
#174F31 #31174F #4F3117
tetradic
#174F31 #17194F #4F1735 #4F4D17
square
#174F31 #17194F #4F1735 #4F4D17
split-complementary
#174F31 #4D174F #4F1719
monochromatic
#07180F #092014 #174F31 #257E4E #33AE6C

Accessibility & contrast

On white

9.55
#174F31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#174F31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174F31
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174F31#FFFFFF#000000##FFFFFF
##174F311.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F482F
Deuteranopia (green-blind)
#474333
Tritanopia (blue-blind)
#004E47
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #174f31;
/* rgb */ color: rgb(23, 79, 49);
/* oklch */ color: oklch(38.2% 0.078 156.1);
Tailwind
colors: {
  custom: {
    50: '#5c8169',
    500: '#174f31',
    950: '#000000',
  },
}
SCSS
$custom: #174f31;
$custom-light: #5c8169;
$custom-dark: #000000;
JSON
{
  "hex": "#174f31",
  "rgb": {
    "r": 23,
    "g": 79,
    "b": 49
  },
  "hsl": {
    "h": 147.857,
    "s": 54.902,
    "l": 20
  },
  "oklch": {
    "l": 0.38235,
    "c": 0.07773,
    "h": 156.1
  },
  "luminance": 0.05996
}

Semantic roles & 50–950 ramp

primary
#174F31
secondary
#863C64
accent
#4A99DE
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040A06
muted
#797C7A

Preview Lab

Preview with #174F31

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

Preview Lab → · Contrast checker → · Palette generator →

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