#064221#064221

#064221 is a dark, moderate green. Relative luminance 0.040; OKLCH L 33.4% C 0.082 H 153.0°. Best body text is #FFFFFF at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#064221
RGBrgb(6, 66, 33)
HSLhsl(147, 83%, 14%)
HSVhsv(147, 91%, 26%)
CMYKcmyk(90.9%, 0%, 50%, 74.1%)
CIE-LABlab(23.82, -27.06, 15.03)
CIE-LCHlch(23.82, 30.96, 150.95°)
OKLaboklab(33.41% -0.0727 0.0371)
OKLCHoklch(33.41% 0.082 153)
XYZxyz(2.2976, 4.0447, 2.0982)
Luminance0.0404 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#064221 #420627
analogous
#094206 #064221 #06423F
triadic
#064221 #210642 #422106
tetradic
#064221 #060942 #420627 #423F06
square
#064221 #060942 #420627 #423F06
split-complementary
#064221 #3F0642 #420609
monochromatic
#031C0E #031C0E #064221 #0B7A3D #10B259

Accessibility & contrast

On white

11.61
#064221 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#064221 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #064221
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##064221#FFFFFF#000000##FFFFFF
##0642211.0011.611.8111.61
#FFFFFF11.611.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423C1F
Deuteranopia (green-blind)
#3B3723
Tritanopia (blue-blind)
#00413A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #064221;
/* rgb */ color: rgb(6, 66, 33);
/* oklch */ color: oklch(33.4% 0.082 153.0);
Tailwind
colors: {
  custom: {
    50: '#52775c',
    500: '#064221',
    950: '#000000',
  },
}
SCSS
$custom: #064221;
$custom-light: #52775c;
$custom-dark: #000000;
JSON
{
  "hex": "#064221",
  "rgb": {
    "r": 6,
    "g": 66,
    "b": 33
  },
  "hsl": {
    "h": 147,
    "s": 83.333,
    "l": 14.118
  },
  "oklch": {
    "l": 0.33411,
    "c": 0.0816,
    "h": 153
  },
  "luminance": 0.04045
}

Semantic roles & 50–950 ramp

primary
#064221
secondary
#822257
accent
#2E9EFA
background
#F5F7F5
surface
#E8EDE9
border
#C4C8C5
text
#030904
muted
#787B79

Preview Lab

Preview with #064221

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

Preview Lab → · Contrast checker → · Palette generator →

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