#175F2C#175F2C

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

Color values

HEX#175F2C
RGBrgb(23, 95, 44)
HSLhsl(138, 61%, 23%)
HSVhsv(138, 76%, 37%)
CMYKcmyk(75.8%, 0%, 53.7%, 62.7%)
CIE-LABlab(35.10, -34.17, 22.89)
CIE-LCHlch(35.10, 41.13, 146.18°)
OKLaboklab(42.9% -0.092 0.0555)
OKLCHoklch(42.9% 0.107 148.9)
XYZxyz(4.8998, 8.5479, 3.7741)
Luminance0.0855 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#175F2C #5F174A
analogous
#265F17 #175F2C #175F50
triadic
#175F2C #2C175F #5F2C17
tetradic
#175F2C #17265F #5F174A #5F5017
square
#175F2C #17265F #5F174A #5F5017
split-complementary
#175F2C #50175F #5F1726
monochromatic
#06190B #0B2E15 #175F2C #239043 #2FC25A

Accessibility & contrast

On white

7.75
#175F2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #175F2C
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##175F2C#FFFFFF#000000##FFFFFF
##175F2C1.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605628
Deuteranopia (green-blind)
#575030
Tritanopia (blue-blind)
#005D53
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #175f2c;
/* rgb */ color: rgb(23, 95, 44);
/* oklch */ color: oklch(42.9% 0.107 148.9);
Tailwind
colors: {
  custom: {
    50: '#608d66',
    500: '#175f2c',
    950: '#000000',
  },
}
SCSS
$custom: #175f2c;
$custom-light: #608d66;
$custom-dark: #000000;
JSON
{
  "hex": "#175f2c",
  "rgb": {
    "r": 23,
    "g": 95,
    "b": 44
  },
  "hsl": {
    "h": 137.5,
    "s": 61.017,
    "l": 23.137
  },
  "oklch": {
    "l": 0.42902,
    "c": 0.10741,
    "h": 148.9
  },
  "luminance": 0.08548
}

Semantic roles & 50–950 ramp

primary
#175F2C
secondary
#963C7C
accent
#44B5E4
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#050C06
muted
#7A7D7A

Preview Lab

Preview with #175F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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