#064017#064017

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

Color values

HEX#064017
RGBrgb(6, 64, 23)
HSLhsl(138, 83%, 14%)
HSVhsv(138, 91%, 25%)
CMYKcmyk(90.6%, 0%, 64.1%, 74.9%)
CIE-LABlab(22.89, -28.14, 19.87)
CIE-LCHlch(22.89, 34.45, 144.77°)
OKLaboklab(32.59% -0.0756 0.0474)
OKLCHoklch(32.59% 0.089 147.9)
XYZxyz(2.0630, 3.7671, 1.4288)
Luminance0.0377 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#064017 #40062F
analogous
#124006 #064017 #064034
triadic
#064017 #170640 #401706
tetradic
#064017 #061240 #40062F #403406
square
#064017 #061240 #40062F #403406
split-complementary
#064017 #340640 #400612
monochromatic
#031C0A #031C0A #064017 #0B782B #10B03F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##064017#FFFFFF#000000##FFFFFF
##0640171.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)
#413913
Deuteranopia (green-blind)
#3A351A
Tritanopia (blue-blind)
#003E37
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #064017;
/* rgb */ color: rgb(6, 64, 23);
/* oklch */ color: oklch(32.6% 0.089 147.9);
Tailwind
colors: {
  custom: {
    50: '#527555',
    500: '#064017',
    950: '#000000',
  },
}
SCSS
$custom: #064017;
$custom-light: #527555;
$custom-dark: #000000;
JSON
{
  "hex": "#064017",
  "rgb": {
    "r": 6,
    "g": 64,
    "b": 23
  },
  "hsl": {
    "h": 137.586,
    "s": 82.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.32586,
    "c": 0.08921,
    "h": 147.9
  },
  "luminance": 0.03767
}

Semantic roles & 50–950 ramp

primary
#064017
secondary
#802264
accent
#2FBEF9
background
#F4F7F5
surface
#E8EDE9
border
#C4C8C5
text
#030803
muted
#787B78

Preview Lab

Preview with #064017

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

Preview Lab → · Contrast checker → · Palette generator →

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