#175E2D#175E2D

#175E2D is a dark, moderate green. Relative luminance 0.084; OKLCH L 42.6% C 0.105 H 149.5°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#175E2D
RGBrgb(23, 94, 45)
HSLhsl(139, 61%, 23%)
HSVhsv(139, 76%, 37%)
CMYKcmyk(75.5%, 0%, 52.1%, 63.1%)
CIE-LABlab(34.76, -33.58, 21.90)
CIE-LCHlch(34.76, 40.09, 146.89°)
OKLaboklab(42.62% -0.0904 0.0533)
OKLCHoklch(42.62% 0.105 149.5)
XYZxyz(4.8293, 8.3765, 3.8444)
Luminance0.0838 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#175E2D #5E1748
analogous
#245E17 #175E2D #175E51
triadic
#175E2D #2D175E #5E2D17
tetradic
#175E2D #17245E #5E1748 #5E5117
square
#175E2D #17245E #5E1748 #5E5117
split-complementary
#175E2D #51175E #5E1724
monochromatic
#06190C #0B2D15 #175E2D #238F45 #2FC05C

Accessibility & contrast

On white

7.85
#175E2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #175E2D
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##175E2D#FFFFFF#000000##FFFFFF
##175E2D1.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5529
Deuteranopia (green-blind)
#564F30
Tritanopia (blue-blind)
#005C52
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #175e2d;
/* rgb */ color: rgb(23, 94, 45);
/* oklch */ color: oklch(42.6% 0.105 149.5);
Tailwind
colors: {
  custom: {
    50: '#5f8c67',
    500: '#175e2d',
    950: '#000000',
  },
}
SCSS
$custom: #175e2d;
$custom-light: #5f8c67;
$custom-dark: #000000;
JSON
{
  "hex": "#175e2d",
  "rgb": {
    "r": 23,
    "g": 94,
    "b": 45
  },
  "hsl": {
    "h": 138.592,
    "s": 60.684,
    "l": 22.941
  },
  "oklch": {
    "l": 0.42623,
    "c": 0.10494,
    "h": 149.5
  },
  "luminance": 0.08377
}

Semantic roles & 50–950 ramp

primary
#175E2D
secondary
#953C79
accent
#44B2E4
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C06
muted
#797D7A

Preview Lab

Preview with #175E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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