#05311E#05311E

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

Color values

HEX#05311E
RGBrgb(5, 49, 30)
HSLhsl(154, 81%, 11%)
HSVhsv(154, 90%, 19%)
CMYKcmyk(89.8%, 0%, 38.8%, 80.8%)
CIE-LABlab(17.10, -20.23, 8.05)
CIE-LCHlch(17.10, 21.77, 158.31°)
OKLaboklab(27.83% -0.0549 0.0204)
OKLCHoklch(27.83% 0.059 159.7)
XYZxyz(1.3951, 2.3225, 1.6028)
Luminance0.0232 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05311E #310518
analogous
#053108 #05311E #052E31
triadic
#05311E #1E0531 #311E05
tetradic
#05311E #080531 #310518 #2E3105
square
#05311E #080531 #310518 #2E3105
split-complementary
#05311E #31052E #310805
monochromatic
#031C11 #031C11 #05311E #0B6940 #10A062

Accessibility & contrast

On white

14.34
#05311E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #05311E
14.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05311E#FFFFFF#000000##FFFFFF
##05311E1.0014.341.4614.34
#FFFFFF14.341.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #05311e;
/* rgb */ color: rgb(5, 49, 30);
/* oklch */ color: oklch(27.8% 0.059 159.7);
Tailwind
colors: {
  custom: {
    50: '#4d6959',
    500: '#05311e',
    950: '#000000',
  },
}
SCSS
$custom: #05311e;
$custom-light: #4d6959;
$custom-dark: #000000;
JSON
{
  "hex": "#05311e",
  "rgb": {
    "r": 5,
    "g": 49,
    "b": 30
  },
  "hsl": {
    "h": 154.091,
    "s": 81.481,
    "l": 10.588
  },
  "oklch": {
    "l": 0.27832,
    "c": 0.0586,
    "h": 159.7
  },
  "luminance": 0.02323
}

Semantic roles & 50–950 ramp

primary
#05311E
secondary
#721F43
accent
#3086F8
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#020603
muted
#787A78

Preview Lab

Preview with #05311E

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

Preview Lab → · Contrast checker → · Palette generator →

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