#06311D#06311D

#06311D is a dark, muted teal. Relative luminance 0.023; OKLCH L 27.8% C 0.059 H 158.2°. Best body text is #FFFFFF at 14.34:1 contrast (WCAG AA passes).

Color values

HEX#06311D
RGBrgb(6, 49, 29)
HSLhsl(152, 78%, 11%)
HSVhsv(152, 88%, 19%)
CMYKcmyk(87.8%, 0%, 40.8%, 80.8%)
CIE-LABlab(17.10, -20.27, 8.74)
CIE-LCHlch(17.10, 22.07, 156.68°)
OKLaboklab(27.84% -0.0549 0.022)
OKLCHoklch(27.84% 0.059 158.2)
XYZxyz(1.3950, 2.3239, 1.5372)
Luminance0.0232 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#06311D #31061A
analogous
#063107 #06311D #062F31
triadic
#06311D #1D0631 #311D06
tetradic
#06311D #070631 #31061A #2F3106
square
#06311D #070631 #31061A #2F3106
split-complementary
#06311D #31062F #310706
monochromatic
#031B10 #031B10 #06311D #0D683D #139E5E

Accessibility & contrast

On white

14.34
#06311D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#06311D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #06311D
14.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##06311D#FFFFFF#000000##FFFFFF
##06311D1.0014.341.4614.34
#FFFFFF14.341.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302C1C
Deuteranopia (green-blind)
#2B291E
Tritanopia (blue-blind)
#00312C
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #06311d;
/* rgb */ color: rgb(6, 49, 29);
/* oklch */ color: oklch(27.8% 0.059 158.2);
Tailwind
colors: {
  custom: {
    50: '#4d6959',
    500: '#06311d',
    950: '#000000',
  },
}
SCSS
$custom: #06311d;
$custom-light: #4d6959;
$custom-dark: #000000;
JSON
{
  "hex": "#06311d",
  "rgb": {
    "r": 6,
    "g": 49,
    "b": 29
  },
  "hsl": {
    "h": 152.093,
    "s": 78.182,
    "l": 10.784
  },
  "oklch": {
    "l": 0.27839,
    "c": 0.05918,
    "h": 158.2
  },
  "luminance": 0.02324
}

Semantic roles & 50–950 ramp

primary
#06311D
secondary
#722147
accent
#338DF5
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#020603
muted
#787A78

Preview Lab

Preview with #06311D

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

Preview Lab → · Contrast checker → · Palette generator →

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