#06271A#06271A

#06271A is a very dark, muted teal. Relative luminance 0.016; OKLCH L 24.4% C 0.046 H 163.2°. Best body text is #FFFFFF at 16.00:1 contrast (WCAG AA passes).

Color values

HEX#06271A
RGBrgb(6, 39, 26)
HSLhsl(156, 73%, 9%)
HSVhsv(156, 85%, 15%)
CMYKcmyk(84.6%, 0%, 33.3%, 84.7%)
CIE-LABlab(13.01, -15.96, 5.18)
CIE-LCHlch(13.01, 16.78, 162.02°)
OKLaboklab(24.45% -0.0438 0.0132)
OKLCHoklch(24.45% 0.046 163.2)
XYZxyz(0.9870, 1.5642, 1.2270)
Luminance0.0156 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#06271A #270613
analogous
#06270A #06271A #062427
triadic
#06271A #1A0627 #271A06
tetradic
#06271A #0A0627 #270613 #242706
square
#06271A #0A0627 #270613 #242706
split-complementary
#06271A #270624 #270A06
monochromatic
#041B12 #041B12 #06271A #0E5C3D #169161

Accessibility & contrast

On white

16.00
#06271A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #06271A
16.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##06271A#FFFFFF#000000##FFFFFF
##06271A1.0016.001.3116.00
#FFFFFF16.001.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262319
Deuteranopia (green-blind)
#22201B
Tritanopia (blue-blind)
#002723
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #06271a;
/* rgb */ color: rgb(6, 39, 26);
/* oklch */ color: oklch(24.4% 0.046 163.2);
Tailwind
colors: {
  custom: {
    50: '#4a6156',
    500: '#06271a',
    950: '#000000',
  },
}
SCSS
$custom: #06271a;
$custom-light: #4a6156;
$custom-dark: #000000;
JSON
{
  "hex": "#06271a",
  "rgb": {
    "r": 6,
    "g": 39,
    "b": 26
  },
  "hsl": {
    "h": 156.364,
    "s": 73.333,
    "l": 8.824
  },
  "oklch": {
    "l": 0.2445,
    "c": 0.04579,
    "h": 163.2
  },
  "luminance": 0.01564
}

Semantic roles & 50–950 ramp

primary
#06271A
secondary
#68213D
accent
#3880F0
background
#F4F5F5
surface
#E7EAE9
border
#C3C6C5
text
#010503
muted
#777978

Preview Lab

Preview with #06271A

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

Preview Lab → · Contrast checker → · Palette generator →

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