#17581E#17581E

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

Color values

HEX#17581E
RGBrgb(23, 88, 30)
HSLhsl(126, 59%, 22%)
HSVhsv(126, 74%, 35%)
CMYKcmyk(73.9%, 0%, 65.9%, 65.5%)
CIE-LABlab(32.38, -33.51, 27.23)
CIE-LCHlch(32.38, 43.18, 140.90°)
OKLaboklab(40.59% -0.0906 0.0639)
OKLCHoklch(40.59% 0.111 144.8)
XYZxyz(4.0772, 7.2549, 2.4135)
Luminance0.0726 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17581E #581751
analogous
#315817 #17581E #17583F
triadic
#17581E #1E1758 #581E17
tetradic
#17581E #173158 #581751 #583F17
square
#17581E #173158 #581751 #583F17
split-complementary
#17581E #3F1758 #581731
monochromatic
#061808 #0A270D #17581E #24892F #30B93F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##17581E#FFFFFF#000000##FFFFFF
##17581E1.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)
#5A4F18
Deuteranopia (green-blind)
#524A23
Tritanopia (blue-blind)
#03564C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #17581e;
/* rgb */ color: rgb(23, 88, 30);
/* oklch */ color: oklch(40.6% 0.111 144.8);
Tailwind
colors: {
  custom: {
    50: '#5f885c',
    500: '#17581e',
    950: '#000000',
  },
}
SCSS
$custom: #17581e;
$custom-light: #5f885c;
$custom-dark: #000000;
JSON
{
  "hex": "#17581e",
  "rgb": {
    "r": 23,
    "g": 88,
    "b": 30
  },
  "hsl": {
    "h": 126.462,
    "s": 58.559,
    "l": 21.765
  },
  "oklch": {
    "l": 0.40593,
    "c": 0.11089,
    "h": 144.8
  },
  "luminance": 0.07255
}

Semantic roles & 50–950 ramp

primary
#17581E
secondary
#8F3C86
accent
#46D1E2
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050B04
muted
#797C79

Preview Lab

Preview with #17581E

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

Preview Lab → · Contrast checker → · Palette generator →

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