#175B20#175B20

#175B20 is a dark, moderate green. Relative luminance 0.078; OKLCH L 41.5% C 0.113 H 145.2°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#175B20
RGBrgb(23, 91, 32)
HSLhsl(128, 60%, 22%)
HSVhsv(128, 75%, 36%)
CMYKcmyk(74.7%, 0%, 64.8%, 64.3%)
CIE-LABlab(33.50, -34.42, 27.48)
CIE-LCHlch(33.50, 44.05, 141.40°)
OKLaboklab(41.52% -0.093 0.0647)
OKLCHoklch(41.52% 0.113 145.2)
XYZxyz(4.3549, 7.7681, 2.6361)
Luminance0.0777 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#175B20 #5B1752
analogous
#305B17 #175B20 #175B42
triadic
#175B20 #20175B #5B2017
tetradic
#175B20 #17305B #5B1752 #5B4217
square
#175B20 #17305B #5B1752 #5B4217
split-complementary
#175B20 #42175B #5B1730
monochromatic
#061809 #0B2A0F #175B20 #238C31 #30BD42

Accessibility & contrast

On white

8.22
#175B20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#175B20 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #175B20
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##175B20#FFFFFF#000000##FFFFFF
##175B201.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D521A
Deuteranopia (green-blind)
#554D25
Tritanopia (blue-blind)
#00594E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #175b20;
/* rgb */ color: rgb(23, 91, 32);
/* oklch */ color: oklch(41.5% 0.113 145.2);
Tailwind
colors: {
  custom: {
    50: '#5f8a5e',
    500: '#175b20',
    950: '#000000',
  },
}
SCSS
$custom: #175b20;
$custom-light: #5f8a5e;
$custom-dark: #000000;
JSON
{
  "hex": "#175b20",
  "rgb": {
    "r": 23,
    "g": 91,
    "b": 32
  },
  "hsl": {
    "h": 127.941,
    "s": 59.649,
    "l": 22.353
  },
  "oklch": {
    "l": 0.41524,
    "c": 0.11327,
    "h": 145.2
  },
  "luminance": 0.07769
}

Semantic roles & 50–950 ramp

primary
#175B20
secondary
#923C86
accent
#45CEE3
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79

Preview Lab

Preview with #175B20

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

Preview Lab → · Contrast checker → · Palette generator →

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