#05271A#05271A

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

Color values

HEX#05271A
RGBrgb(5, 39, 26)
HSLhsl(157, 77%, 9%)
HSVhsv(157, 87%, 15%)
CMYKcmyk(87.2%, 0%, 33.3%, 84.7%)
CIE-LABlab(12.97, -16.25, 5.12)
CIE-LCHlch(12.97, 17.04, 162.52°)
OKLaboklab(24.41% -0.0446 0.0131)
OKLCHoklch(24.41% 0.047 163.7)
XYZxyz(0.9745, 1.5578, 1.2264)
Luminance0.0156 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05271A #270512
analogous
#052709 #05271A #052327
triadic
#05271A #1A0527 #271A05
tetradic
#05271A #090527 #270512 #232705
square
#05271A #090527 #270512 #232705
split-complementary
#05271A #270523 #270905
monochromatic
#031B12 #031B12 #05271A #0C5D3E #139362

Accessibility & contrast

On white

16.01
#05271A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #05271A
16.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05271A#FFFFFF#000000##FFFFFF
##05271A1.0016.011.3116.01
#FFFFFF16.011.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #05271a;
/* rgb */ color: rgb(5, 39, 26);
/* oklch */ color: oklch(24.4% 0.046 163.7);
Tailwind
colors: {
  custom: {
    50: '#4a6156',
    500: '#05271a',
    950: '#000000',
  },
}
SCSS
$custom: #05271a;
$custom-light: #4a6156;
$custom-dark: #000000;
JSON
{
  "hex": "#05271a",
  "rgb": {
    "r": 5,
    "g": 39,
    "b": 26
  },
  "hsl": {
    "h": 157.059,
    "s": 77.273,
    "l": 8.627
  },
  "oklch": {
    "l": 0.24406,
    "c": 0.0465,
    "h": 163.7
  },
  "luminance": 0.01558
}

Semantic roles & 50–950 ramp

primary
#05271A
secondary
#691F3B
accent
#347DF4
background
#F4F5F5
surface
#E7EAE9
border
#C3C6C5
text
#010503
muted
#777978

Preview Lab

Preview with #05271A

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

Preview Lab → · Contrast checker → · Palette generator →

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