#0C2D22#0C2D22

#0C2D22 is a dark, muted teal. Relative luminance 0.021; OKLCH L 26.9% C 0.044 H 167.9°. Best body text is #FFFFFF at 14.85:1 contrast (WCAG AA passes).

Color values

HEX#0C2D22
RGBrgb(12, 45, 34)
HSLhsl(160, 58%, 11%)
HSVhsv(160, 73%, 18%)
CMYKcmyk(73.3%, 0%, 24.4%, 82.4%)
CIE-LABlab(15.85, -15.36, 3.59)
CIE-LCHlch(15.85, 15.77, 166.83°)
OKLaboklab(26.91% -0.0428 0.0092)
OKLCHoklch(26.91% 0.044 167.9)
XYZxyz(1.3786, 2.0703, 1.8400)
Luminance0.0207 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2D22 #2D0C17
analogous
#0C2D11 #0C2D22 #0C272D
triadic
#0C2D22 #220C2D #2D220C
tetradic
#0C2D22 #110C2D #2D0C17 #272D0C
square
#0C2D22 #110C2D #2D0C17 #272D0C
split-complementary
#0C2D22 #2D0C27 #2D110C
monochromatic
#061812 #061812 #0C2D22 #195D47 #268E6B

Accessibility & contrast

On white

14.85
#0C2D22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#0C2D22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2D22
14.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2D22#FFFFFF#000000##FFFFFF
##0C2D221.0014.851.4114.85
#FFFFFF14.851.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2921
Deuteranopia (green-blind)
#272623
Tritanopia (blue-blind)
#002D2A
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #0c2d22;
/* rgb */ color: rgb(12, 45, 34);
/* oklch */ color: oklch(26.9% 0.044 167.9);
Tailwind
colors: {
  custom: {
    50: '#4f665c',
    500: '#0c2d22',
    950: '#000000',
  },
}
SCSS
$custom: #0c2d22;
$custom-light: #4f665c;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2d22",
  "rgb": {
    "r": 12,
    "g": 45,
    "b": 34
  },
  "hsl": {
    "h": 160,
    "s": 57.895,
    "l": 11.176
  },
  "oklch": {
    "l": 0.26912,
    "c": 0.04382,
    "h": 167.9
  },
  "luminance": 0.0207
}

Semantic roles & 50–950 ramp

primary
#0C2D22
secondary
#692C40
accent
#477AE1
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#020604
muted
#787A79

Preview Lab

Preview with #0C2D22

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

Preview Lab → · Contrast checker → · Palette generator →

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