#081204#081204

#081204 is a very dark, muted green. Relative luminance 0.005; OKLCH L 16.7% C 0.034 H 135.7°. Best body text is #FFFFFF at 19.12:1 contrast (WCAG AA passes).

Color values

HEX#081204
RGBrgb(8, 18, 4)
HSLhsl(103, 64%, 4%)
HSVhsv(103, 78%, 7%)
CMYKcmyk(55.6%, 0%, 77.8%, 92.9%)
CIE-LABlab(4.45, -5.33, 4.93)
CIE-LCHlch(4.45, 7.26, 137.25°)
OKLaboklab(16.72% -0.0241 0.0235)
OKLCHoklch(16.72% 0.034 135.7)
XYZxyz(0.3384, 0.4930, 0.1922)
Luminance0.0049 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#081204 #0E0412
analogous
#0F1204 #081204 #041207
triadic
#081204 #040812 #120408
tetradic
#081204 #040F12 #0E0412 #120704
square
#081204 #040F12 #0E0412 #120704
split-complementary
#081204 #070412 #12040F
monochromatic
#0B1906 #0B1906 #0B1906 #1E440F #35761A

Accessibility & contrast

On white

19.12
#081204 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#081204 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #081204
19.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##081204#FFFFFF#000000##FFFFFF
##0812041.0019.121.1019.12
#FFFFFF19.121.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#131003
Deuteranopia (green-blind)
#110F05
Tritanopia (blue-blind)
#08110E
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #081204;
/* rgb */ color: rgb(8, 18, 4);
/* oklch */ color: oklch(16.7% 0.034 135.7);
Tailwind
colors: {
  custom: {
    50: '#4a4f48',
    500: '#081204',
    950: '#000000',
  },
}
SCSS
$custom: #081204;
$custom-light: #4a4f48;
$custom-dark: #000000;
JSON
{
  "hex": "#081204",
  "rgb": {
    "r": 8,
    "g": 18,
    "b": 4
  },
  "hsl": {
    "h": 102.857,
    "s": 63.636,
    "l": 4.314
  },
  "oklch": {
    "l": 0.1672,
    "c": 0.03372,
    "h": 135.7
  },
  "luminance": 0.00493
}

Semantic roles & 50–950 ramp

primary
#081204
secondary
#442052
accent
#41E7B7
background
#F4F4F4
surface
#E7E7E6
border
#C3C3C2
text
#010200
muted
#777877

Preview Lab

Preview with #081204

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

Preview Lab → · Contrast checker → · Palette generator →

#081204 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva