#175F2B#175F2B

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

Color values

HEX#175F2B
RGBrgb(23, 95, 43)
HSLhsl(137, 61%, 23%)
HSVhsv(137, 76%, 37%)
CMYKcmyk(75.8%, 0%, 54.7%, 62.7%)
CIE-LABlab(35.08, -34.34, 23.43)
CIE-LCHlch(35.08, 41.57, 145.69°)
OKLaboklab(42.89% -0.0924 0.0566)
OKLCHoklch(42.89% 0.108 148.5)
XYZxyz(4.8812, 8.5404, 3.6763)
Luminance0.0854 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#175F2B #5F174B
analogous
#275F17 #175F2B #175F4F
triadic
#175F2B #2B175F #5F2B17
tetradic
#175F2B #17275F #5F174B #5F4F17
square
#175F2B #17275F #5F174B #5F4F17
split-complementary
#175F2B #4F175F #5F1727
monochromatic
#06190B #0B2E15 #175F2B #239041 #2FC258

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##175F2B#FFFFFF#000000##FFFFFF
##175F2B1.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)
#605627
Deuteranopia (green-blind)
#57502F
Tritanopia (blue-blind)
#005D53
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #175f2b;
/* rgb */ color: rgb(23, 95, 43);
/* oklch */ color: oklch(42.9% 0.108 148.5);
Tailwind
colors: {
  custom: {
    50: '#608d65',
    500: '#175f2b',
    950: '#000000',
  },
}
SCSS
$custom: #175f2b;
$custom-light: #608d65;
$custom-dark: #000000;
JSON
{
  "hex": "#175f2b",
  "rgb": {
    "r": 23,
    "g": 95,
    "b": 43
  },
  "hsl": {
    "h": 136.667,
    "s": 61.017,
    "l": 23.137
  },
  "oklch": {
    "l": 0.42885,
    "c": 0.10842,
    "h": 148.5
  },
  "luminance": 0.08541
}

Semantic roles & 50–950 ramp

primary
#175F2B
secondary
#963C7D
accent
#44B8E4
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#050C06
muted
#7A7D7A

Preview Lab

Preview with #175F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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