#08170D#08170D

#08170D is a very dark, muted green. Relative luminance 0.007; OKLCH L 18.7% C 0.029 H 153.6°. Best body text is #FFFFFF at 18.44:1 contrast (WCAG AA passes).

Color values

HEX#08170D
RGBrgb(8, 23, 13)
HSLhsl(140, 48%, 6%)
HSVhsv(140, 65%, 9%)
CMYKcmyk(65.2%, 0%, 43.5%, 91%)
CIE-LABlab(6.26, -7.37, 3.80)
CIE-LCHlch(6.26, 8.29, 152.73°)
OKLaboklab(18.73% -0.0263 0.013)
OKLCHoklch(18.73% 0.029 153.6)
XYZxyz(0.4791, 0.6934, 0.4893)
Luminance0.0069 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08170D #170812
analogous
#0A1708 #08170D #081714
triadic
#08170D #0D0817 #170D08
tetradic
#08170D #080A17 #170812 #171408
square
#08170D #080A17 #170812 #171408
split-complementary
#08170D #140817 #17080A
monochromatic
#08170D #08170D #08170D #184427 #287240

Accessibility & contrast

On white

18.44
#08170D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#08170D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08170D
18.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08170D#FFFFFF#000000##FFFFFF
##08170D1.0018.441.1418.44
#FFFFFF18.441.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17150C
Deuteranopia (green-blind)
#15130E
Tritanopia (blue-blind)
#061714
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #08170d;
/* rgb */ color: rgb(8, 23, 13);
/* oklch */ color: oklch(18.7% 0.029 153.6);
Tailwind
colors: {
  custom: {
    50: '#4a534c',
    500: '#08170d',
    950: '#000000',
  },
}
SCSS
$custom: #08170d;
$custom-light: #4a534c;
$custom-dark: #000000;
JSON
{
  "hex": "#08170d",
  "rgb": {
    "r": 8,
    "g": 23,
    "b": 13
  },
  "hsl": {
    "h": 140,
    "s": 48.387,
    "l": 6.078
  },
  "oklch": {
    "l": 0.18732,
    "c": 0.02935,
    "h": 153.6
  },
  "luminance": 0.00693
}

Semantic roles & 50–950 ramp

primary
#08170D
secondary
#522944
accent
#50ABD8
background
#F4F4F4
surface
#E7E7E7
border
#C3C3C3
text
#010201
muted
#777877

Preview Lab

Preview with #08170D

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

Preview Lab → · Contrast checker → · Palette generator →

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