#17542B#17542B

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

Color values

HEX#17542B
RGBrgb(23, 84, 43)
HSLhsl(140, 57%, 21%)
HSVhsv(140, 73%, 33%)
CMYKcmyk(72.6%, 0%, 48.8%, 67.1%)
CIE-LABlab(31.11, -29.72, 18.43)
CIE-LCHlch(31.11, 34.97, 148.19°)
OKLaboklab(39.6% -0.0801 0.0453)
OKLCHoklch(39.6% 0.092 150.5)
XYZxyz(3.9594, 6.6968, 3.3690)
Luminance0.0670 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17542B #541740
analogous
#215417 #17542B #175449
triadic
#17542B #2B1754 #542B17
tetradic
#17542B #172154 #541740 #544917
square
#17542B #172154 #541740 #544917
split-complementary
#17542B #491754 #541721
monochromatic
#07180C #0A2412 #17542B #248444 #31B45C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##17542B#FFFFFF#000000##FFFFFF
##17542B1.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)
#544C28
Deuteranopia (green-blind)
#4D472E
Tritanopia (blue-blind)
#00524A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #17542b;
/* rgb */ color: rgb(23, 84, 43);
/* oklch */ color: oklch(39.6% 0.092 150.5);
Tailwind
colors: {
  custom: {
    50: '#5d8565',
    500: '#17542b',
    950: '#000000',
  },
}
SCSS
$custom: #17542b;
$custom-light: #5d8565;
$custom-dark: #000000;
JSON
{
  "hex": "#17542b",
  "rgb": {
    "r": 23,
    "g": 84,
    "b": 43
  },
  "hsl": {
    "h": 139.672,
    "s": 57.009,
    "l": 20.98
  },
  "oklch": {
    "l": 0.39601,
    "c": 0.09203,
    "h": 150.5
  },
  "luminance": 0.06697
}

Semantic roles & 50–950 ramp

primary
#17542B
secondary
#8B3C71
accent
#48AEE0
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#050B05
muted
#797C7A

Preview Lab

Preview with #17542B

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

Preview Lab → · Contrast checker → · Palette generator →

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