#08170E#08170E

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

Color values

HEX#08170E
RGBrgb(8, 23, 14)
HSLhsl(144, 48%, 6%)
HSVhsv(144, 65%, 9%)
CMYKcmyk(65.2%, 0%, 39.1%, 91%)
CIE-LABlab(6.29, -7.20, 3.34)
CIE-LCHlch(6.29, 7.94, 155.09°)
OKLaboklab(18.76% -0.0256 0.0113)
OKLCHoklch(18.76% 0.028 156.3)
XYZxyz(0.4858, 0.6961, 0.5241)
Luminance0.0070 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08170E #170811
analogous
#091708 #08170E #081715
triadic
#08170E #0E0817 #170E08
tetradic
#08170E #080917 #170811 #171508
square
#08170E #080917 #170811 #171508
split-complementary
#08170E #150817 #170809
monochromatic
#08170E #08170E #08170E #18442A #287245

Accessibility & contrast

On white

18.43
#08170E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #08170E
18.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08170E#FFFFFF#000000##FFFFFF
##08170E1.0018.431.1418.43
#FFFFFF18.431.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #08170e;
/* rgb */ color: rgb(8, 23, 14);
/* oklch */ color: oklch(18.8% 0.028 156.3);
Tailwind
colors: {
  custom: {
    50: '#4a534d',
    500: '#08170e',
    950: '#000000',
  },
}
SCSS
$custom: #08170e;
$custom-light: #4a534d;
$custom-dark: #000000;
JSON
{
  "hex": "#08170e",
  "rgb": {
    "r": 8,
    "g": 23,
    "b": 14
  },
  "hsl": {
    "h": 144,
    "s": 48.387,
    "l": 6.078
  },
  "oklch": {
    "l": 0.18764,
    "c": 0.02801,
    "h": 156.3
  },
  "luminance": 0.00696
}

Semantic roles & 50–950 ramp

primary
#08170E
secondary
#522942
accent
#50A2D8
background
#F4F4F4
surface
#E7E7E7
border
#C3C3C3
text
#010201
muted
#777877

Preview Lab

Preview with #08170E

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

Preview Lab → · Contrast checker → · Palette generator →

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