#17581F#17581F

#17581F is a dark, moderate green. Relative luminance 0.073; OKLCH L 40.6% C 0.110 H 145.1°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#17581F
RGBrgb(23, 88, 31)
HSLhsl(127, 59%, 22%)
HSVhsv(127, 74%, 35%)
CMYKcmyk(73.9%, 0%, 64.8%, 65.5%)
CIE-LABlab(32.39, -33.37, 26.73)
CIE-LCHlch(32.39, 42.76, 141.31°)
OKLaboklab(40.61% -0.0902 0.0629)
OKLCHoklch(40.61% 0.11 145.1)
XYZxyz(4.0901, 7.2601, 2.4818)
Luminance0.0726 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17581F #581750
analogous
#305817 #17581F #175840
triadic
#17581F #1F1758 #581F17
tetradic
#17581F #173058 #581750 #584017
square
#17581F #173058 #581750 #584017
split-complementary
#17581F #401758 #581730
monochromatic
#061809 #0A270E #17581F #248930 #30B941

Accessibility & contrast

On white

8.56
#17581F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17581F
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17581F#FFFFFF#000000##FFFFFF
##17581F1.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F19
Deuteranopia (green-blind)
#524A24
Tritanopia (blue-blind)
#03564C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #17581f;
/* rgb */ color: rgb(23, 88, 31);
/* oklch */ color: oklch(40.6% 0.110 145.1);
Tailwind
colors: {
  custom: {
    50: '#5f885d',
    500: '#17581f',
    950: '#000000',
  },
}
SCSS
$custom: #17581f;
$custom-light: #5f885d;
$custom-dark: #000000;
JSON
{
  "hex": "#17581f",
  "rgb": {
    "r": 23,
    "g": 88,
    "b": 31
  },
  "hsl": {
    "h": 127.385,
    "s": 58.559,
    "l": 21.765
  },
  "oklch": {
    "l": 0.40606,
    "c": 0.10998,
    "h": 145.1
  },
  "luminance": 0.07261
}

Semantic roles & 50–950 ramp

primary
#17581F
secondary
#8F3C85
accent
#46CFE2
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050B04
muted
#797C79

Preview Lab

Preview with #17581F

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

Preview Lab → · Contrast checker → · Palette generator →

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