#0C221A#0C221A

#0C221A is a very dark, muted teal. Relative luminance 0.013; OKLCH L 23.1% C 0.032 H 167.5°. Best body text is #FFFFFF at 16.67:1 contrast (WCAG AA passes).

Color values

HEX#0C221A
RGBrgb(12, 34, 26)
HSLhsl(158, 48%, 9%)
HSVhsv(158, 65%, 13%)
CMYKcmyk(64.7%, 0%, 23.5%, 86.7%)
CIE-LABlab(11.25, -11.30, 2.74)
CIE-LCHlch(11.25, 11.62, 166.39°)
OKLaboklab(23.09% -0.0317 0.007)
OKLCHoklch(23.09% 0.032 167.5)
XYZxyz(0.9100, 1.2967, 1.1794)
Luminance0.0130 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C221A #220C14
analogous
#0C220F #0C221A #0C1F22
triadic
#0C221A #1A0C22 #221A0C
tetradic
#0C221A #0F0C22 #220C14 #1F220C
square
#0C221A #0F0C22 #220C14 #1F220C
split-complementary
#0C221A #220C1F #220F0C
monochromatic
#081711 #081711 #0C221A #1C4F3D #2C7C5F

Accessibility & contrast

On white

16.67
#0C221A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#0C221A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C221A
16.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C221A#FFFFFF#000000##FFFFFF
##0C221A1.0016.671.2616.67
#FFFFFF16.671.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#211F1A
Deuteranopia (green-blind)
#1E1D1B
Tritanopia (blue-blind)
#052220
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #0c221a;
/* rgb */ color: rgb(12, 34, 26);
/* oklch */ color: oklch(23.1% 0.032 167.5);
Tailwind
colors: {
  custom: {
    50: '#4c5d56',
    500: '#0c221a',
    950: '#000000',
  },
}
SCSS
$custom: #0c221a;
$custom-light: #4c5d56;
$custom-dark: #000000;
JSON
{
  "hex": "#0c221a",
  "rgb": {
    "r": 12,
    "g": 34,
    "b": 26
  },
  "hsl": {
    "h": 158.182,
    "s": 47.826,
    "l": 9.02
  },
  "oklch": {
    "l": 0.23089,
    "c": 0.03244,
    "h": 167.5
  },
  "luminance": 0.01297
}

Semantic roles & 50–950 ramp

primary
#0C221A
secondary
#5C2E3F
accent
#5081D7
background
#F4F5F5
surface
#E7E9E9
border
#C3C5C5
text
#010403
muted
#777978

Preview Lab

Preview with #0C221A

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

Preview Lab → · Contrast checker → · Palette generator →

#0C221A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva