#17542F#17542F

#17542F is a dark, moderate green. Relative luminance 0.067; OKLCH L 39.7% C 0.088 H 152.8°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#17542F
RGBrgb(23, 84, 47)
HSLhsl(144, 57%, 21%)
HSVhsv(144, 73%, 33%)
CMYKcmyk(72.6%, 0%, 44%, 67.1%)
CIE-LABlab(31.18, -28.91, 16.13)
CIE-LCHlch(31.18, 33.11, 150.84°)
OKLaboklab(39.68% -0.0781 0.0401)
OKLCHoklch(39.68% 0.088 152.8)
XYZxyz(4.0364, 6.7276, 3.7746)
Luminance0.0673 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17542F #54173C
analogous
#1D5417 #17542F #17544D
triadic
#17542F #2F1754 #542F17
tetradic
#17542F #171D54 #54173C #544D17
square
#17542F #171D54 #54173C #544D17
split-complementary
#17542F #4D1754 #54171D
monochromatic
#07180D #0A2414 #17542F #24844A #31B465

Accessibility & contrast

On white

8.95
#17542F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#17542F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17542F
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17542F#FFFFFF#000000##FFFFFF
##17542F1.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544D2C
Deuteranopia (green-blind)
#4C4731
Tritanopia (blue-blind)
#00534B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #17542f;
/* rgb */ color: rgb(23, 84, 47);
/* oklch */ color: oklch(39.7% 0.088 152.8);
Tailwind
colors: {
  custom: {
    50: '#5d8568',
    500: '#17542f',
    950: '#000000',
  },
}
SCSS
$custom: #17542f;
$custom-light: #5d8568;
$custom-dark: #000000;
JSON
{
  "hex": "#17542f",
  "rgb": {
    "r": 23,
    "g": 84,
    "b": 47
  },
  "hsl": {
    "h": 143.607,
    "s": 57.009,
    "l": 20.98
  },
  "oklch": {
    "l": 0.39684,
    "c": 0.08774,
    "h": 152.8
  },
  "luminance": 0.06728
}

Semantic roles & 50–950 ramp

primary
#17542F
secondary
#8B3C6C
accent
#48A4E0
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#050B06
muted
#797C7A

Preview Lab

Preview with #17542F

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

Preview Lab → · Contrast checker → · Palette generator →

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