#064222#064222

#064222 is a dark, moderate green. Relative luminance 0.041; OKLCH L 33.4% C 0.081 H 153.7°. Best body text is #FFFFFF at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#064222
RGBrgb(6, 66, 34)
HSLhsl(148, 83%, 14%)
HSVhsv(148, 91%, 26%)
CMYKcmyk(90.9%, 0%, 48.5%, 74.1%)
CIE-LABlab(23.84, -26.84, 14.44)
CIE-LCHlch(23.84, 30.48, 151.73°)
OKLaboklab(33.43% -0.0722 0.0357)
OKLCHoklch(33.43% 0.081 153.7)
XYZxyz(2.3118, 4.0504, 2.1730)
Luminance0.0405 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#064222 #420626
analogous
#084206 #064222 #064240
triadic
#064222 #220642 #422206
tetradic
#064222 #060842 #420626 #424006
square
#064222 #060842 #420626 #424006
split-complementary
#064222 #400642 #420608
monochromatic
#031C0E #031C0E #064222 #0B7A3F #10B25C

Accessibility & contrast

On white

11.60
#064222 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #064222
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##064222#FFFFFF#000000##FFFFFF
##0642221.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #064222;
/* rgb */ color: rgb(6, 66, 34);
/* oklch */ color: oklch(33.4% 0.081 153.7);
Tailwind
colors: {
  custom: {
    50: '#52775d',
    500: '#064222',
    950: '#000000',
  },
}
SCSS
$custom: #064222;
$custom-light: #52775d;
$custom-dark: #000000;
JSON
{
  "hex": "#064222",
  "rgb": {
    "r": 6,
    "g": 66,
    "b": 34
  },
  "hsl": {
    "h": 148,
    "s": 83.333,
    "l": 14.118
  },
  "oklch": {
    "l": 0.33433,
    "c": 0.08051,
    "h": 153.7
  },
  "luminance": 0.04051
}

Semantic roles & 50–950 ramp

primary
#064222
secondary
#822255
accent
#2E9BFA
background
#F5F7F5
surface
#E8EDE9
border
#C4C8C5
text
#030904
muted
#787B79

Preview Lab

Preview with #064222

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

Preview Lab → · Contrast checker → · Palette generator →

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