#17310D#17310D

#17310D is a dark, moderate green. Relative luminance 0.024; OKLCH L 28.3% C 0.068 H 138.0°. Best body text is #FFFFFF at 14.17:1 contrast (WCAG AA passes).

Color values

HEX#17310D
RGBrgb(23, 49, 13)
HSLhsl(103, 58%, 12%)
HSVhsv(103, 73%, 19%)
CMYKcmyk(53.1%, 0%, 73.5%, 80.8%)
CIE-LABlab(17.50, -18.29, 19.22)
CIE-LCHlch(17.50, 26.53, 133.58°)
OKLaboklab(28.26% -0.0504 0.0453)
OKLCHoklch(28.26% 0.068 138)
XYZxyz(1.5243, 2.4077, 0.7651)
Luminance0.0241 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17310D #270D31
analogous
#29310D #17310D #0D3115
triadic
#17310D #0D1731 #310D17
tetradic
#17310D #0D2931 #270D31 #31150D
square
#17310D #0D2931 #270D31 #31150D
split-complementary
#17310D #150D31 #310D29
monochromatic
#0B1806 #0B1806 #17310D #2E611A #449227

Accessibility & contrast

On white

14.17
#17310D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#17310D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17310D
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17310D#FFFFFF#000000##FFFFFF
##17310D1.0014.171.4814.17
#FFFFFF14.171.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332C09
Deuteranopia (green-blind)
#2F2A10
Tritanopia (blue-blind)
#152F29
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #17310d;
/* rgb */ color: rgb(23, 49, 13);
/* oklch */ color: oklch(28.3% 0.068 138.0);
Tailwind
colors: {
  custom: {
    50: '#56694d',
    500: '#17310d',
    950: '#000000',
  },
}
SCSS
$custom: #17310d;
$custom-light: #56694d;
$custom-dark: #000000;
JSON
{
  "hex": "#17310d",
  "rgb": {
    "r": 23,
    "g": 49,
    "b": 13
  },
  "hsl": {
    "h": 103.333,
    "s": 58.065,
    "l": 12.157
  },
  "oklch": {
    "l": 0.28259,
    "c": 0.06777,
    "h": 138
  },
  "luminance": 0.02408
}

Semantic roles & 50–950 ramp

primary
#17310D
secondary
#5B2E6C
accent
#47E1B6
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#030601
muted
#787A77

Preview Lab

Preview with #17310D

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

Preview Lab → · Contrast checker → · Palette generator →

#17310D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva