#0C4D3D#0C4D3D

#0C4D3D is a dark, moderate teal. Relative luminance 0.057; OKLCH L 37.7% C 0.068 H 171.6°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#0C4D3D
RGBrgb(12, 77, 61)
HSLhsl(165, 73%, 17%)
HSVhsv(165, 84%, 30%)
CMYKcmyk(84.4%, 0%, 20.8%, 69.8%)
CIE-LABlab(28.70, -24.03, 3.93)
CIE-LCHlch(28.70, 24.35, 170.72°)
OKLaboklab(37.68% -0.0673 0.01)
OKLCHoklch(37.68% 0.068 171.6)
XYZxyz(3.6474, 5.7224, 5.3263)
Luminance0.0572 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4D3D #4D0C1C
analogous
#0C4D1D #0C4D3D #0C3C4D
triadic
#0C4D3D #3D0C4D #4D3D0C
tetradic
#0C4D3D #1D0C4D #4D0C1C #3C4D0C
square
#0C4D3D #1D0C4D #4D0C1C #3C4D0C
split-complementary
#0C4D3D #4D0C3C #4D1D0C
monochromatic
#041A15 #041A15 #0C4D3D #148267 #1DB791

Accessibility & contrast

On white

9.79
#0C4D3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C4D3D
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4D3D#FFFFFF#000000##FFFFFF
##0C4D3D1.009.792.149.79
#FFFFFF9.791.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A473C
Deuteranopia (green-blind)
#42413E
Tritanopia (blue-blind)
#004E48
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #0c4d3d;
/* rgb */ color: rgb(12, 77, 61);
/* oklch */ color: oklch(37.7% 0.068 171.6);
Tailwind
colors: {
  custom: {
    50: '#587f72',
    500: '#0c4d3d',
    950: '#000000',
  },
}
SCSS
$custom: #0c4d3d;
$custom-light: #587f72;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4d3d",
  "rgb": {
    "r": 12,
    "g": 77,
    "b": 61
  },
  "hsl": {
    "h": 165.231,
    "s": 73.034,
    "l": 17.451
  },
  "oklch": {
    "l": 0.37682,
    "c": 0.06808,
    "h": 171.6
  },
  "luminance": 0.05723
}

Semantic roles & 50–950 ramp

primary
#0C4D3D
secondary
#892C43
accent
#3865F0
background
#F5F7F6
surface
#E9EEEC
border
#C5C9C7
text
#040A08
muted
#797C7B

Preview Lab

Preview with #0C4D3D

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

Preview Lab → · Contrast checker → · Palette generator →

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