#05311B#05311B

#05311B is a dark, moderate teal. Relative luminance 0.023; OKLCH L 27.8% C 0.062 H 156.2°. Best body text is #FFFFFF at 14.37:1 contrast (WCAG AA passes).

Color values

HEX#05311B
RGBrgb(5, 49, 27)
HSLhsl(150, 81%, 11%)
HSVhsv(150, 90%, 19%)
CMYKcmyk(89.8%, 0%, 44.9%, 80.8%)
CIE-LABlab(17.03, -21.01, 9.97)
CIE-LCHlch(17.03, 23.26, 154.62°)
OKLaboklab(27.75% -0.0567 0.025)
OKLCHoklch(27.75% 0.062 156.2)
XYZxyz(1.3586, 2.3079, 1.4106)
Luminance0.0231 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05311B #31051B
analogous
#053105 #05311B #053131
triadic
#05311B #1B0531 #311B05
tetradic
#05311B #050531 #31051B #313105
square
#05311B #050531 #31051B #313105
split-complementary
#05311B #310531 #310505
monochromatic
#031C0F #031C0F #05311B #0B693A #10A058

Accessibility & contrast

On white

14.37
#05311B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #05311B
14.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05311B#FFFFFF#000000##FFFFFF
##05311B1.0014.371.4614.37
#FFFFFF14.371.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312C1A
Deuteranopia (green-blind)
#2B281C
Tritanopia (blue-blind)
#00302B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #05311b;
/* rgb */ color: rgb(5, 49, 27);
/* oklch */ color: oklch(27.8% 0.062 156.2);
Tailwind
colors: {
  custom: {
    50: '#4d6957',
    500: '#05311b',
    950: '#000000',
  },
}
SCSS
$custom: #05311b;
$custom-light: #4d6957;
$custom-dark: #000000;
JSON
{
  "hex": "#05311b",
  "rgb": {
    "r": 5,
    "g": 49,
    "b": 27
  },
  "hsl": {
    "h": 150,
    "s": 81.481,
    "l": 10.588
  },
  "oklch": {
    "l": 0.27752,
    "c": 0.06198,
    "h": 156.2
  },
  "luminance": 0.02308
}

Semantic roles & 50–950 ramp

primary
#05311B
secondary
#721F49
accent
#3094F8
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#020603
muted
#787A78

Preview Lab

Preview with #05311B

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

Preview Lab → · Contrast checker → · Palette generator →

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