#175F28#175F28

#175F28 is a dark, moderate green. Relative luminance 0.085; OKLCH L 42.8% C 0.111 H 147.4°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#175F28
RGBrgb(23, 95, 40)
HSLhsl(134, 61%, 23%)
HSVhsv(134, 76%, 37%)
CMYKcmyk(75.8%, 0%, 57.9%, 62.7%)
CIE-LABlab(35.04, -34.83, 25.04)
CIE-LCHlch(35.04, 42.90, 144.29°)
OKLaboklab(42.84% -0.0938 0.06)
OKLCHoklch(42.84% 0.111 147.4)
XYZxyz(4.8282, 8.5192, 3.3970)
Luminance0.0852 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#175F28 #5F174E
analogous
#2A5F17 #175F28 #175F4C
triadic
#175F28 #28175F #5F2817
tetradic
#175F28 #172A5F #5F174E #5F4C17
square
#175F28 #172A5F #5F174E #5F4C17
split-complementary
#175F28 #4C175F #5F172A
monochromatic
#06190A #0B2E13 #175F28 #23903D #2FC251

Accessibility & contrast

On white

7.77
#175F28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#175F28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #175F28
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##175F28#FFFFFF#000000##FFFFFF
##175F281.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605623
Deuteranopia (green-blind)
#58502C
Tritanopia (blue-blind)
#005D53
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #175f28;
/* rgb */ color: rgb(23, 95, 40);
/* oklch */ color: oklch(42.8% 0.111 147.4);
Tailwind
colors: {
  custom: {
    50: '#608d63',
    500: '#175f28',
    950: '#000000',
  },
}
SCSS
$custom: #175f28;
$custom-light: #608d63;
$custom-dark: #000000;
JSON
{
  "hex": "#175f28",
  "rgb": {
    "r": 23,
    "g": 95,
    "b": 40
  },
  "hsl": {
    "h": 134.167,
    "s": 61.017,
    "l": 23.137
  },
  "oklch": {
    "l": 0.42836,
    "c": 0.11138,
    "h": 147.4
  },
  "luminance": 0.0852
}

Semantic roles & 50–950 ramp

primary
#175F28
secondary
#963C81
accent
#44BEE4
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#050C05
muted
#7A7D7A

Preview Lab

Preview with #175F28

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

Preview Lab → · Contrast checker → · Palette generator →

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