#064020#064020

#064020 is a dark, moderate green. Relative luminance 0.038; OKLCH L 32.8% C 0.080 H 153.0°. Best body text is #FFFFFF at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#064020
RGBrgb(6, 64, 32)
HSLhsl(147, 83%, 14%)
HSVhsv(147, 91%, 25%)
CMYKcmyk(90.6%, 0%, 50%, 74.9%)
CIE-LABlab(23.03, -26.42, 14.64)
CIE-LCHlch(23.03, 30.20, 151.01°)
OKLaboklab(32.75% -0.071 0.0361)
OKLCHoklch(32.75% 0.08 153)
XYZxyz(2.1690, 3.8095, 1.9872)
Luminance0.0381 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#064020 #400626
analogous
#094006 #064020 #06403D
triadic
#064020 #200640 #402006
tetradic
#064020 #060940 #400626 #403D06
square
#064020 #060940 #400626 #403D06
split-complementary
#064020 #3D0640 #400609
monochromatic
#031C0E #031C0E #064020 #0B783C #10B058

Accessibility & contrast

On white

11.92
#064020 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#064020 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #064020
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##064020#FFFFFF#000000##FFFFFF
##0640201.0011.921.7611.92
#FFFFFF11.921.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403A1E
Deuteranopia (green-blind)
#393522
Tritanopia (blue-blind)
#003F38
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #064020;
/* rgb */ color: rgb(6, 64, 32);
/* oklch */ color: oklch(32.8% 0.080 153.0);
Tailwind
colors: {
  custom: {
    50: '#52755c',
    500: '#064020',
    950: '#000000',
  },
}
SCSS
$custom: #064020;
$custom-light: #52755c;
$custom-dark: #000000;
JSON
{
  "hex": "#064020",
  "rgb": {
    "r": 6,
    "g": 64,
    "b": 32
  },
  "hsl": {
    "h": 146.897,
    "s": 82.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.32754,
    "c": 0.07965,
    "h": 153
  },
  "luminance": 0.0381
}

Semantic roles & 50–950 ramp

primary
#064020
secondary
#802256
accent
#2F9EF9
background
#F4F7F5
surface
#E7EDE9
border
#C3C8C5
text
#030804
muted
#787B79

Preview Lab

Preview with #064020

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

Preview Lab → · Contrast checker → · Palette generator →

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