#175B22#175B22

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

Color values

HEX#175B22
RGBrgb(23, 91, 34)
HSLhsl(130, 60%, 22%)
HSVhsv(130, 75%, 36%)
CMYKcmyk(74.7%, 0%, 62.6%, 64.3%)
CIE-LABlab(33.52, -34.14, 26.46)
CIE-LCHlch(33.52, 43.20, 142.23°)
OKLaboklab(41.55% -0.0922 0.0626)
OKLCHoklch(41.55% 0.111 145.8)
XYZxyz(4.3829, 7.7793, 2.7836)
Luminance0.0778 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#175B22 #5B1750
analogous
#2E5B17 #175B22 #175B44
triadic
#175B22 #22175B #5B2217
tetradic
#175B22 #172E5B #5B1750 #5B4417
square
#175B22 #172E5B #5B1750 #5B4417
split-complementary
#175B22 #44175B #5B172E
monochromatic
#061809 #0B2A10 #175B22 #238C34 #30BD47

Accessibility & contrast

On white

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

On black

2.56
#175B22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##175B22#FFFFFF#000000##FFFFFF
##175B221.008.222.568.22
#FFFFFF8.221.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C521C
Deuteranopia (green-blind)
#544D27
Tritanopia (blue-blind)
#00594F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #175b22;
/* rgb */ color: rgb(23, 91, 34);
/* oklch */ color: oklch(41.6% 0.111 145.8);
Tailwind
colors: {
  custom: {
    50: '#5f8a5f',
    500: '#175b22',
    950: '#000000',
  },
}
SCSS
$custom: #175b22;
$custom-light: #5f8a5f;
$custom-dark: #000000;
JSON
{
  "hex": "#175b22",
  "rgb": {
    "r": 23,
    "g": 91,
    "b": 34
  },
  "hsl": {
    "h": 129.706,
    "s": 59.649,
    "l": 22.353
  },
  "oklch": {
    "l": 0.41551,
    "c": 0.11144,
    "h": 145.8
  },
  "luminance": 0.0778
}

Semantic roles & 50–950 ramp

primary
#175B22
secondary
#923C84
accent
#45C9E3
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C05
muted
#797D79

Preview Lab

Preview with #175B22

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

Preview Lab → · Contrast checker → · Palette generator →

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