#17310E#17310E

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

Color values

HEX#17310E
RGBrgb(23, 49, 14)
HSLhsl(105, 56%, 12%)
HSVhsv(105, 71%, 19%)
CMYKcmyk(53.1%, 0%, 71.4%, 80.8%)
CIE-LABlab(17.51, -18.16, 18.74)
CIE-LCHlch(17.51, 26.10, 134.09°)
OKLaboklab(28.27% -0.05 0.0443)
OKLCHoklch(28.27% 0.067 138.5)
XYZxyz(1.5309, 2.4104, 0.8000)
Luminance0.0241 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17310E #280E31
analogous
#29310E #17310E #0E3116
triadic
#17310E #0E1731 #310E17
tetradic
#17310E #0E2931 #280E31 #31160E
square
#17310E #0E2931 #280E31 #31160E
split-complementary
#17310E #160E31 #310E29
monochromatic
#0B1807 #0B1807 #17310E #2D611C #449029

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##17310E#FFFFFF#000000##FFFFFF
##17310E1.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)
#332C0A
Deuteranopia (green-blind)
#2F2A11
Tritanopia (blue-blind)
#152F29
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #17310e;
/* rgb */ color: rgb(23, 49, 14);
/* oklch */ color: oklch(28.3% 0.067 138.5);
Tailwind
colors: {
  custom: {
    50: '#56694e',
    500: '#17310e',
    950: '#000000',
  },
}
SCSS
$custom: #17310e;
$custom-light: #56694e;
$custom-dark: #000000;
JSON
{
  "hex": "#17310e",
  "rgb": {
    "r": 23,
    "g": 49,
    "b": 14
  },
  "hsl": {
    "h": 104.571,
    "s": 55.556,
    "l": 12.353
  },
  "oklch": {
    "l": 0.28273,
    "c": 0.06675,
    "h": 138.5
  },
  "luminance": 0.0241
}

Semantic roles & 50–950 ramp

primary
#17310E
secondary
#5C2F6C
accent
#49DFB8
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#030601
muted
#787A77

Preview Lab

Preview with #17310E

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

Preview Lab → · Contrast checker → · Palette generator →

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