#06402F#06402F

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

Color values

HEX#06402F
RGBrgb(6, 64, 47)
HSLhsl(162, 83%, 14%)
HSVhsv(162, 91%, 25%)
CMYKcmyk(90.6%, 0%, 26.6%, 74.9%)
CIE-LABlab(23.37, -22.59, 5.43)
CIE-LCHlch(23.37, 23.23, 166.49°)
OKLaboklab(33.15% -0.0625 0.0139)
OKLCHoklch(33.15% 0.064 167.5)
XYZxyz(2.4213, 3.9104, 3.3160)
Luminance0.0391 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#06402F #400617
analogous
#064012 #06402F #063440
triadic
#06402F #2F0640 #402F06
tetradic
#06402F #120640 #400617 #344006
square
#06402F #120640 #400617 #344006
split-complementary
#06402F #400634 #401206
monochromatic
#031C15 #031C15 #06402F #0B7858 #10B081

Accessibility & contrast

On white

11.78
#06402F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #06402F
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##06402F#FFFFFF#000000##FFFFFF
##06402F1.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3B2E
Deuteranopia (green-blind)
#373630
Tritanopia (blue-blind)
#00403B
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #06402f;
/* rgb */ color: rgb(6, 64, 47);
/* oklch */ color: oklch(33.1% 0.064 167.5);
Tailwind
colors: {
  custom: {
    50: '#527567',
    500: '#06402f',
    950: '#000000',
  },
}
SCSS
$custom: #06402f;
$custom-light: #527567;
$custom-dark: #000000;
JSON
{
  "hex": "#06402f",
  "rgb": {
    "r": 6,
    "g": 64,
    "b": 47
  },
  "hsl": {
    "h": 162.414,
    "s": 82.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.33148,
    "c": 0.06398,
    "h": 167.5
  },
  "luminance": 0.03911
}

Semantic roles & 50–950 ramp

primary
#06402F
secondary
#80223D
accent
#2F6AF9
background
#F4F7F6
surface
#E7EDEB
border
#C3C8C6
text
#030806
muted
#787B7A

Preview Lab

Preview with #06402F

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

Preview Lab → · Contrast checker → · Palette generator →

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