#175F2D#175F2D

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

Color values

HEX#175F2D
RGBrgb(23, 95, 45)
HSLhsl(138, 61%, 23%)
HSVhsv(138, 76%, 37%)
CMYKcmyk(75.8%, 0%, 52.6%, 62.7%)
CIE-LABlab(35.11, -33.99, 22.35)
CIE-LCHlch(35.11, 40.68, 146.68°)
OKLaboklab(42.92% -0.0915 0.0543)
OKLCHoklch(42.92% 0.106 149.3)
XYZxyz(4.9188, 8.5555, 3.8743)
Luminance0.0856 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#175F2D #5F1749
analogous
#255F17 #175F2D #175F51
triadic
#175F2D #2D175F #5F2D17
tetradic
#175F2D #17255F #5F1749 #5F5117
square
#175F2D #17255F #5F1749 #5F5117
split-complementary
#175F2D #51175F #5F1725
monochromatic
#06190C #0B2E16 #175F2D #239044 #2FC25C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##175F2D#FFFFFF#000000##FFFFFF
##175F2D1.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)
#605629
Deuteranopia (green-blind)
#575031
Tritanopia (blue-blind)
#005D53
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #175f2d;
/* rgb */ color: rgb(23, 95, 45);
/* oklch */ color: oklch(42.9% 0.106 149.3);
Tailwind
colors: {
  custom: {
    50: '#608d67',
    500: '#175f2d',
    950: '#000000',
  },
}
SCSS
$custom: #175f2d;
$custom-light: #608d67;
$custom-dark: #000000;
JSON
{
  "hex": "#175f2d",
  "rgb": {
    "r": 23,
    "g": 95,
    "b": 45
  },
  "hsl": {
    "h": 138.333,
    "s": 61.017,
    "l": 23.137
  },
  "oklch": {
    "l": 0.42919,
    "c": 0.1064,
    "h": 149.3
  },
  "luminance": 0.08556
}

Semantic roles & 50–950 ramp

primary
#175F2D
secondary
#963C7A
accent
#44B3E4
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#050C06
muted
#7A7D7A

Preview Lab

Preview with #175F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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