#0C4D39#0C4D39

#0C4D39 is a dark, moderate teal. Relative luminance 0.057; OKLCH L 37.6% C 0.071 H 166.9°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#0C4D39
RGBrgb(12, 77, 57)
HSLhsl(162, 73%, 17%)
HSVhsv(162, 84%, 30%)
CMYKcmyk(84.4%, 0%, 26%, 69.8%)
CIE-LABlab(28.59, -25.18, 6.33)
CIE-LCHlch(28.59, 25.96, 165.88°)
OKLaboklab(37.56% -0.0696 0.0162)
OKLCHoklch(37.56% 0.071 166.9)
XYZxyz(3.5436, 5.6809, 4.7799)
Luminance0.0568 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4D39 #4D0C20
analogous
#0C4D18 #0C4D39 #0C414D
triadic
#0C4D39 #390C4D #4D390C
tetradic
#0C4D39 #180C4D #4D0C20 #414D0C
square
#0C4D39 #180C4D #4D0C20 #414D0C
split-complementary
#0C4D39 #4D0C41 #4D180C
monochromatic
#041A14 #041A14 #0C4D39 #148260 #1DB787

Accessibility & contrast

On white

9.83
#0C4D39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#0C4D39 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4D39
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4D39#FFFFFF#000000##FFFFFF
##0C4D391.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4738
Deuteranopia (green-blind)
#43413A
Tritanopia (blue-blind)
#004D47
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #0c4d39;
/* rgb */ color: rgb(12, 77, 57);
/* oklch */ color: oklch(37.6% 0.071 166.9);
Tailwind
colors: {
  custom: {
    50: '#587f6f',
    500: '#0c4d39',
    950: '#000000',
  },
}
SCSS
$custom: #0c4d39;
$custom-light: #587f6f;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4d39",
  "rgb": {
    "r": 12,
    "g": 77,
    "b": 57
  },
  "hsl": {
    "h": 161.538,
    "s": 73.034,
    "l": 17.451
  },
  "oklch": {
    "l": 0.37557,
    "c": 0.07143,
    "h": 166.9
  },
  "luminance": 0.05681
}

Semantic roles & 50–950 ramp

primary
#0C4D39
secondary
#892C49
accent
#3871F0
background
#F5F7F6
surface
#E9EEEC
border
#C5C9C7
text
#040A07
muted
#797C7A

Preview Lab

Preview with #0C4D39

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

Preview Lab → · Contrast checker → · Palette generator →

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