#064021#064021

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

Color values

HEX#064021
RGBrgb(6, 64, 33)
HSLhsl(148, 83%, 14%)
HSVhsv(148, 91%, 25%)
CMYKcmyk(90.6%, 0%, 48.4%, 74.9%)
CIE-LABlab(23.05, -26.20, 14.04)
CIE-LCHlch(23.05, 29.72, 151.82°)
OKLaboklab(32.78% -0.0704 0.0347)
OKLCHoklch(32.78% 0.079 153.7)
XYZxyz(2.1828, 3.8150, 2.0599)
Luminance0.0382 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#064021 #400625
analogous
#084006 #064021 #06403E
triadic
#064021 #210640 #402106
tetradic
#064021 #060840 #400625 #403E06
square
#064021 #060840 #400625 #403E06
split-complementary
#064021 #3E0640 #400608
monochromatic
#031C0E #031C0E #064021 #0B783E #10B05B

Accessibility & contrast

On white

11.91
#064021 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #064021
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##064021#FFFFFF#000000##FFFFFF
##0640211.0011.911.7611.91
#FFFFFF11.911.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #064021;
/* rgb */ color: rgb(6, 64, 33);
/* oklch */ color: oklch(32.8% 0.079 153.7);
Tailwind
colors: {
  custom: {
    50: '#52755c',
    500: '#064021',
    950: '#000000',
  },
}
SCSS
$custom: #064021;
$custom-light: #52755c;
$custom-dark: #000000;
JSON
{
  "hex": "#064021",
  "rgb": {
    "r": 6,
    "g": 64,
    "b": 33
  },
  "hsl": {
    "h": 147.931,
    "s": 82.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.32776,
    "c": 0.07854,
    "h": 153.7
  },
  "luminance": 0.03815
}

Semantic roles & 50–950 ramp

primary
#064021
secondary
#802254
accent
#2F9BF9
background
#F4F7F5
surface
#E7EDE9
border
#C3C8C5
text
#030804
muted
#787B79

Preview Lab

Preview with #064021

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

Preview Lab → · Contrast checker → · Palette generator →

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