#084012#084012

#084012 is a dark, moderate green. Relative luminance 0.038; OKLCH L 32.6% C 0.093 H 145.5°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#084012
RGBrgb(8, 64, 18)
HSLhsl(131, 78%, 14%)
HSVhsv(131, 88%, 25%)
CMYKcmyk(87.5%, 0%, 71.9%, 74.9%)
CIE-LABlab(22.87, -28.52, 22.62)
CIE-LCHlch(22.87, 36.40, 141.58°)
OKLaboklab(32.56% -0.0769 0.0528)
OKLCHoklch(32.56% 0.093 145.5)
XYZxyz(2.0426, 3.7618, 1.1906)
Luminance0.0376 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#084012 #400836
analogous
#1A4008 #084012 #08402E
triadic
#084012 #120840 #401208
tetradic
#084012 #081A40 #400836 #402E08
square
#084012 #081A40 #400836 #402E08
split-complementary
#084012 #2E0840 #40081A
monochromatic
#031B08 #031B08 #084012 #0F7621 #16AD31

Accessibility & contrast

On white

11.98
#084012 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#084012 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #084012
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##084012#FFFFFF#000000##FFFFFF
##0840121.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41390D
Deuteranopia (green-blind)
#3B3516
Tritanopia (blue-blind)
#003E36
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #084012;
/* rgb */ color: rgb(8, 64, 18);
/* oklch */ color: oklch(32.6% 0.093 145.5);
Tailwind
colors: {
  custom: {
    50: '#537552',
    500: '#084012',
    950: '#000000',
  },
}
SCSS
$custom: #084012;
$custom-light: #537552;
$custom-dark: #000000;
JSON
{
  "hex": "#084012",
  "rgb": {
    "r": 8,
    "g": 64,
    "b": 18
  },
  "hsl": {
    "h": 130.714,
    "s": 77.778,
    "l": 14.118
  },
  "oklch": {
    "l": 0.32564,
    "c": 0.09328,
    "h": 145.5
  },
  "luminance": 0.03762
}

Semantic roles & 50–950 ramp

primary
#084012
secondary
#7E256F
accent
#34D2F4
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030802
muted
#787B78

Preview Lab

Preview with #084012

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

Preview Lab → · Contrast checker → · Palette generator →

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