#08180E#08180E

#08180E is a very dark, muted green. Relative luminance 0.007; OKLCH L 19.1% C 0.030 H 155.1°. Best body text is #FFFFFF at 18.30:1 contrast (WCAG AA passes).

Color values

HEX#08180E
RGBrgb(8, 24, 14)
HSLhsl(143, 50%, 6%)
HSVhsv(143, 67%, 9%)
CMYKcmyk(66.7%, 0%, 41.7%, 90.6%)
CIE-LABlab(6.65, -7.95, 3.88)
CIE-LCHlch(6.65, 8.85, 154.00°)
OKLaboklab(19.11% -0.0273 0.0127)
OKLCHoklch(19.11% 0.03 155.1)
XYZxyz(0.5060, 0.7366, 0.5309)
Luminance0.0074 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08180E #180812
analogous
#0A1808 #08180E #081816
triadic
#08180E #0E0818 #180E08
tetradic
#08180E #080A18 #180812 #181608
square
#08180E #080A18 #180812 #181608
split-complementary
#08180E #160818 #18080A
monochromatic
#08170D #08170D #08180E #174629 #277444

Accessibility & contrast

On white

18.30
#08180E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #08180E
18.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08180E#FFFFFF#000000##FFFFFF
##08180E1.0018.301.1518.30
#FFFFFF18.301.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18160D
Deuteranopia (green-blind)
#15140F
Tritanopia (blue-blind)
#051815
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #08180e;
/* rgb */ color: rgb(8, 24, 14);
/* oklch */ color: oklch(19.1% 0.030 155.1);
Tailwind
colors: {
  custom: {
    50: '#4a544d',
    500: '#08180e',
    950: '#000000',
  },
}
SCSS
$custom: #08180e;
$custom-light: #4a544d;
$custom-dark: #000000;
JSON
{
  "hex": "#08180e",
  "rgb": {
    "r": 8,
    "g": 24,
    "b": 14
  },
  "hsl": {
    "h": 142.5,
    "s": 50,
    "l": 6.275
  },
  "oklch": {
    "l": 0.19106,
    "c": 0.03013,
    "h": 155.1
  },
  "luminance": 0.00737
}

Semantic roles & 50–950 ramp

primary
#08180E
secondary
#542843
accent
#4EA5DA
background
#F4F4F4
surface
#E7E7E7
border
#C3C3C3
text
#010201
muted
#777877

Preview Lab

Preview with #08180E

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

Preview Lab → · Contrast checker → · Palette generator →

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