#051F17#051F17

#051F17 is a very dark, muted teal. Relative luminance 0.011; OKLCH L 21.6% C 0.036 H 169.8°. Best body text is #FFFFFF at 17.29:1 contrast (WCAG AA passes).

Color values

HEX#051F17
RGBrgb(5, 31, 23)
HSLhsl(162, 72%, 7%)
HSVhsv(162, 84%, 12%)
CMYKcmyk(83.9%, 0%, 25.8%, 87.8%)
CIE-LABlab(9.59, -12.38, 2.52)
CIE-LCHlch(9.59, 12.63, 168.51°)
OKLaboklab(21.61% -0.0356 0.0064)
OKLCHoklch(21.61% 0.036 169.8)
XYZxyz(0.7072, 1.0740, 0.9805)
Luminance0.0107 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#051F17 #1F050D
analogous
#051F0A #051F17 #051A1F
triadic
#051F17 #17051F #1F1705
tetradic
#051F17 #0A051F #1F050D #1A1F05
square
#051F17 #0A051F #1F050D #1A1F05
split-complementary
#051F17 #1F051A #1F0A05
monochromatic
#041A14 #041A14 #051F17 #0E543E #168865

Accessibility & contrast

On white

17.29
#051F17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#051F17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #051F17
17.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##051F17#FFFFFF#000000##FFFFFF
##051F171.0017.291.2117.29
#FFFFFF17.291.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E1C17
Deuteranopia (green-blind)
#1A1A18
Tritanopia (blue-blind)
#001F1D
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #051f17;
/* rgb */ color: rgb(5, 31, 23);
/* oklch */ color: oklch(21.6% 0.036 169.8);
Tailwind
colors: {
  custom: {
    50: '#485a53',
    500: '#051f17',
    950: '#000000',
  },
}
SCSS
$custom: #051f17;
$custom-light: #485a53;
$custom-dark: #000000;
JSON
{
  "hex": "#051f17",
  "rgb": {
    "r": 5,
    "g": 31,
    "b": 23
  },
  "hsl": {
    "h": 161.538,
    "s": 72.222,
    "l": 7.059
  },
  "oklch": {
    "l": 0.21611,
    "c": 0.03614,
    "h": 169.8
  },
  "luminance": 0.01074
}

Semantic roles & 50–950 ramp

primary
#051F17
secondary
#602033
accent
#3971EF
background
#F4F5F4
surface
#E6E9E7
border
#C2C5C3
text
#000402
muted
#777978

Preview Lab

Preview with #051F17

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

Preview Lab → · Contrast checker → · Palette generator →

#051F17 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva