#175F2A#175F2A

#175F2A is a dark, moderate green. Relative luminance 0.085; OKLCH L 42.9% C 0.109 H 148.1°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#175F2A
RGBrgb(23, 95, 42)
HSLhsl(136, 61%, 23%)
HSVhsv(136, 76%, 37%)
CMYKcmyk(75.8%, 0%, 55.8%, 62.7%)
CIE-LABlab(35.07, -34.51, 23.97)
CIE-LCHlch(35.07, 42.02, 145.21°)
OKLaboklab(42.87% -0.0929 0.0578)
OKLCHoklch(42.87% 0.109 148.1)
XYZxyz(4.8631, 8.5332, 3.5808)
Luminance0.0853 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#175F2A #5F174C
analogous
#285F17 #175F2A #175F4E
triadic
#175F2A #2A175F #5F2A17
tetradic
#175F2A #17285F #5F174C #5F4E17
square
#175F2A #17285F #5F174C #5F4E17
split-complementary
#175F2A #4E175F #5F1728
monochromatic
#06190B #0B2E14 #175F2A #239040 #2FC256

Accessibility & contrast

On white

7.76
#175F2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#175F2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #175F2A
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##175F2A#FFFFFF#000000##FFFFFF
##175F2A1.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605625
Deuteranopia (green-blind)
#57502E
Tritanopia (blue-blind)
#005D53
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #175f2a;
/* rgb */ color: rgb(23, 95, 42);
/* oklch */ color: oklch(42.9% 0.109 148.1);
Tailwind
colors: {
  custom: {
    50: '#608d65',
    500: '#175f2a',
    950: '#000000',
  },
}
SCSS
$custom: #175f2a;
$custom-light: #608d65;
$custom-dark: #000000;
JSON
{
  "hex": "#175f2a",
  "rgb": {
    "r": 23,
    "g": 95,
    "b": 42
  },
  "hsl": {
    "h": 135.833,
    "s": 61.017,
    "l": 23.137
  },
  "oklch": {
    "l": 0.42868,
    "c": 0.10942,
    "h": 148.1
  },
  "luminance": 0.08534
}

Semantic roles & 50–950 ramp

primary
#175F2A
secondary
#963C7E
accent
#44BAE4
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#050C05
muted
#7A7D7A

Preview Lab

Preview with #175F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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