#175B21#175B21

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

Color values

HEX#175B21
RGBrgb(23, 91, 33)
HSLhsl(129, 60%, 22%)
HSVhsv(129, 75%, 36%)
CMYKcmyk(74.7%, 0%, 63.7%, 64.3%)
CIE-LABlab(33.51, -34.29, 26.97)
CIE-LCHlch(33.51, 43.62, 141.81°)
OKLaboklab(41.54% -0.0926 0.0637)
OKLCHoklch(41.54% 0.112 145.5)
XYZxyz(4.3687, 7.7737, 2.7088)
Luminance0.0777 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#175B21 #5B1751
analogous
#2F5B17 #175B21 #175B43
triadic
#175B21 #21175B #5B2117
tetradic
#175B21 #172F5B #5B1751 #5B4317
square
#175B21 #172F5B #5B1751 #5B4317
split-complementary
#175B21 #43175B #5B172F
monochromatic
#061809 #0B2A0F #175B21 #238C33 #30BD44

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##175B21#FFFFFF#000000##FFFFFF
##175B211.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)
#5D521B
Deuteranopia (green-blind)
#544D26
Tritanopia (blue-blind)
#00594E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #175b21;
/* rgb */ color: rgb(23, 91, 33);
/* oklch */ color: oklch(41.5% 0.112 145.5);
Tailwind
colors: {
  custom: {
    50: '#5f8a5e',
    500: '#175b21',
    950: '#000000',
  },
}
SCSS
$custom: #175b21;
$custom-light: #5f8a5e;
$custom-dark: #000000;
JSON
{
  "hex": "#175b21",
  "rgb": {
    "r": 23,
    "g": 91,
    "b": 33
  },
  "hsl": {
    "h": 128.824,
    "s": 59.649,
    "l": 22.353
  },
  "oklch": {
    "l": 0.41537,
    "c": 0.11237,
    "h": 145.5
  },
  "luminance": 0.07774
}

Semantic roles & 50–950 ramp

primary
#175B21
secondary
#923C85
accent
#45CCE3
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79

Preview Lab

Preview with #175B21

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

Preview Lab → · Contrast checker → · Palette generator →

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