#17581C#17581C

#17581C is a dark, moderate green. Relative luminance 0.072; OKLCH L 40.6% C 0.113 H 144.2°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#17581C
RGBrgb(23, 88, 28)
HSLhsl(125, 59%, 22%)
HSVhsv(125, 74%, 35%)
CMYKcmyk(73.9%, 0%, 68.2%, 65.5%)
CIE-LABlab(32.36, -33.77, 28.22)
CIE-LCHlch(32.36, 44.01, 140.11°)
OKLaboklab(40.57% -0.0914 0.0658)
OKLCHoklch(40.57% 0.113 144.2)
XYZxyz(4.0524, 7.2450, 2.2832)
Luminance0.0725 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17581C #581753
analogous
#335817 #17581C #17583D
triadic
#17581C #1C1758 #581C17
tetradic
#17581C #173358 #581753 #583D17
square
#17581C #173358 #581753 #583D17
split-complementary
#17581C #3D1758 #581733
monochromatic
#061808 #0A270D #17581C #24892B #30B93B

Accessibility & contrast

On white

8.57
#17581C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#17581C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17581C
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17581C#FFFFFF#000000##FFFFFF
##17581C1.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F15
Deuteranopia (green-blind)
#524A21
Tritanopia (blue-blind)
#04554B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #17581c;
/* rgb */ color: rgb(23, 88, 28);
/* oklch */ color: oklch(40.6% 0.113 144.2);
Tailwind
colors: {
  custom: {
    50: '#5f885b',
    500: '#17581c',
    950: '#000000',
  },
}
SCSS
$custom: #17581c;
$custom-light: #5f885b;
$custom-dark: #000000;
JSON
{
  "hex": "#17581c",
  "rgb": {
    "r": 23,
    "g": 88,
    "b": 28
  },
  "hsl": {
    "h": 124.615,
    "s": 58.559,
    "l": 21.765
  },
  "oklch": {
    "l": 0.40568,
    "c": 0.11265,
    "h": 144.2
  },
  "luminance": 0.07245
}

Semantic roles & 50–950 ramp

primary
#17581C
secondary
#8F3C89
accent
#46D6E2
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050B04
muted
#797C79

Preview Lab

Preview with #17581C

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

Preview Lab → · Contrast checker → · Palette generator →

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