#0C2E22#0C2E22

#0C2E22 is a dark, muted teal. Relative luminance 0.021; OKLCH L 27.2% C 0.045 H 166.5°. Best body text is #FFFFFF at 14.69:1 contrast (WCAG AA passes).

Color values

HEX#0C2E22
RGBrgb(12, 46, 34)
HSLhsl(159, 59%, 11%)
HSVhsv(159, 74%, 18%)
CMYKcmyk(73.9%, 0%, 26.1%, 82%)
CIE-LABlab(16.24, -15.91, 4.15)
CIE-LCHlch(16.24, 16.45, 165.39°)
OKLaboklab(27.23% -0.0442 0.0106)
OKLCHoklch(27.23% 0.045 166.5)
XYZxyz(1.4172, 2.1475, 1.8529)
Luminance0.0215 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2E22 #2E0C18
analogous
#0C2E11 #0C2E22 #0C292E
triadic
#0C2E22 #220C2E #2E220C
tetradic
#0C2E22 #110C2E #2E0C18 #292E0C
square
#0C2E22 #110C2E #2E0C18 #292E0C
split-complementary
#0C2E22 #2E0C29 #2E110C
monochromatic
#061812 #061812 #0C2E22 #195F46 #258F6A

Accessibility & contrast

On white

14.69
#0C2E22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#0C2E22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2E22
14.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2E22#FFFFFF#000000##FFFFFF
##0C2E221.0014.691.4314.69
#FFFFFF14.691.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2A21
Deuteranopia (green-blind)
#282723
Tritanopia (blue-blind)
#002E2B
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #0c2e22;
/* rgb */ color: rgb(12, 46, 34);
/* oklch */ color: oklch(27.2% 0.045 166.5);
Tailwind
colors: {
  custom: {
    50: '#4f675c',
    500: '#0c2e22',
    950: '#000000',
  },
}
SCSS
$custom: #0c2e22;
$custom-light: #4f675c;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2e22",
  "rgb": {
    "r": 12,
    "g": 46,
    "b": 34
  },
  "hsl": {
    "h": 158.824,
    "s": 58.621,
    "l": 11.373
  },
  "oklch": {
    "l": 0.27232,
    "c": 0.04547,
    "h": 166.5
  },
  "luminance": 0.02148
}

Semantic roles & 50–950 ramp

primary
#0C2E22
secondary
#6A2C42
accent
#467DE2
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#020604
muted
#787A79

Preview Lab

Preview with #0C2E22

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

Preview Lab → · Contrast checker → · Palette generator →

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