#174E31#174E31

#174E31 is a dark, moderate green. Relative luminance 0.059; OKLCH L 37.9% C 0.076 H 156.5°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#174E31
RGBrgb(23, 78, 49)
HSLhsl(148, 54%, 20%)
HSVhsv(148, 71%, 31%)
CMYKcmyk(70.5%, 0%, 37.2%, 69.4%)
CIE-LABlab(29.04, -25.72, 12.04)
CIE-LCHlch(29.04, 28.40, 154.90°)
OKLaboklab(37.94% -0.0698 0.0304)
OKLCHoklch(37.94% 0.076 156.5)
XYZxyz(3.6318, 5.8523, 3.8433)
Luminance0.0585 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174E31 #4E1734
analogous
#184E17 #174E31 #174E4D
triadic
#174E31 #31174E #4E3117
tetradic
#174E31 #17184E #4E1734 #4E4D17
square
#174E31 #17184E #4E1734 #4E4D17
split-complementary
#174E31 #4D174E #4E1718
monochromatic
#07180F #091F13 #174E31 #257D4F #33AD6C

Accessibility & contrast

On white

9.67
#174E31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#174E31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174E31
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174E31#FFFFFF#000000##FFFFFF
##174E311.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E482F
Deuteranopia (green-blind)
#464233
Tritanopia (blue-blind)
#004D46
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #174e31;
/* rgb */ color: rgb(23, 78, 49);
/* oklch */ color: oklch(37.9% 0.076 156.5);
Tailwind
colors: {
  custom: {
    50: '#5b8069',
    500: '#174e31',
    950: '#000000',
  },
}
SCSS
$custom: #174e31;
$custom-light: #5b8069;
$custom-dark: #000000;
JSON
{
  "hex": "#174e31",
  "rgb": {
    "r": 23,
    "g": 78,
    "b": 49
  },
  "hsl": {
    "h": 148.364,
    "s": 54.455,
    "l": 19.804
  },
  "oklch": {
    "l": 0.37936,
    "c": 0.07613,
    "h": 156.5
  },
  "luminance": 0.05853
}

Semantic roles & 50–950 ramp

primary
#174E31
secondary
#853C62
accent
#4A98DE
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040A06
muted
#797C7A

Preview Lab

Preview with #174E31

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

Preview Lab → · Contrast checker → · Palette generator →

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