#05311F#05311F

#05311F is a dark, muted teal. Relative luminance 0.023; OKLCH L 27.9% C 0.058 H 160.9°. Best body text is #FFFFFF at 14.33:1 contrast (WCAG AA passes).

Color values

HEX#05311F
RGBrgb(5, 49, 31)
HSLhsl(155, 81%, 11%)
HSVhsv(155, 90%, 19%)
CMYKcmyk(89.8%, 0%, 36.7%, 80.8%)
CIE-LABlab(17.12, -19.96, 7.40)
CIE-LCHlch(17.12, 21.29, 159.65°)
OKLaboklab(27.86% -0.0543 0.0188)
OKLCHoklch(27.86% 0.058 160.9)
XYZxyz(1.4081, 2.3276, 1.6711)
Luminance0.0233 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05311F #310517
analogous
#053109 #05311F #052D31
triadic
#05311F #1F0531 #311F05
tetradic
#05311F #090531 #310517 #2D3105
square
#05311F #090531 #310517 #2D3105
split-complementary
#05311F #31052D #310905
monochromatic
#031C12 #031C12 #05311F #0B6942 #10A065

Accessibility & contrast

On white

14.33
#05311F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#05311F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #05311F
14.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05311F#FFFFFF#000000##FFFFFF
##05311F1.0014.331.4714.33
#FFFFFF14.331.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #05311f;
/* rgb */ color: rgb(5, 49, 31);
/* oklch */ color: oklch(27.9% 0.058 160.9);
Tailwind
colors: {
  custom: {
    50: '#4d695a',
    500: '#05311f',
    950: '#000000',
  },
}
SCSS
$custom: #05311f;
$custom-light: #4d695a;
$custom-dark: #000000;
JSON
{
  "hex": "#05311f",
  "rgb": {
    "r": 5,
    "g": 49,
    "b": 31
  },
  "hsl": {
    "h": 155.455,
    "s": 81.481,
    "l": 10.588
  },
  "oklch": {
    "l": 0.27861,
    "c": 0.0575,
    "h": 160.9
  },
  "luminance": 0.02328
}

Semantic roles & 50–950 ramp

primary
#05311F
secondary
#721F41
accent
#3082F8
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#020603
muted
#787A78

Preview Lab

Preview with #05311F

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

Preview Lab → · Contrast checker → · Palette generator →

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