#17571C#17571C

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

Color values

HEX#17571C
RGBrgb(23, 87, 28)
HSLhsl(125, 58%, 22%)
HSVhsv(125, 74%, 34%)
CMYKcmyk(73.6%, 0%, 67.8%, 65.9%)
CIE-LABlab(31.99, -33.37, 27.81)
CIE-LCHlch(31.99, 43.44, 140.19°)
OKLaboklab(40.27% -0.0903 0.0649)
OKLCHoklch(40.27% 0.111 144.3)
XYZxyz(3.9709, 7.0820, 2.2561)
Luminance0.0708 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17571C #571752
analogous
#325717 #17571C #17573C
triadic
#17571C #1C1757 #571C17
tetradic
#17571C #173257 #571752 #573C17
square
#17571C #173257 #571752 #573C17
split-complementary
#17571C #3C1757 #571732
monochromatic
#061808 #0A270C #17571C #24872C #31B83B

Accessibility & contrast

On white

8.69
#17571C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17571C
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17571C#FFFFFF#000000##FFFFFF
##17571C1.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E15
Deuteranopia (green-blind)
#514921
Tritanopia (blue-blind)
#05554B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #17571c;
/* rgb */ color: rgb(23, 87, 28);
/* oklch */ color: oklch(40.3% 0.111 144.3);
Tailwind
colors: {
  custom: {
    50: '#5e875b',
    500: '#17571c',
    950: '#000000',
  },
}
SCSS
$custom: #17571c;
$custom-light: #5e875b;
$custom-dark: #000000;
JSON
{
  "hex": "#17571c",
  "rgb": {
    "r": 23,
    "g": 87,
    "b": 28
  },
  "hsl": {
    "h": 124.688,
    "s": 58.182,
    "l": 21.569
  },
  "oklch": {
    "l": 0.40265,
    "c": 0.11126,
    "h": 144.3
  },
  "luminance": 0.07082
}

Semantic roles & 50–950 ramp

primary
#17571C
secondary
#8E3C88
accent
#46D5E1
background
#F5F8F5
surface
#EAEFE9
border
#C6CAC5
text
#050B04
muted
#797C79

Preview Lab

Preview with #17571C

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

Preview Lab → · Contrast checker → · Palette generator →

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