#064207#064207

#064207 is a dark, moderate green. Relative luminance 0.040; OKLCH L 33.1% C 0.105 H 142.9°. Best body text is #FFFFFF at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#064207
RGBrgb(6, 66, 7)
HSLhsl(121, 83%, 14%)
HSVhsv(121, 91%, 26%)
CMYKcmyk(90.9%, 0%, 89.4%, 74.1%)
CIE-LABlab(23.51, -30.85, 28.30)
CIE-LCHlch(23.51, 41.86, 137.46°)
OKLaboklab(33.05% -0.0837 0.0632)
OKLCHoklch(33.05% 0.105 142.9)
XYZxyz(2.0615, 3.9502, 0.8548)
Luminance0.0395 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#064207 #420641
analogous
#234206 #064207 #064225
triadic
#064207 #070642 #420706
tetradic
#064207 #062342 #420641 #422506
square
#064207 #062342 #420641 #422506
split-complementary
#064207 #250642 #420623
monochromatic
#031C03 #031C03 #064207 #0B7A0D #10B213

Accessibility & contrast

On white

11.73
#064207 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#064207 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #064207
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##064207#FFFFFF#000000##FFFFFF
##0642071.0011.731.7911.73
#FFFFFF11.731.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443B00
Deuteranopia (green-blind)
#3D360E
Tritanopia (blue-blind)
#004037
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #064207;
/* rgb */ color: rgb(6, 66, 7);
/* oklch */ color: oklch(33.1% 0.105 142.9);
Tailwind
colors: {
  custom: {
    50: '#54774c',
    500: '#064207',
    950: '#000000',
  },
}
SCSS
$custom: #064207;
$custom-light: #54774c;
$custom-dark: #000000;
JSON
{
  "hex": "#064207",
  "rgb": {
    "r": 6,
    "g": 66,
    "b": 7
  },
  "hsl": {
    "h": 121,
    "s": 83.333,
    "l": 14.118
  },
  "oklch": {
    "l": 0.33051,
    "c": 0.10486,
    "h": 142.9
  },
  "luminance": 0.0395
}

Semantic roles & 50–950 ramp

primary
#064207
secondary
#822280
accent
#2EF6FA
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030901
muted
#787B77

Preview Lab

Preview with #064207

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

Preview Lab → · Contrast checker → · Palette generator →

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