#17542A#17542A

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

Color values

HEX#17542A
RGBrgb(23, 84, 42)
HSLhsl(139, 57%, 21%)
HSVhsv(139, 73%, 33%)
CMYKcmyk(72.6%, 0%, 50%, 67.1%)
CIE-LABlab(31.09, -29.91, 19.00)
CIE-LCHlch(31.09, 35.43, 147.57°)
OKLaboklab(39.58% -0.0806 0.0466)
OKLCHoklch(39.58% 0.093 150)
XYZxyz(3.9413, 6.6896, 3.2735)
Luminance0.0669 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17542A #541741
analogous
#225417 #17542A #175448
triadic
#17542A #2A1754 #542A17
tetradic
#17542A #172254 #541741 #544817
square
#17542A #172254 #541741 #544817
split-complementary
#17542A #481754 #541722
monochromatic
#07180C #0A2412 #17542A #248442 #31B45A

Accessibility & contrast

On white

8.98
#17542A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17542A
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17542A#FFFFFF#000000##FFFFFF
##17542A1.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554C27
Deuteranopia (green-blind)
#4D472D
Tritanopia (blue-blind)
#00524A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #17542a;
/* rgb */ color: rgb(23, 84, 42);
/* oklch */ color: oklch(39.6% 0.093 150.0);
Tailwind
colors: {
  custom: {
    50: '#5d8564',
    500: '#17542a',
    950: '#000000',
  },
}
SCSS
$custom: #17542a;
$custom-light: #5d8564;
$custom-dark: #000000;
JSON
{
  "hex": "#17542a",
  "rgb": {
    "r": 23,
    "g": 84,
    "b": 42
  },
  "hsl": {
    "h": 138.689,
    "s": 57.009,
    "l": 20.98
  },
  "oklch": {
    "l": 0.39581,
    "c": 0.09311,
    "h": 150
  },
  "luminance": 0.0669
}

Semantic roles & 50–950 ramp

primary
#17542A
secondary
#8B3C72
accent
#48B1E0
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#050B05
muted
#797C7A

Preview Lab

Preview with #17542A

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

Preview Lab → · Contrast checker → · Palette generator →

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