#05271C#05271C

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

Color values

HEX#05271C
RGBrgb(5, 39, 28)
HSLhsl(161, 77%, 9%)
HSVhsv(161, 87%, 15%)
CMYKcmyk(87.2%, 0%, 28.2%, 84.7%)
CIE-LABlab(13.03, -15.65, 3.78)
CIE-LCHlch(13.03, 16.10, 166.43°)
OKLaboklab(24.47% -0.0434 0.0097)
OKLCHoklch(24.47% 0.044 167.4)
XYZxyz(0.9976, 1.5670, 1.3483)
Luminance0.0157 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05271C #270510
analogous
#05270B #05271C #052127
triadic
#05271C #1C0527 #271C05
tetradic
#05271C #0B0527 #270510 #212705
square
#05271C #0B0527 #270510 #212705
split-complementary
#05271C #270521 #270B05
monochromatic
#031B13 #031B13 #05271C #0C5D43 #13936A

Accessibility & contrast

On white

15.99
#05271C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #05271C
15.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05271C#FFFFFF#000000##FFFFFF
##05271C1.0015.991.3115.99
#FFFFFF15.991.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.991.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: #05271c;
/* rgb */ color: rgb(5, 39, 28);
/* oklch */ color: oklch(24.5% 0.044 167.4);
Tailwind
colors: {
  custom: {
    50: '#4a6158',
    500: '#05271c',
    950: '#000000',
  },
}
SCSS
$custom: #05271c;
$custom-light: #4a6158;
$custom-dark: #000000;
JSON
{
  "hex": "#05271c",
  "rgb": {
    "r": 5,
    "g": 39,
    "b": 28
  },
  "hsl": {
    "h": 160.588,
    "s": 77.273,
    "l": 8.627
  },
  "oklch": {
    "l": 0.24472,
    "c": 0.04445,
    "h": 167.4
  },
  "luminance": 0.01567
}

Semantic roles & 50–950 ramp

primary
#05271C
secondary
#691F37
accent
#3472F4
background
#F4F5F5
surface
#E7EAE9
border
#C3C6C5
text
#010503
muted
#777978

Preview Lab

Preview with #05271C

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

Preview Lab → · Contrast checker → · Palette generator →

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