#064822#064822

#064822 is a dark, moderate green. Relative luminance 0.048; OKLCH L 35.3% C 0.090 H 151.7°. Best body text is #FFFFFF at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#064822
RGBrgb(6, 72, 34)
HSLhsl(145, 85%, 15%)
HSVhsv(145, 92%, 28%)
CMYKcmyk(91.7%, 0%, 52.8%, 71.8%)
CIE-LABlab(26.12, -29.37, 17.37)
CIE-LCHlch(26.12, 34.12, 149.39°)
OKLaboklab(35.33% -0.0788 0.0425)
OKLCHoklch(35.33% 0.09 151.7)
XYZxyz(2.6810, 4.7886, 2.2961)
Luminance0.0479 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#064822 #48062C
analogous
#0B4806 #064822 #064843
triadic
#064822 #220648 #482206
tetradic
#064822 #060B48 #48062C #484306
square
#064822 #060B48 #48062C #484306
split-complementary
#064822 #430648 #48060B
monochromatic
#021C0D #021C0D #064822 #0B803D #0FB957

Accessibility & contrast

On white

10.73
#064822 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#064822 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #064822
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##064822#FFFFFF#000000##FFFFFF
##0648221.0010.731.9610.73
#FFFFFF10.731.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48411F
Deuteranopia (green-blind)
#413C25
Tritanopia (blue-blind)
#00473F
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #064822;
/* rgb */ color: rgb(6, 72, 34);
/* oklch */ color: oklch(35.3% 0.090 151.7);
Tailwind
colors: {
  custom: {
    50: '#547c5d',
    500: '#064822',
    950: '#000000',
  },
}
SCSS
$custom: #064822;
$custom-light: #547c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#064822",
  "rgb": {
    "r": 6,
    "g": 72,
    "b": 34
  },
  "hsl": {
    "h": 145.455,
    "s": 84.615,
    "l": 15.294
  },
  "oklch": {
    "l": 0.35326,
    "c": 0.08953,
    "h": 151.7
  },
  "luminance": 0.04789
}

Semantic roles & 50–950 ramp

primary
#064822
secondary
#87235D
accent
#2DA4FB
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#030904
muted
#787B79

Preview Lab

Preview with #064822

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

Preview Lab → · Contrast checker → · Palette generator →

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