#06402C#06402C

#06402C is a dark, moderate teal. Relative luminance 0.039; OKLCH L 33.1% C 0.067 H 163.9°. Best body text is #FFFFFF at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#06402C
RGBrgb(6, 64, 44)
HSLhsl(159, 83%, 14%)
HSVhsv(159, 91%, 25%)
CMYKcmyk(90.6%, 0%, 31.2%, 74.9%)
CIE-LABlab(23.29, -23.45, 7.29)
CIE-LCHlch(23.29, 24.55, 162.73°)
OKLaboklab(33.06% -0.0642 0.0186)
OKLCHoklch(33.06% 0.067 163.9)
XYZxyz(2.3629, 3.8871, 3.0081)
Luminance0.0389 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#06402C #40061A
analogous
#06400F #06402C #063740
triadic
#06402C #2C0640 #402C06
tetradic
#06402C #0F0640 #40061A #374006
square
#06402C #0F0640 #40061A #374006
split-complementary
#06402C #400637 #400F06
monochromatic
#031C13 #031C13 #06402C #0B7852 #10B079

Accessibility & contrast

On white

11.82
#06402C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#06402C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #06402C
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##06402C#FFFFFF#000000##FFFFFF
##06402C1.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3A2B
Deuteranopia (green-blind)
#38352D
Tritanopia (blue-blind)
#00403B
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #06402c;
/* rgb */ color: rgb(6, 64, 44);
/* oklch */ color: oklch(33.1% 0.067 163.9);
Tailwind
colors: {
  custom: {
    50: '#527565',
    500: '#06402c',
    950: '#000000',
  },
}
SCSS
$custom: #06402c;
$custom-light: #527565;
$custom-dark: #000000;
JSON
{
  "hex": "#06402c",
  "rgb": {
    "r": 6,
    "g": 64,
    "b": 44
  },
  "hsl": {
    "h": 159.31,
    "s": 82.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.33058,
    "c": 0.06683,
    "h": 163.9
  },
  "luminance": 0.03887
}

Semantic roles & 50–950 ramp

primary
#06402C
secondary
#802242
accent
#2F74F9
background
#F4F7F6
surface
#E7EDEB
border
#C3C8C6
text
#030805
muted
#787B7A

Preview Lab

Preview with #06402C

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

Preview Lab → · Contrast checker → · Palette generator →

#06402C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva