#08180A#08180A

#08180A is a very dark, muted green. Relative luminance 0.007; OKLCH L 19.0% C 0.036 H 146.9°. Best body text is #FFFFFF at 18.33:1 contrast (WCAG AA passes).

Color values

HEX#08180A
RGBrgb(8, 24, 10)
HSLhsl(128, 50%, 6%)
HSVhsv(128, 67%, 9%)
CMYKcmyk(66.7%, 0%, 58.3%, 90.6%)
CIE-LABlab(6.57, -8.57, 5.57)
CIE-LCHlch(6.57, 10.22, 146.99°)
OKLaboklab(18.99% -0.0298 0.0194)
OKLCHoklch(18.99% 0.036 146.9)
XYZxyz(0.4815, 0.7268, 0.4020)
Luminance0.0073 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08180A #180816
analogous
#0E1808 #08180A #081812
triadic
#08180A #0A0818 #180A08
tetradic
#08180A #080E18 #180816 #181208
square
#08180A #080E18 #180816 #181208
split-complementary
#08180A #120818 #18080E
monochromatic
#08170A #08170A #08180A #17461D #277430

Accessibility & contrast

On white

18.33
#08180A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#08180A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08180A
18.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08180A#FFFFFF#000000##FFFFFF
##08180A1.0018.331.1518.33
#FFFFFF18.331.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#181609
Deuteranopia (green-blind)
#16140B
Tritanopia (blue-blind)
#061715
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #08180a;
/* rgb */ color: rgb(8, 24, 10);
/* oklch */ color: oklch(19.0% 0.036 146.9);
Tailwind
colors: {
  custom: {
    50: '#4a544b',
    500: '#08180a',
    950: '#000000',
  },
}
SCSS
$custom: #08180a;
$custom-light: #4a544b;
$custom-dark: #000000;
JSON
{
  "hex": "#08180a",
  "rgb": {
    "r": 8,
    "g": 24,
    "b": 10
  },
  "hsl": {
    "h": 127.5,
    "s": 50,
    "l": 6.275
  },
  "oklch": {
    "l": 0.18991,
    "c": 0.0356,
    "h": 146.9
  },
  "luminance": 0.00727
}

Semantic roles & 50–950 ramp

primary
#08180A
secondary
#54284E
accent
#4EC8DA
background
#F4F4F4
surface
#E7E7E7
border
#C3C3C3
text
#010201
muted
#777877

Preview Lab

Preview with #08180A

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

Preview Lab → · Contrast checker → · Palette generator →

#08180A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva