#0C3937#0C3937

#0C3937 is a dark, muted teal. Relative luminance 0.033; OKLCH L 31.4% C 0.047 H 190.7°. Best body text is #FFFFFF at 12.68:1 contrast (WCAG AA passes).

Color values

HEX#0C3937
RGBrgb(12, 57, 55)
HSLhsl(177, 65%, 14%)
HSVhsv(177, 79%, 22%)
CMYKcmyk(78.9%, 0%, 3.5%, 77.6%)
CIE-LABlab(21.13, -15.35, -3.15)
CIE-LCHlch(21.13, 15.67, 191.61°)
OKLaboklab(31.44% -0.0466 -0.0088)
OKLCHoklch(31.44% 0.047 190.7)
XYZxyz(2.3040, 3.2800, 4.1254)
Luminance0.0328 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3937 #390C0E
analogous
#0C3920 #0C3937 #0C2439
triadic
#0C3937 #370C39 #39370C
tetradic
#0C3937 #200C39 #390C0E #24390C
square
#0C3937 #200C39 #390C0E #24390C
split-complementary
#0C3937 #390C24 #39200C
monochromatic
#051918 #051918 #0C3937 #176C68 #219E99

Accessibility & contrast

On white

12.68
#0C3937 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#0C3937 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C3937
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C3937#FFFFFF#000000##FFFFFF
##0C39371.0012.681.6612.68
#FFFFFF12.681.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353637
Deuteranopia (green-blind)
#2E3137
Tritanopia (blue-blind)
#003B38
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #0c3937;
/* rgb */ color: rgb(12, 57, 55);
/* oklch */ color: oklch(31.4% 0.047 190.7);
Tailwind
colors: {
  custom: {
    50: '#536f6d',
    500: '#0c3937',
    950: '#000000',
  },
}
SCSS
$custom: #0c3937;
$custom-light: #536f6d;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3937",
  "rgb": {
    "r": 12,
    "g": 57,
    "b": 55
  },
  "hsl": {
    "h": 177.333,
    "s": 65.217,
    "l": 13.529
  },
  "oklch": {
    "l": 0.31441,
    "c": 0.04739,
    "h": 190.7
  },
  "luminance": 0.0328
}

Semantic roles & 50–950 ramp

primary
#0C3937
secondary
#752C2F
accent
#4047E8
background
#F5F6F6
surface
#E8ECEB
border
#C4C7C6
text
#030707
muted
#787A7A

Preview Lab

Preview with #0C3937

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

Preview Lab → · Contrast checker → · Palette generator →

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