#175F38#175F38

#175F38 is a dark, moderate green. Relative luminance 0.087; OKLCH L 43.1% C 0.095 H 154.8°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#175F38
RGBrgb(23, 95, 56)
HSLhsl(148, 61%, 23%)
HSVhsv(148, 76%, 37%)
CMYKcmyk(75.8%, 0%, 41.1%, 62.7%)
CIE-LABlab(35.30, -31.83, 16.18)
CIE-LCHlch(35.30, 35.71, 153.05°)
OKLaboklab(43.14% -0.086 0.0404)
OKLCHoklch(43.14% 0.095 154.8)
XYZxyz(5.1589, 8.6515, 5.1386)
Luminance0.0865 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#175F38 #5F173E
analogous
#1A5F17 #175F38 #175F5C
triadic
#175F38 #38175F #5F3817
tetradic
#175F38 #171A5F #5F173E #5F5C17
square
#175F38 #171A5F #5F173E #5F5C17
split-complementary
#175F38 #5C175F #5F171A
monochromatic
#06190F #0B2E1B #175F38 #239055 #2FC272

Accessibility & contrast

On white

7.69
#175F38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#175F38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #175F38
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##175F38#FFFFFF#000000##FFFFFF
##175F381.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5735
Deuteranopia (green-blind)
#56503B
Tritanopia (blue-blind)
#005E55
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #175f38;
/* rgb */ color: rgb(23, 95, 56);
/* oklch */ color: oklch(43.1% 0.095 154.8);
Tailwind
colors: {
  custom: {
    50: '#5f8d6f',
    500: '#175f38',
    950: '#000000',
  },
}
SCSS
$custom: #175f38;
$custom-light: #5f8d6f;
$custom-dark: #000000;
JSON
{
  "hex": "#175f38",
  "rgb": {
    "r": 23,
    "g": 95,
    "b": 56
  },
  "hsl": {
    "h": 147.5,
    "s": 61.017,
    "l": 23.137
  },
  "oklch": {
    "l": 0.43139,
    "c": 0.09498,
    "h": 154.8
  },
  "luminance": 0.08652
}

Semantic roles & 50–950 ramp

primary
#175F38
secondary
#963C6D
accent
#449BE4
background
#F5F8F6
surface
#EAF0EC
border
#C6CBC7
text
#050C07
muted
#797D7A

Preview Lab

Preview with #175F38

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

Preview Lab → · Contrast checker → · Palette generator →

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