#084212#084212

#084212 is a dark, moderate green. Relative luminance 0.040; OKLCH L 33.2% C 0.096 H 145.3°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#084212
RGBrgb(8, 66, 18)
HSLhsl(130, 78%, 15%)
HSVhsv(130, 88%, 26%)
CMYKcmyk(87.9%, 0%, 72.7%, 74.1%)
CIE-LABlab(23.64, -29.31, 23.49)
CIE-LCHlch(23.64, 37.56, 141.29°)
OKLaboklab(33.21% -0.079 0.0546)
OKLCHoklch(33.21% 0.096 145.3)
XYZxyz(2.1574, 3.9915, 1.2289)
Luminance0.0399 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#084212 #420838
analogous
#1B4208 #084212 #08422F
triadic
#084212 #120842 #421208
tetradic
#084212 #081B42 #420838 #422F08
square
#084212 #081B42 #420838 #422F08
split-complementary
#084212 #2F0842 #42081B
monochromatic
#031B07 #031B07 #084212 #0F7921 #15AF30

Accessibility & contrast

On white

11.68
#084212 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#084212 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #084212
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##084212#FFFFFF#000000##FFFFFF
##0842121.0011.681.8011.68
#FFFFFF11.681.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433B0C
Deuteranopia (green-blind)
#3D3716
Tritanopia (blue-blind)
#004038
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #084212;
/* rgb */ color: rgb(8, 66, 18);
/* oklch */ color: oklch(33.2% 0.096 145.3);
Tailwind
colors: {
  custom: {
    50: '#547752',
    500: '#084212',
    950: '#000000',
  },
}
SCSS
$custom: #084212;
$custom-light: #547752;
$custom-dark: #000000;
JSON
{
  "hex": "#084212",
  "rgb": {
    "r": 8,
    "g": 66,
    "b": 18
  },
  "hsl": {
    "h": 130.345,
    "s": 78.378,
    "l": 14.51
  },
  "oklch": {
    "l": 0.33208,
    "c": 0.09608,
    "h": 145.3
  },
  "luminance": 0.03992
}

Semantic roles & 50–950 ramp

primary
#084212
secondary
#802571
accent
#33D3F5
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030902
muted
#787B78

Preview Lab

Preview with #084212

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

Preview Lab → · Contrast checker → · Palette generator →

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