#0C3328#0C3328

#0C3328 is a dark, muted teal. Relative luminance 0.026; OKLCH L 29.0% C 0.048 H 170.8°. Best body text is #FFFFFF at 13.82:1 contrast (WCAG AA passes).

Color values

HEX#0C3328
RGBrgb(12, 51, 40)
HSLhsl(163, 62%, 12%)
HSVhsv(163, 76%, 20%)
CMYKcmyk(76.5%, 0%, 21.6%, 80%)
CIE-LABlab(18.36, -16.87, 3.02)
CIE-LCHlch(18.36, 17.14, 169.84°)
OKLaboklab(29.02% -0.0474 0.0077)
OKLCHoklch(29.02% 0.048 170.8)
XYZxyz(1.7183, 2.5988, 2.4181)
Luminance0.0260 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3328 #330C17
analogous
#0C3315 #0C3328 #0C2B33
triadic
#0C3328 #280C33 #33280C
tetradic
#0C3328 #150C33 #330C17 #2B330C
square
#0C3328 #150C33 #330C17 #2B330C
split-complementary
#0C3328 #330C2B #33150C
monochromatic
#061913 #061913 #0C3328 #18654F #239676

Accessibility & contrast

On white

13.82
#0C3328 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#0C3328 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C3328
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C3328#FFFFFF#000000##FFFFFF
##0C33281.0013.821.5213.82
#FFFFFF13.821.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312F27
Deuteranopia (green-blind)
#2C2B29
Tritanopia (blue-blind)
#003330
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #0c3328;
/* rgb */ color: rgb(12, 51, 40);
/* oklch */ color: oklch(29.0% 0.048 170.8);
Tailwind
colors: {
  custom: {
    50: '#516b61',
    500: '#0c3328',
    950: '#000000',
  },
}
SCSS
$custom: #0c3328;
$custom-light: #516b61;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3328",
  "rgb": {
    "r": 12,
    "g": 51,
    "b": 40
  },
  "hsl": {
    "h": 163.077,
    "s": 61.905,
    "l": 12.353
  },
  "oklch": {
    "l": 0.29018,
    "c": 0.048,
    "h": 170.8
  },
  "luminance": 0.02599
}

Semantic roles & 50–950 ramp

primary
#0C3328
secondary
#6F2C3F
accent
#4371E5
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#020605
muted
#787A79

Preview Lab

Preview with #0C3328

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

Preview Lab → · Contrast checker → · Palette generator →

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