#0C4939#0C4939

#0C4939 is a dark, moderate teal. Relative luminance 0.051; OKLCH L 36.4% C 0.066 H 170.5°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#0C4939
RGBrgb(12, 73, 57)
HSLhsl(164, 72%, 17%)
HSVhsv(164, 84%, 29%)
CMYKcmyk(83.6%, 0%, 21.9%, 71.4%)
CIE-LABlab(27.13, -23.23, 4.25)
CIE-LCHlch(27.13, 23.61, 169.63°)
OKLaboklab(36.35% -0.0649 0.0108)
OKLCHoklch(36.35% 0.066 170.5)
XYZxyz(3.2723, 5.1383, 4.6894)
Luminance0.0514 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4939 #490C1C
analogous
#0C491B #0C4939 #0C3B49
triadic
#0C4939 #390C49 #49390C
tetradic
#0C4939 #1B0C49 #490C1C #3B490C
square
#0C4939 #1B0C49 #490C1C #3B490C
split-complementary
#0C4939 #490C3B #491B0C
monochromatic
#041A15 #041A15 #0C4939 #157E62 #1DB28B

Accessibility & contrast

On white

10.36
#0C4939 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#0C4939 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4939
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4939#FFFFFF#000000##FFFFFF
##0C49391.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474338
Deuteranopia (green-blind)
#3F3E3A
Tritanopia (blue-blind)
#004A44
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #0c4939;
/* rgb */ color: rgb(12, 73, 57);
/* oklch */ color: oklch(36.4% 0.066 170.5);
Tailwind
colors: {
  custom: {
    50: '#577c6f',
    500: '#0c4939',
    950: '#000000',
  },
}
SCSS
$custom: #0c4939;
$custom-light: #577c6f;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4939",
  "rgb": {
    "r": 12,
    "g": 73,
    "b": 57
  },
  "hsl": {
    "h": 164.262,
    "s": 71.765,
    "l": 16.667
  },
  "oklch": {
    "l": 0.36353,
    "c": 0.0658,
    "h": 170.5
  },
  "luminance": 0.05139
}

Semantic roles & 50–950 ramp

primary
#0C4939
secondary
#852C43
accent
#3969EE
background
#F5F7F6
surface
#E9EEEC
border
#C5C9C7
text
#030907
muted
#787B7A

Preview Lab

Preview with #0C4939

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

Preview Lab → · Contrast checker → · Palette generator →

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