#08170B#08170B

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

Color values

HEX#08170B
RGBrgb(8, 23, 11)
HSLhsl(132, 48%, 6%)
HSVhsv(132, 65%, 9%)
CMYKcmyk(65.2%, 0%, 52.2%, 91%)
CIE-LABlab(6.22, -7.68, 4.65)
CIE-LCHlch(6.22, 8.98, 148.83°)
OKLaboklab(18.67% -0.0276 0.0165)
OKLCHoklch(18.67% 0.032 149.2)
XYZxyz(0.4669, 0.6885, 0.4248)
Luminance0.0069 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08170B #170814
analogous
#0C1708 #08170B #081712
triadic
#08170B #0B0817 #170B08
tetradic
#08170B #080C17 #170814 #171208
square
#08170B #080C17 #170814 #171208
split-complementary
#08170B #120817 #17080C
monochromatic
#08170B #08170B #08170B #184421 #287236

Accessibility & contrast

On white

18.46
#08170B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #08170B
18.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08170B#FFFFFF#000000##FFFFFF
##08170B1.0018.461.1418.46
#FFFFFF18.461.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #08170b;
/* rgb */ color: rgb(8, 23, 11);
/* oklch */ color: oklch(18.7% 0.032 149.2);
Tailwind
colors: {
  custom: {
    50: '#4a534b',
    500: '#08170b',
    950: '#000000',
  },
}
SCSS
$custom: #08170b;
$custom-light: #4a534b;
$custom-dark: #000000;
JSON
{
  "hex": "#08170b",
  "rgb": {
    "r": 8,
    "g": 23,
    "b": 11
  },
  "hsl": {
    "h": 132,
    "s": 48.387,
    "l": 6.078
  },
  "oklch": {
    "l": 0.18672,
    "c": 0.0321,
    "h": 149.2
  },
  "luminance": 0.00689
}

Semantic roles & 50–950 ramp

primary
#08170B
secondary
#52294A
accent
#50BDD8
background
#F4F4F4
surface
#E7E7E7
border
#C3C3C3
text
#010201
muted
#777877

Preview Lab

Preview with #08170B

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

Preview Lab → · Contrast checker → · Palette generator →

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