#0C4D3F#0C4D3F

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

Color values

HEX#0C4D3F
RGBrgb(12, 77, 63)
HSLhsl(167, 73%, 17%)
HSVhsv(167, 84%, 30%)
CMYKcmyk(84.4%, 0%, 18.2%, 69.8%)
CIE-LABlab(28.76, -23.43, 2.72)
CIE-LCHlch(28.76, 23.59, 173.37°)
OKLaboklab(37.75% -0.0662 0.0069)
OKLCHoklch(37.75% 0.067 174.1)
XYZxyz(3.7022, 5.7443, 5.6153)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4D3F #4D0C1A
analogous
#0C4D1F #0C4D3F #0C3B4D
triadic
#0C4D3F #3F0C4D #4D3F0C
tetradic
#0C4D3F #1F0C4D #4D0C1A #3B4D0C
square
#0C4D3F #1F0C4D #4D0C1A #3B4D0C
split-complementary
#0C4D3F #4D0C3B #4D1F0C
monochromatic
#041A16 #041A16 #0C4D3F #14826A #1DB796

Accessibility & contrast

On white

9.77
#0C4D3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#0C4D3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4D3F
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4D3F#FFFFFF#000000##FFFFFF
##0C4D3F1.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A473E
Deuteranopia (green-blind)
#424140
Tritanopia (blue-blind)
#004E49
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #0c4d3f;
/* rgb */ color: rgb(12, 77, 63);
/* oklch */ color: oklch(37.7% 0.067 174.1);
Tailwind
colors: {
  custom: {
    50: '#587f74',
    500: '#0c4d3f',
    950: '#000000',
  },
}
SCSS
$custom: #0c4d3f;
$custom-light: #587f74;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4d3f",
  "rgb": {
    "r": 12,
    "g": 77,
    "b": 63
  },
  "hsl": {
    "h": 167.077,
    "s": 73.034,
    "l": 17.451
  },
  "oklch": {
    "l": 0.37747,
    "c": 0.06658,
    "h": 174.1
  },
  "luminance": 0.05745
}

Semantic roles & 50–950 ramp

primary
#0C4D3F
secondary
#892C40
accent
#3860F0
background
#F5F7F7
surface
#E9EEED
border
#C5C9C8
text
#040A08
muted
#797C7B

Preview Lab

Preview with #0C4D3F

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

Preview Lab → · Contrast checker → · Palette generator →

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