#06271E#06271E

#06271E is a very dark, muted teal. Relative luminance 0.016; OKLCH L 24.6% C 0.042 H 171.2°. Best body text is #FFFFFF at 15.95:1 contrast (WCAG AA passes).

Color values

HEX#06271E
RGBrgb(6, 39, 30)
HSLhsl(164, 73%, 9%)
HSVhsv(164, 85%, 15%)
CMYKcmyk(84.6%, 0%, 23.1%, 84.7%)
CIE-LABlab(13.13, -14.74, 2.50)
CIE-LCHlch(13.13, 14.95, 170.37°)
OKLaboklab(24.59% -0.0414 0.0064)
OKLCHoklch(24.59% 0.042 171.2)
XYZxyz(1.0348, 1.5834, 1.4791)
Luminance0.0158 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#06271E #27060F
analogous
#06270E #06271E #062027
triadic
#06271E #1E0627 #271E06
tetradic
#06271E #0E0627 #27060F #202706
square
#06271E #0E0627 #27060F #202706
split-complementary
#06271E #270620 #270E06
monochromatic
#041B14 #041B14 #06271E #0E5C47 #169170

Accessibility & contrast

On white

15.95
#06271E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#06271E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #06271E
15.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##06271E#FFFFFF#000000##FFFFFF
##06271E1.0015.951.3215.95
#FFFFFF15.951.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #06271e;
/* rgb */ color: rgb(6, 39, 30);
/* oklch */ color: oklch(24.6% 0.042 171.2);
Tailwind
colors: {
  custom: {
    50: '#4b6159',
    500: '#06271e',
    950: '#000000',
  },
}
SCSS
$custom: #06271e;
$custom-light: #4b6159;
$custom-dark: #000000;
JSON
{
  "hex": "#06271e",
  "rgb": {
    "r": 6,
    "g": 39,
    "b": 30
  },
  "hsl": {
    "h": 163.636,
    "s": 73.333,
    "l": 8.824
  },
  "oklch": {
    "l": 0.24586,
    "c": 0.04186,
    "h": 171.2
  },
  "luminance": 0.01583
}

Semantic roles & 50–950 ramp

primary
#06271E
secondary
#682134
accent
#386AF0
background
#F4F5F5
surface
#E7E9E9
border
#C3C5C5
text
#010503
muted
#777978

Preview Lab

Preview with #06271E

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

Preview Lab → · Contrast checker → · Palette generator →

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