#05311C#05311C

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

Color values

HEX#05311C
RGBrgb(5, 49, 28)
HSLhsl(151, 81%, 11%)
HSVhsv(151, 90%, 19%)
CMYKcmyk(89.8%, 0%, 42.9%, 80.8%)
CIE-LABlab(17.05, -20.76, 9.33)
CIE-LCHlch(17.05, 22.76, 155.79°)
OKLaboklab(27.78% -0.0561 0.0235)
OKLCHoklch(27.78% 0.061 157.3)
XYZxyz(1.3704, 2.3126, 1.4725)
Luminance0.0231 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05311C #31051A
analogous
#053106 #05311C #053031
triadic
#05311C #1C0531 #311C05
tetradic
#05311C #060531 #31051A #303105
square
#05311C #060531 #31051A #303105
split-complementary
#05311C #310530 #310605
monochromatic
#031C10 #031C10 #05311C #0B693C #10A05B

Accessibility & contrast

On white

14.36
#05311C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #05311C
14.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05311C#FFFFFF#000000##FFFFFF
##05311C1.0014.361.4614.36
#FFFFFF14.361.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312C1B
Deuteranopia (green-blind)
#2B281D
Tritanopia (blue-blind)
#00312C
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #05311c;
/* rgb */ color: rgb(5, 49, 28);
/* oklch */ color: oklch(27.8% 0.061 157.3);
Tailwind
colors: {
  custom: {
    50: '#4d6958',
    500: '#05311c',
    950: '#000000',
  },
}
SCSS
$custom: #05311c;
$custom-light: #4d6958;
$custom-dark: #000000;
JSON
{
  "hex": "#05311c",
  "rgb": {
    "r": 5,
    "g": 49,
    "b": 28
  },
  "hsl": {
    "h": 151.364,
    "s": 81.481,
    "l": 10.588
  },
  "oklch": {
    "l": 0.27778,
    "c": 0.06084,
    "h": 157.3
  },
  "luminance": 0.02313
}

Semantic roles & 50–950 ramp

primary
#05311C
secondary
#721F47
accent
#308FF8
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#020603
muted
#787A78

Preview Lab

Preview with #05311C

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

Preview Lab → · Contrast checker → · Palette generator →

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