#06402D#06402D

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

Color values

HEX#06402D
RGBrgb(6, 64, 45)
HSLhsl(160, 83%, 14%)
HSVhsv(160, 91%, 25%)
CMYKcmyk(90.6%, 0%, 29.7%, 74.9%)
CIE-LABlab(23.32, -23.17, 6.67)
CIE-LCHlch(23.32, 24.11, 163.94°)
OKLaboklab(33.09% -0.0636 0.017)
OKLCHoklch(33.09% 0.066 165)
XYZxyz(2.3819, 3.8947, 3.1083)
Luminance0.0389 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#06402D #400619
analogous
#064010 #06402D #063640
triadic
#06402D #2D0640 #402D06
tetradic
#06402D #100640 #400619 #364006
square
#06402D #100640 #400619 #364006
split-complementary
#06402D #400636 #401006
monochromatic
#031C14 #031C14 #06402D #0B7854 #10B07C

Accessibility & contrast

On white

11.80
#06402D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #06402D
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##06402D#FFFFFF#000000##FFFFFF
##06402D1.0011.801.7811.80
#FFFFFF11.801.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3B2C
Deuteranopia (green-blind)
#37352E
Tritanopia (blue-blind)
#00403B
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #06402d;
/* rgb */ color: rgb(6, 64, 45);
/* oklch */ color: oklch(33.1% 0.066 165.0);
Tailwind
colors: {
  custom: {
    50: '#527565',
    500: '#06402d',
    950: '#000000',
  },
}
SCSS
$custom: #06402d;
$custom-light: #527565;
$custom-dark: #000000;
JSON
{
  "hex": "#06402d",
  "rgb": {
    "r": 6,
    "g": 64,
    "b": 45
  },
  "hsl": {
    "h": 160.345,
    "s": 82.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.33087,
    "c": 0.06585,
    "h": 165
  },
  "luminance": 0.03895
}

Semantic roles & 50–950 ramp

primary
#06402D
secondary
#802241
accent
#2F71F9
background
#F4F7F6
surface
#E7EDEB
border
#C3C8C6
text
#030805
muted
#787B7A

Preview Lab

Preview with #06402D

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

Preview Lab → · Contrast checker → · Palette generator →

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