#17571F#17571F

#17571F is a dark, moderate green. Relative luminance 0.071; OKLCH L 40.3% C 0.109 H 145.2°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#17571F
RGBrgb(23, 87, 31)
HSLhsl(128, 58%, 22%)
HSVhsv(128, 74%, 34%)
CMYKcmyk(73.6%, 0%, 64.4%, 65.9%)
CIE-LABlab(32.03, -32.97, 26.31)
CIE-LCHlch(32.03, 42.18, 141.41°)
OKLaboklab(40.3% -0.0891 0.062)
OKLCHoklch(40.3% 0.109 145.2)
XYZxyz(4.0086, 7.0971, 2.4547)
Luminance0.0710 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17571F #57174F
analogous
#2F5717 #17571F #17573F
triadic
#17571F #1F1757 #571F17
tetradic
#17571F #172F57 #57174F #573F17
square
#17571F #172F57 #57174F #573F17
split-complementary
#17571F #3F1757 #57172F
monochromatic
#061809 #0A270E #17571F #248730 #31B841

Accessibility & contrast

On white

8.68
#17571F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#17571F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17571F
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17571F#FFFFFF#000000##FFFFFF
##17571F1.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594F19
Deuteranopia (green-blind)
#514924
Tritanopia (blue-blind)
#03554B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #17571f;
/* rgb */ color: rgb(23, 87, 31);
/* oklch */ color: oklch(40.3% 0.109 145.2);
Tailwind
colors: {
  custom: {
    50: '#5e875d',
    500: '#17571f',
    950: '#000000',
  },
}
SCSS
$custom: #17571f;
$custom-light: #5e875d;
$custom-dark: #000000;
JSON
{
  "hex": "#17571f",
  "rgb": {
    "r": 23,
    "g": 87,
    "b": 31
  },
  "hsl": {
    "h": 127.5,
    "s": 58.182,
    "l": 21.569
  },
  "oklch": {
    "l": 0.40304,
    "c": 0.10858,
    "h": 145.2
  },
  "luminance": 0.07097
}

Semantic roles & 50–950 ramp

primary
#17571F
secondary
#8E3C84
accent
#46CEE1
background
#F5F8F5
surface
#EAEFE9
border
#C6CAC5
text
#050B04
muted
#797C79

Preview Lab

Preview with #17571F

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

Preview Lab → · Contrast checker → · Palette generator →

#17571F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva