#175F20#175F20

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

Color values

HEX#175F20
RGBrgb(23, 95, 32)
HSLhsl(128, 61%, 23%)
HSVhsv(128, 76%, 37%)
CMYKcmyk(75.8%, 0%, 66.3%, 62.7%)
CIE-LABlab(34.94, -35.98, 29.13)
CIE-LCHlch(34.94, 46.30, 141.01°)
OKLaboklab(42.72% -0.0972 0.0682)
OKLCHoklch(42.72% 0.119 145)
XYZxyz(4.7060, 8.4703, 2.7531)
Luminance0.0847 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#175F20 #5F1756
analogous
#325F17 #175F20 #175F44
triadic
#175F20 #20175F #5F2017
tetradic
#175F20 #17325F #5F1756 #5F4417
square
#175F20 #17325F #5F1756 #5F4417
split-complementary
#175F20 #44175F #5F1732
monochromatic
#061908 #0B2E0F #175F20 #239031 #2FC241

Accessibility & contrast

On white

7.79
#175F20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #175F20
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##175F20#FFFFFF#000000##FFFFFF
##175F201.007.792.697.79
#FFFFFF7.791.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #175f20;
/* rgb */ color: rgb(23, 95, 32);
/* oklch */ color: oklch(42.7% 0.119 145.0);
Tailwind
colors: {
  custom: {
    50: '#608d5e',
    500: '#175f20',
    950: '#000000',
  },
}
SCSS
$custom: #175f20;
$custom-light: #608d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#175f20",
  "rgb": {
    "r": 23,
    "g": 95,
    "b": 32
  },
  "hsl": {
    "h": 127.5,
    "s": 61.017,
    "l": 23.137
  },
  "oklch": {
    "l": 0.42723,
    "c": 0.11877,
    "h": 145
  },
  "luminance": 0.08471
}

Semantic roles & 50–950 ramp

primary
#175F20
secondary
#963C8B
accent
#44D0E4
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050C04
muted
#7A7D79

Preview Lab

Preview with #175F20

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

Preview Lab → · Contrast checker → · Palette generator →

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