#064008#064008

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

Color values

HEX#064008
RGBrgb(6, 64, 8)
HSLhsl(122, 83%, 14%)
HSVhsv(122, 91%, 25%)
CMYKcmyk(90.6%, 0%, 87.5%, 74.9%)
CIE-LABlab(22.73, -30.02, 27.10)
CIE-LCHlch(22.73, 40.45, 137.93°)
OKLaboklab(32.41% -0.0814 0.0609)
OKLCHoklch(32.41% 0.102 143.2)
XYZxyz(1.9522, 3.7228, 0.8454)
Luminance0.0372 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#064008 #40063E
analogous
#214006 #064008 #064025
triadic
#064008 #080640 #400806
tetradic
#064008 #062140 #40063E #402506
square
#064008 #062140 #40063E #402506
split-complementary
#064008 #250640 #400621
monochromatic
#031C03 #031C03 #064008 #0B780F #10B016

Accessibility & contrast

On white

12.04
#064008 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #064008
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##064008#FFFFFF#000000##FFFFFF
##0640081.0012.041.7412.04
#FFFFFF12.041.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #064008;
/* rgb */ color: rgb(6, 64, 8);
/* oklch */ color: oklch(32.4% 0.102 143.2);
Tailwind
colors: {
  custom: {
    50: '#53764c',
    500: '#064008',
    950: '#000000',
  },
}
SCSS
$custom: #064008;
$custom-light: #53764c;
$custom-dark: #000000;
JSON
{
  "hex": "#064008",
  "rgb": {
    "r": 6,
    "g": 64,
    "b": 8
  },
  "hsl": {
    "h": 122.069,
    "s": 82.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.3241,
    "c": 0.10165,
    "h": 143.2
  },
  "luminance": 0.03723
}

Semantic roles & 50–950 ramp

primary
#064008
secondary
#80227D
accent
#2FF2F9
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030801
muted
#787B77

Preview Lab

Preview with #064008

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

Preview Lab → · Contrast checker → · Palette generator →

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