#064821#064821

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

Color values

HEX#064821
RGBrgb(6, 72, 33)
HSLhsl(145, 85%, 15%)
HSVhsv(145, 92%, 28%)
CMYKcmyk(91.7%, 0%, 54.2%, 71.8%)
CIE-LABlab(26.11, -29.56, 17.95)
CIE-LCHlch(26.11, 34.59, 148.74°)
OKLaboklab(35.31% -0.0793 0.0438)
OKLCHoklch(35.31% 0.091 151.1)
XYZxyz(2.6667, 4.7829, 2.2212)
Luminance0.0478 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#064821 #48062D
analogous
#0C4806 #064821 #064842
triadic
#064821 #210648 #482106
tetradic
#064821 #060C48 #48062D #484206
square
#064821 #060C48 #48062D #484206
split-complementary
#064821 #420648 #48060C
monochromatic
#021C0D #021C0D #064821 #0B803B #0FB955

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##064821#FFFFFF#000000##FFFFFF
##0648211.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)
#48411E
Deuteranopia (green-blind)
#413C24
Tritanopia (blue-blind)
#00473F
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #064821;
/* rgb */ color: rgb(6, 72, 33);
/* oklch */ color: oklch(35.3% 0.091 151.1);
Tailwind
colors: {
  custom: {
    50: '#547c5d',
    500: '#064821',
    950: '#000000',
  },
}
SCSS
$custom: #064821;
$custom-light: #547c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#064821",
  "rgb": {
    "r": 6,
    "g": 72,
    "b": 33
  },
  "hsl": {
    "h": 144.545,
    "s": 84.615,
    "l": 15.294
  },
  "oklch": {
    "l": 0.35307,
    "c": 0.09058,
    "h": 151.1
  },
  "luminance": 0.04783
}

Semantic roles & 50–950 ramp

primary
#064821
secondary
#87235E
accent
#2DA7FB
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#030904
muted
#787B79

Preview Lab

Preview with #064821

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

Preview Lab → · Contrast checker → · Palette generator →

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