#052017#052017

#052017 is a very dark, muted teal. Relative luminance 0.011; OKLCH L 21.9% C 0.038 H 167.9°. Best body text is #FFFFFF at 17.14:1 contrast (WCAG AA passes).

Color values

HEX#052017
RGBrgb(5, 32, 23)
HSLhsl(160, 73%, 7%)
HSVhsv(160, 84%, 13%)
CMYKcmyk(84.4%, 0%, 28.1%, 87.5%)
CIE-LABlab(10.01, -13.08, 3.11)
CIE-LCHlch(10.01, 13.45, 166.64°)
OKLaboklab(21.95% -0.037 0.008)
OKLCHoklch(21.95% 0.038 167.9)
XYZxyz(0.7337, 1.1271, 0.9893)
Luminance0.0113 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#052017 #20050E
analogous
#05200A #052017 #051C20
triadic
#052017 #170520 #201705
tetradic
#052017 #0A0520 #20050E #1C2005
square
#052017 #0A0520 #20050E #1C2005
split-complementary
#052017 #20051C #200A05
monochromatic
#041A13 #041A13 #052017 #0D553D #168A63

Accessibility & contrast

On white

17.14
#052017 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#052017 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #052017
17.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##052017#FFFFFF#000000##FFFFFF
##0520171.0017.141.2317.14
#FFFFFF17.141.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F1D17
Deuteranopia (green-blind)
#1B1A18
Tritanopia (blue-blind)
#00201D
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #052017;
/* rgb */ color: rgb(5, 32, 23);
/* oklch */ color: oklch(21.9% 0.038 167.9);
Tailwind
colors: {
  custom: {
    50: '#485b53',
    500: '#052017',
    950: '#000000',
  },
}
SCSS
$custom: #052017;
$custom-light: #485b53;
$custom-dark: #000000;
JSON
{
  "hex": "#052017",
  "rgb": {
    "r": 5,
    "g": 32,
    "b": 23
  },
  "hsl": {
    "h": 160,
    "s": 72.973,
    "l": 7.255
  },
  "oklch": {
    "l": 0.2195,
    "c": 0.03782,
    "h": 167.9
  },
  "luminance": 0.01127
}

Semantic roles & 50–950 ramp

primary
#052017
secondary
#612035
accent
#3875F0
background
#F4F5F4
surface
#E6E9E7
border
#C2C5C3
text
#000402
muted
#777978

Preview Lab

Preview with #052017

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

Preview Lab → · Contrast checker → · Palette generator →

#052017 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva