#175E31#175E31

#175E31 is a dark, moderate green. Relative luminance 0.084; OKLCH L 42.7% C 0.101 H 151.3°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#175E31
RGBrgb(23, 94, 49)
HSLhsl(142, 61%, 23%)
HSVhsv(142, 76%, 37%)
CMYKcmyk(75.5%, 0%, 47.9%, 63.1%)
CIE-LABlab(34.82, -32.84, 19.67)
CIE-LCHlch(34.82, 38.28, 149.07°)
OKLaboklab(42.7% -0.0884 0.0484)
OKLCHoklch(42.7% 0.101 151.3)
XYZxyz(4.9100, 8.4088, 4.2694)
Luminance0.0841 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#175E31 #5E1744
analogous
#205E17 #175E31 #175E54
triadic
#175E31 #31175E #5E3117
tetradic
#175E31 #17205E #5E1744 #5E5417
square
#175E31 #17205E #5E1744 #5E5417
split-complementary
#175E31 #54175E #5E1720
monochromatic
#06190D #0B2D17 #175E31 #238F4B #2FC064

Accessibility & contrast

On white

7.83
#175E31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#175E31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #175E31
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##175E31#FFFFFF#000000##FFFFFF
##175E311.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E562E
Deuteranopia (green-blind)
#564F34
Tritanopia (blue-blind)
#005C53
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #175e31;
/* rgb */ color: rgb(23, 94, 49);
/* oklch */ color: oklch(42.7% 0.101 151.3);
Tailwind
colors: {
  custom: {
    50: '#5f8c6a',
    500: '#175e31',
    950: '#000000',
  },
}
SCSS
$custom: #175e31;
$custom-light: #5f8c6a;
$custom-dark: #000000;
JSON
{
  "hex": "#175e31",
  "rgb": {
    "r": 23,
    "g": 94,
    "b": 49
  },
  "hsl": {
    "h": 141.972,
    "s": 60.684,
    "l": 22.941
  },
  "oklch": {
    "l": 0.42698,
    "c": 0.10081,
    "h": 151.3
  },
  "luminance": 0.08409
}

Semantic roles & 50–950 ramp

primary
#175E31
secondary
#953C74
accent
#44A9E4
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C06
muted
#797D7A

Preview Lab

Preview with #175E31

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

Preview Lab → · Contrast checker → · Palette generator →

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