#064028#064028

#064028 is a dark, moderate teal. Relative luminance 0.039; OKLCH L 32.9% C 0.071 H 159.6°. Best body text is #FFFFFF at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#064028
RGBrgb(6, 64, 40)
HSLhsl(155, 83%, 14%)
HSVhsv(155, 91%, 25%)
CMYKcmyk(90.6%, 0%, 37.5%, 74.9%)
CIE-LABlab(23.20, -24.52, 9.76)
CIE-LCHlch(23.20, 26.39, 158.29°)
OKLaboklab(32.95% -0.0665 0.0247)
OKLCHoklch(32.95% 0.071 159.6)
XYZxyz(2.2913, 3.8584, 2.6311)
Luminance0.0386 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#064028 #40061E
analogous
#06400B #064028 #063B40
triadic
#064028 #280640 #402806
tetradic
#064028 #0B0640 #40061E #3B4006
square
#064028 #0B0640 #40061E #3B4006
split-complementary
#064028 #40063B #400B06
monochromatic
#031C11 #031C11 #064028 #0B784B #10B06E

Accessibility & contrast

On white

11.85
#064028 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #064028
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##064028#FFFFFF#000000##FFFFFF
##0640281.0011.851.7711.85
#FFFFFF11.851.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3A27
Deuteranopia (green-blind)
#38352A
Tritanopia (blue-blind)
#00403A
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #064028;
/* rgb */ color: rgb(6, 64, 40);
/* oklch */ color: oklch(32.9% 0.071 159.6);
Tailwind
colors: {
  custom: {
    50: '#527562',
    500: '#064028',
    950: '#000000',
  },
}
SCSS
$custom: #064028;
$custom-light: #527562;
$custom-dark: #000000;
JSON
{
  "hex": "#064028",
  "rgb": {
    "r": 6,
    "g": 64,
    "b": 40
  },
  "hsl": {
    "h": 155.172,
    "s": 82.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.32946,
    "c": 0.07093,
    "h": 159.6
  },
  "luminance": 0.03859
}

Semantic roles & 50–950 ramp

primary
#064028
secondary
#802249
accent
#2F82F9
background
#F4F7F5
surface
#E7EDEA
border
#C3C8C6
text
#030805
muted
#787B79

Preview Lab

Preview with #064028

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

Preview Lab → · Contrast checker → · Palette generator →

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