#17562A#17562A

#17562A is a dark, moderate green. Relative luminance 0.070; OKLCH L 40.2% C 0.096 H 149.6°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#17562A
RGBrgb(23, 86, 42)
HSLhsl(138, 58%, 21%)
HSVhsv(138, 73%, 34%)
CMYKcmyk(73.3%, 0%, 51.2%, 66.3%)
CIE-LABlab(31.82, -30.77, 19.92)
CIE-LCHlch(31.82, 36.66, 147.08°)
OKLaboklab(40.18% -0.0829 0.0487)
OKLCHoklch(40.18% 0.096 149.6)
XYZxyz(4.0987, 7.0045, 3.3260)
Luminance0.0701 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17562A #561743
analogous
#245617 #17562A #17564A
triadic
#17562A #2A1756 #562A17
tetradic
#17562A #172456 #561743 #564A17
square
#17562A #172456 #561743 #564A17
split-complementary
#17562A #4A1756 #561724
monochromatic
#06180C #0A2612 #17562A #248642 #31B759

Accessibility & contrast

On white

8.75
#17562A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#17562A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17562A
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17562A#FFFFFF#000000##FFFFFF
##17562A1.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574E27
Deuteranopia (green-blind)
#4F492D
Tritanopia (blue-blind)
#00544C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #17562a;
/* rgb */ color: rgb(23, 86, 42);
/* oklch */ color: oklch(40.2% 0.096 149.6);
Tailwind
colors: {
  custom: {
    50: '#5d8664',
    500: '#17562a',
    950: '#000000',
  },
}
SCSS
$custom: #17562a;
$custom-light: #5d8664;
$custom-dark: #000000;
JSON
{
  "hex": "#17562a",
  "rgb": {
    "r": 23,
    "g": 86,
    "b": 42
  },
  "hsl": {
    "h": 138.095,
    "s": 57.798,
    "l": 21.373
  },
  "oklch": {
    "l": 0.40181,
    "c": 0.09615,
    "h": 149.6
  },
  "luminance": 0.07005
}

Semantic roles & 50–950 ramp

primary
#17562A
secondary
#8D3C75
accent
#47B3E1
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#050B05
muted
#797C7A

Preview Lab

Preview with #17562A

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

Preview Lab → · Contrast checker → · Palette generator →

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