#0C4D3B#0C4D3B

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

Color values

HEX#0C4D3B
RGBrgb(12, 77, 59)
HSLhsl(163, 73%, 17%)
HSVhsv(163, 84%, 30%)
CMYKcmyk(84.4%, 0%, 23.4%, 69.8%)
CIE-LABlab(28.65, -24.61, 5.13)
CIE-LCHlch(28.65, 25.14, 168.23°)
OKLaboklab(37.62% -0.0684 0.0131)
OKLCHoklch(37.62% 0.07 169.2)
XYZxyz(3.5945, 5.7012, 5.0478)
Luminance0.0570 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4D3B #4D0C1E
analogous
#0C4D1B #0C4D3B #0C3E4D
triadic
#0C4D3B #3B0C4D #4D3B0C
tetradic
#0C4D3B #1B0C4D #4D0C1E #3E4D0C
square
#0C4D3B #1B0C4D #4D0C1E #3E4D0C
split-complementary
#0C4D3B #4D0C3E #4D1B0C
monochromatic
#041A14 #041A14 #0C4D3B #148264 #1DB78C

Accessibility & contrast

On white

9.81
#0C4D3B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C4D3B
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4D3B#FFFFFF#000000##FFFFFF
##0C4D3B1.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c4d3b;
/* rgb */ color: rgb(12, 77, 59);
/* oklch */ color: oklch(37.6% 0.070 169.2);
Tailwind
colors: {
  custom: {
    50: '#587f70',
    500: '#0c4d3b',
    950: '#000000',
  },
}
SCSS
$custom: #0c4d3b;
$custom-light: #587f70;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4d3b",
  "rgb": {
    "r": 12,
    "g": 77,
    "b": 59
  },
  "hsl": {
    "h": 163.385,
    "s": 73.034,
    "l": 17.451
  },
  "oklch": {
    "l": 0.37618,
    "c": 0.06969,
    "h": 169.2
  },
  "luminance": 0.05702
}

Semantic roles & 50–950 ramp

primary
#0C4D3B
secondary
#892C46
accent
#386BF0
background
#F5F7F6
surface
#E9EEEC
border
#C5C9C7
text
#040A07
muted
#797C7A

Preview Lab

Preview with #0C4D3B

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

Preview Lab → · Contrast checker → · Palette generator →

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