#17310A#17310A

#17310A is a dark, moderate green. Relative luminance 0.024; OKLCH L 28.2% C 0.071 H 136.9°. Best body text is #FFFFFF at 14.19:1 contrast (WCAG AA passes).

Color values

HEX#17310A
RGBrgb(23, 49, 10)
HSLhsl(100, 66%, 12%)
HSVhsv(100, 80%, 19%)
CMYKcmyk(53.1%, 0%, 79.6%, 80.8%)
CIE-LABlab(17.46, -18.64, 20.51)
CIE-LCHlch(17.46, 27.72, 132.27°)
OKLaboklab(28.22% -0.0516 0.0482)
OKLCHoklch(28.22% 0.071 136.9)
XYZxyz(1.5064, 2.4006, 0.6711)
Luminance0.0240 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17310A #240A31
analogous
#2B310A #17310A #0A3111
triadic
#17310A #0A1731 #310A17
tetradic
#17310A #0A2B31 #240A31 #31110A
square
#17310A #0A2B31 #240A31 #31110A
split-complementary
#17310A #110A31 #310A2B
monochromatic
#0C1905 #0C1905 #17310A #2F6414 #47971F

Accessibility & contrast

On white

14.19
#17310A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17310A
14.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17310A#FFFFFF#000000##FFFFFF
##17310A1.0014.191.4814.19
#FFFFFF14.191.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332C06
Deuteranopia (green-blind)
#2F2A0D
Tritanopia (blue-blind)
#162F29
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #17310a;
/* rgb */ color: rgb(23, 49, 10);
/* oklch */ color: oklch(28.2% 0.071 136.9);
Tailwind
colors: {
  custom: {
    50: '#57694c',
    500: '#17310a',
    950: '#000000',
  },
}
SCSS
$custom: #17310a;
$custom-light: #57694c;
$custom-dark: #000000;
JSON
{
  "hex": "#17310a",
  "rgb": {
    "r": 23,
    "g": 49,
    "b": 10
  },
  "hsl": {
    "h": 100,
    "s": 66.102,
    "l": 11.569
  },
  "oklch": {
    "l": 0.28222,
    "c": 0.07065,
    "h": 136.9
  },
  "luminance": 0.02401
}

Semantic roles & 50–950 ramp

primary
#17310A
secondary
#57296E
accent
#3FE9B0
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#030601
muted
#787A77

Preview Lab

Preview with #17310A

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

Preview Lab → · Contrast checker → · Palette generator →

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