#05301C#05301C

#05301C is a dark, muted teal. Relative luminance 0.022; OKLCH L 27.4% C 0.059 H 158.0°. Best body text is #FFFFFF at 14.52:1 contrast (WCAG AA passes).

Color values

HEX#05301C
RGBrgb(5, 48, 28)
HSLhsl(152, 81%, 10%)
HSVhsv(152, 90%, 19%)
CMYKcmyk(89.6%, 0%, 41.7%, 81.2%)
CIE-LABlab(16.65, -20.28, 8.79)
CIE-LCHlch(16.65, 22.10, 156.56°)
OKLaboklab(27.45% -0.0549 0.0222)
OKLCHoklch(27.45% 0.059 158)
XYZxyz(1.3290, 2.2299, 1.4587)
Luminance0.0223 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05301C #300519
analogous
#053006 #05301C #052E30
triadic
#05301C #1C0530 #301C05
tetradic
#05301C #060530 #300519 #2E3005
square
#05301C #060530 #300519 #2E3005
split-complementary
#05301C #30052E #300605
monochromatic
#031C10 #031C10 #05301C #0B673C #119F5D

Accessibility & contrast

On white

14.52
#05301C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#05301C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #05301C
14.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05301C#FFFFFF#000000##FFFFFF
##05301C1.0014.521.4514.52
#FFFFFF14.521.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2B1B
Deuteranopia (green-blind)
#2A281D
Tritanopia (blue-blind)
#00302B
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #05301c;
/* rgb */ color: rgb(5, 48, 28);
/* oklch */ color: oklch(27.4% 0.059 158.0);
Tailwind
colors: {
  custom: {
    50: '#4d6958',
    500: '#05301c',
    950: '#000000',
  },
}
SCSS
$custom: #05301c;
$custom-light: #4d6958;
$custom-dark: #000000;
JSON
{
  "hex": "#05301c",
  "rgb": {
    "r": 5,
    "g": 48,
    "b": 28
  },
  "hsl": {
    "h": 152.093,
    "s": 81.132,
    "l": 10.392
  },
  "oklch": {
    "l": 0.27449,
    "c": 0.05921,
    "h": 158
  },
  "luminance": 0.0223
}

Semantic roles & 50–950 ramp

primary
#05301C
secondary
#721F46
accent
#308DF8
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#010603
muted
#777A78

Preview Lab

Preview with #05301C

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

Preview Lab → · Contrast checker → · Palette generator →

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