#064004#064004

#064004 is a dark, moderate green. Relative luminance 0.037; OKLCH L 32.4% C 0.104 H 142.3°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#064004
RGBrgb(6, 64, 4)
HSLhsl(118, 88%, 13%)
HSVhsv(118, 94%, 25%)
CMYKcmyk(90.6%, 0%, 93.8%, 74.9%)
CIE-LABlab(22.70, -30.40, 28.70)
CIE-LCHlch(22.70, 41.81, 136.65°)
OKLaboklab(32.38% -0.0827 0.0639)
OKLCHoklch(32.38% 0.104 142.3)
XYZxyz(1.9303, 3.7140, 0.7300)
Luminance0.0371 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#064004 #3E0440
analogous
#244004 #064004 #044020
triadic
#064004 #040640 #400406
tetradic
#064004 #042440 #3E0440 #402004
square
#064004 #042440 #3E0440 #402004
split-complementary
#064004 #200440 #400424
monochromatic
#031D02 #031D02 #064004 #0B7A08 #11B30B

Accessibility & contrast

On white

12.05
#064004 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#064004 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #064004
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##064004#FFFFFF#000000##FFFFFF
##0640041.0012.051.7412.05
#FFFFFF12.051.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423900
Deuteranopia (green-blind)
#3C350B
Tritanopia (blue-blind)
#003E35
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #064004;
/* rgb */ color: rgb(6, 64, 4);
/* oklch */ color: oklch(32.4% 0.104 142.3);
Tailwind
colors: {
  custom: {
    50: '#53764a',
    500: '#064004',
    950: '#000000',
  },
}
SCSS
$custom: #064004;
$custom-light: #53764a;
$custom-dark: #000000;
JSON
{
  "hex": "#064004",
  "rgb": {
    "r": 6,
    "g": 64,
    "b": 4
  },
  "hsl": {
    "h": 118,
    "s": 88.235,
    "l": 13.333
  },
  "oklch": {
    "l": 0.32375,
    "c": 0.10447,
    "h": 142.3
  },
  "luminance": 0.03714
}

Semantic roles & 50–950 ramp

primary
#064004
secondary
#7E1F81
accent
#29FEF7
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030801
muted
#787B77

Preview Lab

Preview with #064004

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

Preview Lab → · Contrast checker → · Palette generator →

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