#17581B#17581B

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

Color values

HEX#17581B
RGBrgb(23, 88, 27)
HSLhsl(124, 59%, 22%)
HSVhsv(124, 74%, 35%)
CMYKcmyk(73.9%, 0%, 69.3%, 65.5%)
CIE-LABlab(32.35, -33.89, 28.71)
CIE-LCHlch(32.35, 44.42, 139.73°)
OKLaboklab(40.56% -0.0918 0.0667)
OKLCHoklch(40.56% 0.114 144)
XYZxyz(4.0406, 7.2403, 2.2213)
Luminance0.0724 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17581B #581754
analogous
#345817 #17581B #17583C
triadic
#17581B #1B1758 #581B17
tetradic
#17581B #173458 #581754 #583C17
square
#17581B #173458 #581754 #583C17
split-complementary
#17581B #3C1758 #581734
monochromatic
#061807 #0A270C #17581B #24892A #30B939

Accessibility & contrast

On white

8.58
#17581B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17581B
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17581B#FFFFFF#000000##FFFFFF
##17581B1.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #17581b;
/* rgb */ color: rgb(23, 88, 27);
/* oklch */ color: oklch(40.6% 0.114 144.0);
Tailwind
colors: {
  custom: {
    50: '#5f885a',
    500: '#17581b',
    950: '#000000',
  },
}
SCSS
$custom: #17581b;
$custom-light: #5f885a;
$custom-dark: #000000;
JSON
{
  "hex": "#17581b",
  "rgb": {
    "r": 23,
    "g": 88,
    "b": 27
  },
  "hsl": {
    "h": 123.692,
    "s": 58.559,
    "l": 21.765
  },
  "oklch": {
    "l": 0.40556,
    "c": 0.1135,
    "h": 144
  },
  "luminance": 0.07241
}

Semantic roles & 50–950 ramp

primary
#17581B
secondary
#8F3C8A
accent
#46D8E2
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050B04
muted
#797C79

Preview Lab

Preview with #17581B

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

Preview Lab → · Contrast checker → · Palette generator →

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