#17310F#17310F

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

Color values

HEX#17310F
RGBrgb(23, 49, 15)
HSLhsl(106, 53%, 13%)
HSVhsv(106, 69%, 19%)
CMYKcmyk(53.1%, 0%, 69.4%, 80.8%)
CIE-LABlab(17.52, -18.03, 18.24)
CIE-LCHlch(17.52, 25.65, 134.66°)
OKLaboklab(28.29% -0.0495 0.0432)
OKLCHoklch(28.29% 0.066 138.9)
XYZxyz(1.5378, 2.4132, 0.8366)
Luminance0.0241 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17310F #290F31
analogous
#28310F #17310F #0F3118
triadic
#17310F #0F1731 #310F17
tetradic
#17310F #0F2831 #290F31 #31180F
square
#17310F #0F2831 #290F31 #31180F
split-complementary
#17310F #180F31 #310F28
monochromatic
#0B1707 #0B1707 #17310F #2D601D #438F2C

Accessibility & contrast

On white

14.16
#17310F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17310F
14.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17310F#FFFFFF#000000##FFFFFF
##17310F1.0014.161.4814.16
#FFFFFF14.161.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332C0C
Deuteranopia (green-blind)
#2F2A12
Tritanopia (blue-blind)
#152F2A
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #17310f;
/* rgb */ color: rgb(23, 49, 15);
/* oklch */ color: oklch(28.3% 0.066 138.9);
Tailwind
colors: {
  custom: {
    50: '#56694e',
    500: '#17310f',
    950: '#000000',
  },
}
SCSS
$custom: #17310f;
$custom-light: #56694e;
$custom-dark: #000000;
JSON
{
  "hex": "#17310f",
  "rgb": {
    "r": 23,
    "g": 49,
    "b": 15
  },
  "hsl": {
    "h": 105.882,
    "s": 53.125,
    "l": 12.549
  },
  "oklch": {
    "l": 0.28288,
    "c": 0.06569,
    "h": 138.9
  },
  "luminance": 0.02413
}

Semantic roles & 50–950 ramp

primary
#17310F
secondary
#5D316B
accent
#4BDDBA
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#030601
muted
#787A77

Preview Lab

Preview with #17310F

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

Preview Lab → · Contrast checker → · Palette generator →

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