#17542C#17542C

#17542C is a dark, moderate green. Relative luminance 0.067; OKLCH L 39.6% C 0.091 H 151.1°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#17542C
RGBrgb(23, 84, 44)
HSLhsl(141, 57%, 21%)
HSVhsv(141, 73%, 33%)
CMYKcmyk(72.6%, 0%, 47.6%, 67.1%)
CIE-LABlab(31.12, -29.52, 17.86)
CIE-LCHlch(31.12, 34.50, 148.83°)
OKLaboklab(39.62% -0.0796 0.044)
OKLCHoklch(39.62% 0.091 151.1)
XYZxyz(3.9780, 6.7042, 3.4668)
Luminance0.0670 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17542C #54173F
analogous
#205417 #17542C #17544A
triadic
#17542C #2C1754 #542C17
tetradic
#17542C #172054 #54173F #544A17
square
#17542C #172054 #54173F #544A17
split-complementary
#17542C #4A1754 #541720
monochromatic
#07180D #0A2413 #17542C #248445 #31B45E

Accessibility & contrast

On white

8.97
#17542C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#17542C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17542C
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17542C#FFFFFF#000000##FFFFFF
##17542C1.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544C29
Deuteranopia (green-blind)
#4D472F
Tritanopia (blue-blind)
#00534A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #17542c;
/* rgb */ color: rgb(23, 84, 44);
/* oklch */ color: oklch(39.6% 0.091 151.1);
Tailwind
colors: {
  custom: {
    50: '#5d8565',
    500: '#17542c',
    950: '#000000',
  },
}
SCSS
$custom: #17542c;
$custom-light: #5d8565;
$custom-dark: #000000;
JSON
{
  "hex": "#17542c",
  "rgb": {
    "r": 23,
    "g": 84,
    "b": 44
  },
  "hsl": {
    "h": 140.656,
    "s": 57.009,
    "l": 20.98
  },
  "oklch": {
    "l": 0.39621,
    "c": 0.09097,
    "h": 151.1
  },
  "luminance": 0.06705
}

Semantic roles & 50–950 ramp

primary
#17542C
secondary
#8B3C70
accent
#48ACE0
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#050B05
muted
#797C7A

Preview Lab

Preview with #17542C

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

Preview Lab → · Contrast checker → · Palette generator →

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