#064018#064018

#064018 is a dark, moderate green. Relative luminance 0.038; OKLCH L 32.6% C 0.088 H 148.4°. Best body text is #FFFFFF at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#064018
RGBrgb(6, 64, 24)
HSLhsl(139, 83%, 14%)
HSVhsv(139, 91%, 25%)
CMYKcmyk(90.6%, 0%, 62.5%, 74.9%)
CIE-LABlab(22.90, -27.97, 19.31)
CIE-LCHlch(22.90, 33.99, 145.38°)
OKLaboklab(32.6% -0.0751 0.0462)
OKLCHoklch(32.6% 0.088 148.4)
XYZxyz(2.0732, 3.7712, 1.4826)
Luminance0.0377 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#064018 #40062E
analogous
#114006 #064018 #064035
triadic
#064018 #180640 #401806
tetradic
#064018 #061140 #40062E #403506
square
#064018 #061140 #40062E #403506
split-complementary
#064018 #350640 #400611
monochromatic
#031C0A #031C0A #064018 #0B782D #10B042

Accessibility & contrast

On white

11.97
#064018 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#064018 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #064018
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##064018#FFFFFF#000000##FFFFFF
##0640181.0011.971.7511.97
#FFFFFF11.971.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413914
Deuteranopia (green-blind)
#3A351B
Tritanopia (blue-blind)
#003E37
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #064018;
/* rgb */ color: rgb(6, 64, 24);
/* oklch */ color: oklch(32.6% 0.088 148.4);
Tailwind
colors: {
  custom: {
    50: '#527556',
    500: '#064018',
    950: '#000000',
  },
}
SCSS
$custom: #064018;
$custom-light: #527556;
$custom-dark: #000000;
JSON
{
  "hex": "#064018",
  "rgb": {
    "r": 6,
    "g": 64,
    "b": 24
  },
  "hsl": {
    "h": 138.621,
    "s": 82.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.32603,
    "c": 0.08819,
    "h": 148.4
  },
  "luminance": 0.03771
}

Semantic roles & 50–950 ramp

primary
#064018
secondary
#802263
accent
#2FBAF9
background
#F4F7F5
surface
#E8EDE9
border
#C4C8C5
text
#030803
muted
#787B78

Preview Lab

Preview with #064018

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

Preview Lab → · Contrast checker → · Palette generator →

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