#0C4331#0C4331

#0C4331 is a dark, moderate teal. Relative luminance 0.043; OKLCH L 34.3% C 0.064 H 166.2°. Best body text is #FFFFFF at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#0C4331
RGBrgb(12, 67, 49)
HSLhsl(160, 70%, 15%)
HSVhsv(160, 82%, 26%)
CMYKcmyk(82.1%, 0%, 26.9%, 73.7%)
CIE-LABlab(24.68, -22.56, 5.98)
CIE-LCHlch(24.68, 23.34, 165.14°)
OKLaboklab(34.28% -0.0623 0.0153)
OKLCHoklch(34.28% 0.064 166.2)
XYZxyz(2.7128, 4.3139, 3.5948)
Luminance0.0431 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4331 #430C1E
analogous
#0C4316 #0C4331 #0C3943
triadic
#0C4331 #310C43 #43310C
tetradic
#0C4331 #160C43 #430C1E #39430C
square
#0C4331 #160C43 #430C1E #39430C
split-complementary
#0C4331 #430C39 #43160C
monochromatic
#051A13 #051A13 #0C4331 #157757 #1FAB7D

Accessibility & contrast

On white

11.27
#0C4331 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#0C4331 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4331
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4331#FFFFFF#000000##FFFFFF
##0C43311.0011.271.8611.27
#FFFFFF11.271.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413E30
Deuteranopia (green-blind)
#3A3932
Tritanopia (blue-blind)
#00433E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #0c4331;
/* rgb */ color: rgb(12, 67, 49);
/* oklch */ color: oklch(34.3% 0.064 166.2);
Tailwind
colors: {
  custom: {
    50: '#557769',
    500: '#0c4331',
    950: '#000000',
  },
}
SCSS
$custom: #0c4331;
$custom-light: #557769;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4331",
  "rgb": {
    "r": 12,
    "g": 67,
    "b": 49
  },
  "hsl": {
    "h": 160.364,
    "s": 69.62,
    "l": 15.49
  },
  "oklch": {
    "l": 0.34279,
    "c": 0.06414,
    "h": 166.2
  },
  "luminance": 0.04314
}

Semantic roles & 50–950 ramp

primary
#0C4331
secondary
#7F2C47
accent
#3B75EC
background
#F5F7F6
surface
#E9EDEB
border
#C5C8C6
text
#030906
muted
#787B7A

Preview Lab

Preview with #0C4331

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

Preview Lab → · Contrast checker → · Palette generator →

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