#0C321F#0C321F

#0C321F is a dark, muted teal. Relative luminance 0.025; OKLCH L 28.4% C 0.055 H 157.8°. Best body text is #FFFFFF at 14.08:1 contrast (WCAG AA passes).

Color values

HEX#0C321F
RGBrgb(12, 50, 31)
HSLhsl(150, 61%, 12%)
HSVhsv(150, 76%, 20%)
CMYKcmyk(76%, 0%, 38%, 80.4%)
CIE-LABlab(17.73, -18.87, 8.27)
CIE-LCHlch(17.73, 20.61, 156.34°)
OKLaboklab(28.42% -0.0514 0.0209)
OKLCHoklch(28.42% 0.055 157.8)
XYZxyz(1.5394, 2.4581, 1.6894)
Luminance0.0246 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C321F #320C1F
analogous
#0C320C #0C321F #0C3232
triadic
#0C321F #1F0C32 #321F0C
tetradic
#0C321F #0C0C32 #320C1F #32320C
square
#0C321F #0C0C32 #320C1F #32320C
split-complementary
#0C321F #320C32 #320C0C
monochromatic
#06190F #06190F #0C321F #18633E #24955C

Accessibility & contrast

On white

14.08
#0C321F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#0C321F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C321F
14.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C321F#FFFFFF#000000##FFFFFF
##0C321F1.0014.081.4914.08
#FFFFFF14.081.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322E1E
Deuteranopia (green-blind)
#2C2A20
Tritanopia (blue-blind)
#00322D
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #0c321f;
/* rgb */ color: rgb(12, 50, 31);
/* oklch */ color: oklch(28.4% 0.055 157.8);
Tailwind
colors: {
  custom: {
    50: '#506a5a',
    500: '#0c321f',
    950: '#000000',
  },
}
SCSS
$custom: #0c321f;
$custom-light: #506a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#0c321f",
  "rgb": {
    "r": 12,
    "g": 50,
    "b": 31
  },
  "hsl": {
    "h": 150,
    "s": 61.29,
    "l": 12.157
  },
  "oklch": {
    "l": 0.28421,
    "c": 0.05547,
    "h": 157.8
  },
  "luminance": 0.02458
}

Semantic roles & 50–950 ramp

primary
#0C321F
secondary
#6E2C4D
accent
#4394E4
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#020603
muted
#787A78

Preview Lab

Preview with #0C321F

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

Preview Lab → · Contrast checker → · Palette generator →

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