#064012#064012

#064012 is a dark, moderate green. Relative luminance 0.037; OKLCH L 32.5% C 0.094 H 145.9°. Best body text is #FFFFFF at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#064012
RGBrgb(6, 64, 18)
HSLhsl(132, 83%, 14%)
HSVhsv(132, 91%, 25%)
CMYKcmyk(90.6%, 0%, 71.9%, 74.9%)
CIE-LABlab(22.82, -28.90, 22.56)
CIE-LCHlch(22.82, 36.66, 142.02°)
OKLaboklab(32.51% -0.0778 0.0527)
OKLCHoklch(32.51% 0.094 145.9)
XYZxyz(2.0175, 3.7489, 1.1894)
Luminance0.0375 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#064012 #400634
analogous
#174006 #064012 #06402F
triadic
#064012 #120640 #401206
tetradic
#064012 #061740 #400634 #402F06
square
#064012 #061740 #400634 #402F06
split-complementary
#064012 #2F0640 #400617
monochromatic
#031C08 #031C08 #064012 #0B7822 #10B031

Accessibility & contrast

On white

12.00
#064012 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #064012
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##064012#FFFFFF#000000##FFFFFF
##0640121.0012.001.7512.00
#FFFFFF12.001.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #064012;
/* rgb */ color: rgb(6, 64, 18);
/* oklch */ color: oklch(32.5% 0.094 145.9);
Tailwind
colors: {
  custom: {
    50: '#527552',
    500: '#064012',
    950: '#000000',
  },
}
SCSS
$custom: #064012;
$custom-light: #527552;
$custom-dark: #000000;
JSON
{
  "hex": "#064012",
  "rgb": {
    "r": 6,
    "g": 64,
    "b": 18
  },
  "hsl": {
    "h": 132.414,
    "s": 82.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.32514,
    "c": 0.09397,
    "h": 145.9
  },
  "luminance": 0.03749
}

Semantic roles & 50–950 ramp

primary
#064012
secondary
#80226C
accent
#2FCFF9
background
#F5F7F4
surface
#E8EDE7
border
#C4C8C3
text
#030802
muted
#787B78

Preview Lab

Preview with #064012

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

Preview Lab → · Contrast checker → · Palette generator →

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