#0C2222#0C2222

#0C2222 is a very dark, muted teal. Relative luminance 0.013; OKLCH L 23.4% C 0.028 H 195.4°. Best body text is #FFFFFF at 16.57:1 contrast (WCAG AA passes).

Color values

HEX#0C2222
RGBrgb(12, 34, 34)
HSLhsl(180, 48%, 9%)
HSVhsv(180, 65%, 13%)
CMYKcmyk(64.7%, 0%, 0%, 86.7%)
CIE-LABlab(11.54, -8.68, -2.69)
CIE-LCHlch(11.54, 9.09, 197.19°)
OKLaboklab(23.41% -0.0269 -0.0074)
OKLCHoklch(23.41% 0.028 195.4)
XYZxyz(1.0123, 1.3376, 1.7179)
Luminance0.0134 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2222 #220C0C
analogous
#0C2217 #0C2222 #0C1722
triadic
#0C2222 #220C22 #22220C
tetradic
#0C2222 #170C22 #220C0C #17220C
square
#0C2222 #170C22 #220C0C #17220C
split-complementary
#0C2222 #220C17 #22170C
monochromatic
#081717 #081717 #0C2222 #1C4F4F #2C7C7C

Accessibility & contrast

On white

16.57
#0C2222 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#0C2222 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2222
16.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2222#FFFFFF#000000##FFFFFF
##0C22221.0016.571.2716.57
#FFFFFF16.571.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202022
Deuteranopia (green-blind)
#1C1D22
Tritanopia (blue-blind)
#022322
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #0c2222;
/* rgb */ color: rgb(12, 34, 34);
/* oklch */ color: oklch(23.4% 0.028 195.4);
Tailwind
colors: {
  custom: {
    50: '#4d5d5c',
    500: '#0c2222',
    950: '#000000',
  },
}
SCSS
$custom: #0c2222;
$custom-light: #4d5d5c;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2222",
  "rgb": {
    "r": 12,
    "g": 34,
    "b": 34
  },
  "hsl": {
    "h": 180,
    "s": 47.826,
    "l": 9.02
  },
  "oklch": {
    "l": 0.23412,
    "c": 0.02793,
    "h": 195.4
  },
  "luminance": 0.01338
}

Semantic roles & 50–950 ramp

primary
#0C2222
secondary
#5C2E2E
accent
#5050D7
background
#F4F5F5
surface
#E7E9E9
border
#C3C5C5
text
#010404
muted
#777979

Preview Lab

Preview with #0C2222

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

Preview Lab → · Contrast checker → · Palette generator →

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