#0C4D37#0C4D37

#0C4D37 is a dark, moderate teal. Relative luminance 0.057; OKLCH L 37.5% C 0.073 H 164.8°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#0C4D37
RGBrgb(12, 77, 55)
HSLhsl(160, 73%, 17%)
HSVhsv(160, 84%, 30%)
CMYKcmyk(84.4%, 0%, 28.6%, 69.8%)
CIE-LABlab(28.54, -25.73, 7.53)
CIE-LCHlch(28.54, 26.81, 163.68°)
OKLaboklab(37.5% -0.0707 0.0192)
OKLCHoklch(37.5% 0.073 164.8)
XYZxyz(3.4947, 5.6613, 4.5223)
Luminance0.0566 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4D37 #4D0C22
analogous
#0C4D16 #0C4D37 #0C434D
triadic
#0C4D37 #370C4D #4D370C
tetradic
#0C4D37 #160C4D #4D0C22 #434D0C
square
#0C4D37 #160C4D #4D0C22 #434D0C
split-complementary
#0C4D37 #4D0C43 #4D160C
monochromatic
#041A13 #041A13 #0C4D37 #14825D #1DB783

Accessibility & contrast

On white

9.85
#0C4D37 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#0C4D37 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4D37
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4D37#FFFFFF#000000##FFFFFF
##0C4D371.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4736
Deuteranopia (green-blind)
#434138
Tritanopia (blue-blind)
#004D47
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #0c4d37;
/* rgb */ color: rgb(12, 77, 55);
/* oklch */ color: oklch(37.5% 0.073 164.8);
Tailwind
colors: {
  custom: {
    50: '#577f6d',
    500: '#0c4d37',
    950: '#000000',
  },
}
SCSS
$custom: #0c4d37;
$custom-light: #577f6d;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4d37",
  "rgb": {
    "r": 12,
    "g": 77,
    "b": 55
  },
  "hsl": {
    "h": 159.692,
    "s": 73.034,
    "l": 17.451
  },
  "oklch": {
    "l": 0.37498,
    "c": 0.07326,
    "h": 164.8
  },
  "luminance": 0.05662
}

Semantic roles & 50–950 ramp

primary
#0C4D37
secondary
#892C4B
accent
#3876F0
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040A07
muted
#797C7A

Preview Lab

Preview with #0C4D37

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

Preview Lab → · Contrast checker → · Palette generator →

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