#06402A#06402A

#06402A is a dark, moderate teal. Relative luminance 0.039; OKLCH L 33.0% C 0.069 H 161.7°. Best body text is #FFFFFF at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#06402A
RGBrgb(6, 64, 42)
HSLhsl(157, 83%, 14%)
HSVhsv(157, 91%, 25%)
CMYKcmyk(90.6%, 0%, 34.4%, 74.9%)
CIE-LABlab(23.25, -23.99, 8.53)
CIE-LCHlch(23.25, 25.46, 160.44°)
OKLaboklab(33% -0.0653 0.0216)
OKLCHoklch(33% 0.069 161.7)
XYZxyz(2.3262, 3.8724, 2.8149)
Luminance0.0387 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#06402A #40061C
analogous
#06400D #06402A #063940
triadic
#06402A #2A0640 #402A06
tetradic
#06402A #0D0640 #40061C #394006
square
#06402A #0D0640 #40061C #394006
split-complementary
#06402A #400639 #400D06
monochromatic
#031C12 #031C12 #06402A #0B784F #10B073

Accessibility & contrast

On white

11.83
#06402A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#06402A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #06402A
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##06402A#FFFFFF#000000##FFFFFF
##06402A1.0011.831.7711.83
#FFFFFF11.831.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #06402a;
/* rgb */ color: rgb(6, 64, 42);
/* oklch */ color: oklch(33.0% 0.069 161.7);
Tailwind
colors: {
  custom: {
    50: '#527563',
    500: '#06402a',
    950: '#000000',
  },
}
SCSS
$custom: #06402a;
$custom-light: #527563;
$custom-dark: #000000;
JSON
{
  "hex": "#06402a",
  "rgb": {
    "r": 6,
    "g": 64,
    "b": 42
  },
  "hsl": {
    "h": 157.241,
    "s": 82.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.33001,
    "c": 0.06884,
    "h": 161.7
  },
  "luminance": 0.03873
}

Semantic roles & 50–950 ramp

primary
#06402A
secondary
#802246
accent
#2F7BF9
background
#F4F7F5
surface
#E7EDEA
border
#C3C8C6
text
#030805
muted
#787B79

Preview Lab

Preview with #06402A

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

Preview Lab → · Contrast checker → · Palette generator →

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