#175017#175017

#175017 is a dark, moderate green. Relative luminance 0.060; OKLCH L 38.1% C 0.106 H 143.1°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#175017
RGBrgb(23, 80, 23)
HSLhsl(120, 55%, 20%)
HSVhsv(120, 71%, 31%)
CMYKcmyk(71.2%, 0%, 71.2%, 68.6%)
CIE-LABlab(29.36, -31.17, 27.39)
CIE-LCHlch(29.36, 41.49, 138.69°)
OKLaboklab(38.07% -0.0846 0.0635)
OKLCHoklch(38.07% 0.106 143.1)
XYZxyz(3.3765, 5.9810, 1.7870)
Luminance0.0598 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#175017 #501750
analogous
#335017 #175017 #175033
triadic
#175017 #171750 #501717
tetradic
#175017 #173350 #501750 #503317
square
#175017 #173350 #501750 #503317
split-complementary
#175017 #331750 #501733
monochromatic
#071807 #092009 #175017 #258025 #32AF32

Accessibility & contrast

On white

9.56
#175017 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#175017 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #175017
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##175017#FFFFFF#000000##FFFFFF
##1750171.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524810
Deuteranopia (green-blind)
#4B431C
Tritanopia (blue-blind)
#0A4E44
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #175017;
/* rgb */ color: rgb(23, 80, 23);
/* oklch */ color: oklch(38.1% 0.106 143.1);
Tailwind
colors: {
  custom: {
    50: '#5d8257',
    500: '#175017',
    950: '#000000',
  },
}
SCSS
$custom: #175017;
$custom-light: #5d8257;
$custom-dark: #000000;
JSON
{
  "hex": "#175017",
  "rgb": {
    "r": 23,
    "g": 80,
    "b": 23
  },
  "hsl": {
    "h": 120,
    "s": 55.34,
    "l": 20.196
  },
  "oklch": {
    "l": 0.38073,
    "c": 0.10579,
    "h": 143.1
  },
  "luminance": 0.05981
}

Semantic roles & 50–950 ramp

primary
#175017
secondary
#873C87
accent
#49DFDF
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#050A03
muted
#797C78

Preview Lab

Preview with #175017

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

Preview Lab → · Contrast checker → · Palette generator →

#175017 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva