#0C2A22#0C2A22

#0C2A22 is a dark, muted teal. Relative luminance 0.018; OKLCH L 26.0% C 0.039 H 172.8°. Best body text is #FFFFFF at 15.33:1 contrast (WCAG AA passes).

Color values

HEX#0C2A22
RGBrgb(12, 42, 34)
HSLhsl(164, 56%, 11%)
HSVhsv(164, 71%, 16%)
CMYKcmyk(71.4%, 0%, 19%, 83.5%)
CIE-LABlab(14.68, -13.64, 1.91)
CIE-LCHlch(14.68, 13.77, 172.02°)
OKLaboklab(25.96% -0.0386 0.0049)
OKLCHoklch(25.96% 0.039 172.8)
XYZxyz(1.2682, 1.8495, 1.8032)
Luminance0.0185 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2A22 #2A0C14
analogous
#0C2A13 #0C2A22 #0C232A
triadic
#0C2A22 #220C2A #2A220C
tetradic
#0C2A22 #130C2A #2A0C14 #232A0C
square
#0C2A22 #130C2A #2A0C14 #232A0C
split-complementary
#0C2A22 #2A0C23 #2A130C
monochromatic
#071813 #071813 #0C2A22 #1A5A49 #27896F

Accessibility & contrast

On white

15.33
#0C2A22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#0C2A22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2A22
15.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2A22#FFFFFF#000000##FFFFFF
##0C2A221.0015.331.3715.33
#FFFFFF15.331.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282722
Deuteranopia (green-blind)
#242423
Tritanopia (blue-blind)
#002A28
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #0c2a22;
/* rgb */ color: rgb(12, 42, 34);
/* oklch */ color: oklch(26.0% 0.039 172.8);
Tailwind
colors: {
  custom: {
    50: '#4e635c',
    500: '#0c2a22',
    950: '#000000',
  },
}
SCSS
$custom: #0c2a22;
$custom-light: #4e635c;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2a22",
  "rgb": {
    "r": 12,
    "g": 42,
    "b": 34
  },
  "hsl": {
    "h": 164,
    "s": 55.556,
    "l": 10.588
  },
  "oklch": {
    "l": 0.25955,
    "c": 0.03894,
    "h": 172.8
  },
  "luminance": 0.0185
}

Semantic roles & 50–950 ramp

primary
#0C2A22
secondary
#652D3C
accent
#4971DF
background
#F4F5F5
surface
#E7EAE9
border
#C3C6C5
text
#020504
muted
#787979

Preview Lab

Preview with #0C2A22

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

Preview Lab → · Contrast checker → · Palette generator →

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