#175F22#175F22

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

Color values

HEX#175F22
RGBrgb(23, 95, 34)
HSLhsl(129, 61%, 23%)
HSVhsv(129, 76%, 37%)
CMYKcmyk(75.8%, 0%, 64.2%, 62.7%)
CIE-LABlab(34.97, -35.72, 28.14)
CIE-LCHlch(34.97, 45.47, 141.77°)
OKLaboklab(42.75% -0.0964 0.0663)
OKLCHoklch(42.75% 0.117 145.5)
XYZxyz(4.7340, 8.4815, 2.9007)
Luminance0.0848 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#175F22 #5F1754
analogous
#305F17 #175F22 #175F46
triadic
#175F22 #22175F #5F2217
tetradic
#175F22 #17305F #5F1754 #5F4617
square
#175F22 #17305F #5F1754 #5F4617
split-complementary
#175F22 #46175F #5F1730
monochromatic
#061909 #0B2E10 #175F22 #239034 #2FC245

Accessibility & contrast

On white

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

On black

2.70
#175F22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##175F22#FFFFFF#000000##FFFFFF
##175F221.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61561C
Deuteranopia (green-blind)
#585027
Tritanopia (blue-blind)
#005C52
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #175f22;
/* rgb */ color: rgb(23, 95, 34);
/* oklch */ color: oklch(42.7% 0.117 145.5);
Tailwind
colors: {
  custom: {
    50: '#608d5f',
    500: '#175f22',
    950: '#000000',
  },
}
SCSS
$custom: #175f22;
$custom-light: #608d5f;
$custom-dark: #000000;
JSON
{
  "hex": "#175f22",
  "rgb": {
    "r": 23,
    "g": 95,
    "b": 34
  },
  "hsl": {
    "h": 129.167,
    "s": 61.017,
    "l": 23.137
  },
  "oklch": {
    "l": 0.42749,
    "c": 0.11701,
    "h": 145.5
  },
  "luminance": 0.08482
}

Semantic roles & 50–950 ramp

primary
#175F22
secondary
#963C88
accent
#44CCE4
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050C05
muted
#7A7D79

Preview Lab

Preview with #175F22

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

Preview Lab → · Contrast checker → · Palette generator →

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