#064108#064108

#064108 is a dark, moderate green. Relative luminance 0.038; OKLCH L 32.7% C 0.103 H 143.2°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#064108
RGBrgb(6, 65, 8)
HSLhsl(122, 83%, 14%)
HSVhsv(122, 91%, 25%)
CMYKcmyk(90.8%, 0%, 87.7%, 74.5%)
CIE-LABlab(23.12, -30.39, 27.51)
CIE-LCHlch(23.12, 40.99, 137.85°)
OKLaboklab(32.74% -0.0824 0.0617)
OKLCHoklch(32.74% 0.103 143.2)
XYZxyz(2.0091, 3.8366, 0.8643)
Luminance0.0384 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#064108 #41063F
analogous
#224106 #064108 #064126
triadic
#064108 #080641 #410806
tetradic
#064108 #062241 #41063F #412606
square
#064108 #062241 #41063F #412606
split-complementary
#064108 #260641 #410622
monochromatic
#031C03 #031C03 #064108 #0B790F #10B116

Accessibility & contrast

On white

11.88
#064108 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#064108 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #064108
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##064108#FFFFFF#000000##FFFFFF
##0641081.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433A00
Deuteranopia (green-blind)
#3C350F
Tritanopia (blue-blind)
#003F36
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #064108;
/* rgb */ color: rgb(6, 65, 8);
/* oklch */ color: oklch(32.7% 0.103 143.2);
Tailwind
colors: {
  custom: {
    50: '#53764c',
    500: '#064108',
    950: '#000000',
  },
}
SCSS
$custom: #064108;
$custom-light: #53764c;
$custom-dark: #000000;
JSON
{
  "hex": "#064108",
  "rgb": {
    "r": 6,
    "g": 65,
    "b": 8
  },
  "hsl": {
    "h": 122.034,
    "s": 83.099,
    "l": 13.922
  },
  "oklch": {
    "l": 0.32735,
    "c": 0.10292,
    "h": 143.2
  },
  "luminance": 0.03837
}

Semantic roles & 50–950 ramp

primary
#064108
secondary
#81227E
accent
#2EF3F9
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030801
muted
#787B77

Preview Lab

Preview with #064108

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

Preview Lab → · Contrast checker → · Palette generator →

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