#08170F#08170F

#08170F is a very dark, muted green. Relative luminance 0.007; OKLCH L 18.8% C 0.027 H 159.3°. Best body text is #FFFFFF at 18.42:1 contrast (WCAG AA passes).

Color values

HEX#08170F
RGBrgb(8, 23, 15)
HSLhsl(148, 48%, 6%)
HSVhsv(148, 65%, 9%)
CMYKcmyk(65.2%, 0%, 34.8%, 91%)
CIE-LABlab(6.31, -7.03, 2.86)
CIE-LCHlch(6.31, 7.59, 157.84°)
OKLaboklab(18.8% -0.025 0.0095)
OKLCHoklch(18.8% 0.027 159.3)
XYZxyz(0.4927, 0.6989, 0.5608)
Luminance0.0070 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08170F #170810
analogous
#081708 #08170F #081716
triadic
#08170F #0F0817 #170F08
tetradic
#08170F #080817 #170810 #171608
square
#08170F #080817 #170810 #171608
split-complementary
#08170F #160817 #170808
monochromatic
#08170F #08170F #08170F #18442D #28724A

Accessibility & contrast

On white

18.42
#08170F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #08170F
18.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08170F#FFFFFF#000000##FFFFFF
##08170F1.0018.421.1418.42
#FFFFFF18.421.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17150F
Deuteranopia (green-blind)
#14130F
Tritanopia (blue-blind)
#051715
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #08170f;
/* rgb */ color: rgb(8, 23, 15);
/* oklch */ color: oklch(18.8% 0.027 159.3);
Tailwind
colors: {
  custom: {
    50: '#4a534e',
    500: '#08170f',
    950: '#000000',
  },
}
SCSS
$custom: #08170f;
$custom-light: #4a534e;
$custom-dark: #000000;
JSON
{
  "hex": "#08170f",
  "rgb": {
    "r": 8,
    "g": 23,
    "b": 15
  },
  "hsl": {
    "h": 148,
    "s": 48.387,
    "l": 6.078
  },
  "oklch": {
    "l": 0.18797,
    "c": 0.02674,
    "h": 159.3
  },
  "luminance": 0.00699
}

Semantic roles & 50–950 ramp

primary
#08170F
secondary
#52293F
accent
#5098D8
background
#F4F4F4
surface
#E7E7E7
border
#C3C3C3
text
#010201
muted
#777877

Preview Lab

Preview with #08170F

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

Preview Lab → · Contrast checker → · Palette generator →

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