#05311D#05311D

#05311D is a dark, muted teal. Relative luminance 0.023; OKLCH L 27.8% C 0.060 H 158.5°. Best body text is #FFFFFF at 14.35:1 contrast (WCAG AA passes).

Color values

HEX#05311D
RGBrgb(5, 49, 29)
HSLhsl(153, 81%, 11%)
HSVhsv(153, 90%, 19%)
CMYKcmyk(89.8%, 0%, 40.8%, 80.8%)
CIE-LABlab(17.07, -20.50, 8.69)
CIE-LCHlch(17.07, 22.26, 157.03°)
OKLaboklab(27.81% -0.0555 0.0219)
OKLCHoklch(27.81% 0.06 158.5)
XYZxyz(1.3825, 2.3174, 1.5366)
Luminance0.0232 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05311D #310519
analogous
#053107 #05311D #052F31
triadic
#05311D #1D0531 #311D05
tetradic
#05311D #070531 #310519 #2F3105
square
#05311D #070531 #310519 #2F3105
split-complementary
#05311D #31052F #310705
monochromatic
#031C10 #031C10 #05311D #0B693E #10A05F

Accessibility & contrast

On white

14.35
#05311D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#05311D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #05311D
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05311D#FFFFFF#000000##FFFFFF
##05311D1.0014.351.4614.35
#FFFFFF14.351.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302C1C
Deuteranopia (green-blind)
#2B281E
Tritanopia (blue-blind)
#00312C
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #05311d;
/* rgb */ color: rgb(5, 49, 29);
/* oklch */ color: oklch(27.8% 0.060 158.5);
Tailwind
colors: {
  custom: {
    50: '#4d6959',
    500: '#05311d',
    950: '#000000',
  },
}
SCSS
$custom: #05311d;
$custom-light: #4d6959;
$custom-dark: #000000;
JSON
{
  "hex": "#05311d",
  "rgb": {
    "r": 5,
    "g": 49,
    "b": 29
  },
  "hsl": {
    "h": 152.727,
    "s": 81.481,
    "l": 10.588
  },
  "oklch": {
    "l": 0.27805,
    "c": 0.05971,
    "h": 158.5
  },
  "luminance": 0.02318
}

Semantic roles & 50–950 ramp

primary
#05311D
secondary
#721F45
accent
#308BF8
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#020603
muted
#787A78

Preview Lab

Preview with #05311D

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

Preview Lab → · Contrast checker → · Palette generator →

#05311D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva