#0C4C3B#0C4C3B

#0C4C3B is a dark, moderate teal. Relative luminance 0.056; OKLCH L 37.3% C 0.068 H 170.1°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#0C4C3B
RGBrgb(12, 76, 59)
HSLhsl(164, 73%, 17%)
HSVhsv(164, 84%, 30%)
CMYKcmyk(84.2%, 0%, 22.4%, 70.2%)
CIE-LABlab(28.28, -24.12, 4.61)
CIE-LCHlch(28.28, 24.56, 169.18°)
OKLaboklab(37.32% -0.0673 0.0118)
OKLCHoklch(37.32% 0.068 170.1)
XYZxyz(3.5251, 5.5624, 5.0247)
Luminance0.0556 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4C3B #4C0C1D
analogous
#0C4C1B #0C4C3B #0C3D4C
triadic
#0C4C3B #3B0C4C #4C3B0C
tetradic
#0C4C3B #1B0C4C #4C0C1D #3D4C0C
square
#0C4C3B #1B0C4C #4C0C1D #3D4C0C
split-complementary
#0C4C3B #4C0C3D #4C1B0C
monochromatic
#041A15 #041A15 #0C4C3B #148164 #1DB68D

Accessibility & contrast

On white

9.94
#0C4C3B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#0C4C3B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4C3B
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4C3B#FFFFFF#000000##FFFFFF
##0C4C3B1.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A463A
Deuteranopia (green-blind)
#41403C
Tritanopia (blue-blind)
#004D47
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #0c4c3b;
/* rgb */ color: rgb(12, 76, 59);
/* oklch */ color: oklch(37.3% 0.068 170.1);
Tailwind
colors: {
  custom: {
    50: '#577e70',
    500: '#0c4c3b',
    950: '#000000',
  },
}
SCSS
$custom: #0c4c3b;
$custom-light: #577e70;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4c3b",
  "rgb": {
    "r": 12,
    "g": 76,
    "b": 59
  },
  "hsl": {
    "h": 164.063,
    "s": 72.727,
    "l": 17.255
  },
  "oklch": {
    "l": 0.37318,
    "c": 0.06831,
    "h": 170.1
  },
  "luminance": 0.05563
}

Semantic roles & 50–950 ramp

primary
#0C4C3B
secondary
#882C44
accent
#3869EF
background
#F5F7F6
surface
#E9EEEC
border
#C5C9C7
text
#040A07
muted
#797C7A

Preview Lab

Preview with #0C4C3B

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

Preview Lab → · Contrast checker → · Palette generator →

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