#175F17#175F17

#175F17 is a dark, vivid green. Relative luminance 0.084; OKLCH L 42.6% C 0.126 H 143.0°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#175F17
RGBrgb(23, 95, 23)
HSLhsl(120, 61%, 23%)
HSVhsv(120, 76%, 37%)
CMYKcmyk(75.8%, 0%, 75.8%, 62.7%)
CIE-LABlab(34.86, -37.01, 33.26)
CIE-LCHlch(34.86, 49.76, 138.06°)
OKLaboklab(42.63% -0.1005 0.0758)
OKLCHoklch(42.63% 0.126 143)
XYZxyz(4.5999, 8.4279, 2.1948)
Luminance0.0843 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#175F17 #5F175F
analogous
#3B5F17 #175F17 #175F3B
triadic
#175F17 #17175F #5F1717
tetradic
#175F17 #173B5F #5F175F #5F3B17
square
#175F17 #173B5F #5F175F #5F3B17
split-complementary
#175F17 #3B175F #5F173B
monochromatic
#061906 #0B2E0B #175F17 #239023 #2FC22F

Accessibility & contrast

On white

7.82
#175F17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #175F17
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##175F17#FFFFFF#000000##FFFFFF
##175F171.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61550B
Deuteranopia (green-blind)
#59501E
Tritanopia (blue-blind)
#015C51
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #175f17;
/* rgb */ color: rgb(23, 95, 23);
/* oklch */ color: oklch(42.6% 0.126 143.0);
Tailwind
colors: {
  custom: {
    50: '#618d59',
    500: '#175f17',
    950: '#000000',
  },
}
SCSS
$custom: #175f17;
$custom-light: #618d59;
$custom-dark: #000000;
JSON
{
  "hex": "#175f17",
  "rgb": {
    "r": 23,
    "g": 95,
    "b": 23
  },
  "hsl": {
    "h": 120,
    "s": 61.017,
    "l": 23.137
  },
  "oklch": {
    "l": 0.42625,
    "c": 0.12586,
    "h": 143
  },
  "luminance": 0.08428
}

Semantic roles & 50–950 ramp

primary
#175F17
secondary
#963C96
accent
#44E4E4
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C04
muted
#7A7D79

Preview Lab

Preview with #175F17

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

Preview Lab → · Contrast checker → · Palette generator →

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