#05321C#05321C

#05321C is a dark, moderate teal. Relative luminance 0.024; OKLCH L 28.1% C 0.062 H 156.7°. Best body text is #FFFFFF at 14.19:1 contrast (WCAG AA passes).

Color values

HEX#05321C
RGBrgb(5, 50, 28)
HSLhsl(151, 82%, 11%)
HSVhsv(151, 90%, 20%)
CMYKcmyk(90%, 0%, 44%, 80.4%)
CIE-LABlab(17.45, -21.23, 9.87)
CIE-LCHlch(17.45, 23.41, 155.08°)
OKLaboklab(28.11% -0.0574 0.0247)
OKLCHoklch(28.11% 0.062 156.7)
XYZxyz(1.4127, 2.3971, 1.4866)
Luminance0.0240 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05321C #32051B
analogous
#053206 #05321C #053132
triadic
#05321C #1C0532 #321C05
tetradic
#05321C #060532 #32051B #313205
square
#05321C #060532 #32051B #313205
split-complementary
#05321C #320531 #320605
monochromatic
#031C10 #031C10 #05321C #0B6A3B #10A15A

Accessibility & contrast

On white

14.19
#05321C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#05321C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #05321C
14.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05321C#FFFFFF#000000##FFFFFF
##05321C1.0014.191.4814.19
#FFFFFF14.191.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322D1B
Deuteranopia (green-blind)
#2C291D
Tritanopia (blue-blind)
#00312C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #05321c;
/* rgb */ color: rgb(5, 50, 28);
/* oklch */ color: oklch(28.1% 0.062 156.7);
Tailwind
colors: {
  custom: {
    50: '#4d6a58',
    500: '#05321c',
    950: '#000000',
  },
}
SCSS
$custom: #05321c;
$custom-light: #4d6a58;
$custom-dark: #000000;
JSON
{
  "hex": "#05321c",
  "rgb": {
    "r": 5,
    "g": 50,
    "b": 28
  },
  "hsl": {
    "h": 150.667,
    "s": 81.818,
    "l": 10.784
  },
  "oklch": {
    "l": 0.28106,
    "c": 0.06247,
    "h": 156.7
  },
  "luminance": 0.02397
}

Semantic roles & 50–950 ramp

primary
#05321C
secondary
#731F48
accent
#3092F8
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#020603
muted
#787A78

Preview Lab

Preview with #05321C

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

Preview Lab → · Contrast checker → · Palette generator →

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