#06271C#06271C

#06271C is a very dark, muted teal. Relative luminance 0.016; OKLCH L 24.5% C 0.044 H 167.0°. Best body text is #FFFFFF at 15.97:1 contrast (WCAG AA passes).

Color values

HEX#06271C
RGBrgb(6, 39, 28)
HSLhsl(160, 73%, 9%)
HSVhsv(160, 85%, 15%)
CMYKcmyk(84.6%, 0%, 28.2%, 84.7%)
CIE-LABlab(13.07, -15.36, 3.84)
CIE-LCHlch(13.07, 15.84, 165.97°)
OKLaboklab(24.52% -0.0426 0.0098)
OKLCHoklch(24.52% 0.044 167)
XYZxyz(1.0101, 1.5735, 1.3489)
Luminance0.0157 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#06271C #270611
analogous
#06270C #06271C #062227
triadic
#06271C #1C0627 #271C06
tetradic
#06271C #0C0627 #270611 #222706
square
#06271C #0C0627 #270611 #222706
split-complementary
#06271C #270622 #270C06
monochromatic
#041B13 #041B13 #06271C #0E5C42 #169168

Accessibility & contrast

On white

15.97
#06271C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#06271C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #06271C
15.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##06271C#FFFFFF#000000##FFFFFF
##06271C1.0015.971.3115.97
#FFFFFF15.971.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26241B
Deuteranopia (green-blind)
#21201D
Tritanopia (blue-blind)
#002724
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #06271c;
/* rgb */ color: rgb(6, 39, 28);
/* oklch */ color: oklch(24.5% 0.044 167.0);
Tailwind
colors: {
  custom: {
    50: '#4a6158',
    500: '#06271c',
    950: '#000000',
  },
}
SCSS
$custom: #06271c;
$custom-light: #4a6158;
$custom-dark: #000000;
JSON
{
  "hex": "#06271c",
  "rgb": {
    "r": 6,
    "g": 39,
    "b": 28
  },
  "hsl": {
    "h": 160,
    "s": 73.333,
    "l": 8.824
  },
  "oklch": {
    "l": 0.24516,
    "c": 0.04372,
    "h": 167
  },
  "luminance": 0.01574
}

Semantic roles & 50–950 ramp

primary
#06271C
secondary
#682139
accent
#3875F0
background
#F4F5F5
surface
#E7E9E9
border
#C3C5C5
text
#010503
muted
#777978

Preview Lab

Preview with #06271C

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

Preview Lab → · Contrast checker → · Palette generator →

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