#175F1F#175F1F

#175F1F is a dark, moderate green. Relative luminance 0.085; OKLCH L 42.7% C 0.120 H 144.7°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#175F1F
RGBrgb(23, 95, 31)
HSLhsl(127, 61%, 23%)
HSVhsv(127, 76%, 37%)
CMYKcmyk(75.8%, 0%, 67.4%, 62.7%)
CIE-LABlab(34.93, -36.11, 29.62)
CIE-LCHlch(34.93, 46.71, 140.64°)
OKLaboklab(42.71% -0.0976 0.0691)
OKLCHoklch(42.71% 0.12 144.7)
XYZxyz(4.6926, 8.4650, 2.6827)
Luminance0.0847 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#175F1F #5F1757
analogous
#335F17 #175F1F #175F43
triadic
#175F1F #1F175F #5F1F17
tetradic
#175F1F #17335F #5F1757 #5F4317
square
#175F1F #17335F #5F1757 #5F4317
split-complementary
#175F1F #43175F #5F1733
monochromatic
#061908 #0B2E0F #175F1F #23902F #2FC23F

Accessibility & contrast

On white

7.80
#175F1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#175F1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #175F1F
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##175F1F#FFFFFF#000000##FFFFFF
##175F1F1.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615618
Deuteranopia (green-blind)
#585025
Tritanopia (blue-blind)
#005C51
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #175f1f;
/* rgb */ color: rgb(23, 95, 31);
/* oklch */ color: oklch(42.7% 0.120 144.7);
Tailwind
colors: {
  custom: {
    50: '#608d5d',
    500: '#175f1f',
    950: '#000000',
  },
}
SCSS
$custom: #175f1f;
$custom-light: #608d5d;
$custom-dark: #000000;
JSON
{
  "hex": "#175f1f",
  "rgb": {
    "r": 23,
    "g": 95,
    "b": 31
  },
  "hsl": {
    "h": 126.667,
    "s": 61.017,
    "l": 23.137
  },
  "oklch": {
    "l": 0.42711,
    "c": 0.11963,
    "h": 144.7
  },
  "luminance": 0.08466
}

Semantic roles & 50–950 ramp

primary
#175F1F
secondary
#963C8C
accent
#44D2E4
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050C04
muted
#7A7D79

Preview Lab

Preview with #175F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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