#17310C#17310C

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

Color values

HEX#17310C
RGBrgb(23, 49, 12)
HSLhsl(102, 61%, 12%)
HSVhsv(102, 76%, 19%)
CMYKcmyk(53.1%, 0%, 75.5%, 80.8%)
CIE-LABlab(17.48, -18.41, 19.68)
CIE-LCHlch(17.48, 26.95, 133.10°)
OKLaboklab(28.25% -0.0508 0.0463)
OKLCHoklch(28.25% 0.069 137.7)
XYZxyz(1.5180, 2.4052, 0.7320)
Luminance0.0240 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17310C #260C31
analogous
#2A310C #17310C #0C3114
triadic
#17310C #0C1731 #310C17
tetradic
#17310C #0C2A31 #260C31 #31140C
square
#17310C #0C2A31 #260C31 #31140C
split-complementary
#17310C #140C31 #310C2A
monochromatic
#0C1906 #0C1906 #17310C #2E6218 #459324

Accessibility & contrast

On white

14.18
#17310C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17310C
14.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17310C#FFFFFF#000000##FFFFFF
##17310C1.0014.181.4814.18
#FFFFFF14.181.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #17310c;
/* rgb */ color: rgb(23, 49, 12);
/* oklch */ color: oklch(28.2% 0.069 137.7);
Tailwind
colors: {
  custom: {
    50: '#56694d',
    500: '#17310c',
    950: '#000000',
  },
}
SCSS
$custom: #17310c;
$custom-light: #56694d;
$custom-dark: #000000;
JSON
{
  "hex": "#17310c",
  "rgb": {
    "r": 23,
    "g": 49,
    "b": 12
  },
  "hsl": {
    "h": 102.162,
    "s": 60.656,
    "l": 11.961
  },
  "oklch": {
    "l": 0.28246,
    "c": 0.06876,
    "h": 137.7
  },
  "luminance": 0.02405
}

Semantic roles & 50–950 ramp

primary
#17310C
secondary
#5A2C6D
accent
#44E4B4
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#030601
muted
#787A77

Preview Lab

Preview with #17310C

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

Preview Lab → · Contrast checker → · Palette generator →

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