#0C4A3F#0C4A3F

#0C4A3F is a dark, moderate teal. Relative luminance 0.053; OKLCH L 36.9% C 0.063 H 177.5°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#0C4A3F
RGBrgb(12, 74, 63)
HSLhsl(169, 72%, 17%)
HSVhsv(169, 84%, 29%)
CMYKcmyk(83.8%, 0%, 14.9%, 71%)
CIE-LABlab(27.67, -21.92, 1.15)
CIE-LCHlch(27.67, 21.95, 177.01°)
OKLaboklab(36.85% -0.0627 0.0027)
OKLCHoklch(36.85% 0.063 177.5)
XYZxyz(3.4971, 5.3342, 5.5469)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4A3F #4A0C17
analogous
#0C4A20 #0C4A3F #0C364A
triadic
#0C4A3F #3F0C4A #4A3F0C
tetradic
#0C4A3F #200C4A #4A0C17 #364A0C
square
#0C4A3F #200C4A #4A0C17 #364A0C
split-complementary
#0C4A3F #4A0C36 #4A200C
monochromatic
#041A16 #041A16 #0C4A3F #157F6C #1DB399

Accessibility & contrast

On white

10.16
#0C4A3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#0C4A3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4A3F
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4A3F#FFFFFF#000000##FFFFFF
##0C4A3F1.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47453F
Deuteranopia (green-blind)
#3F3F40
Tritanopia (blue-blind)
#004B47
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #0c4a3f;
/* rgb */ color: rgb(12, 74, 63);
/* oklch */ color: oklch(36.9% 0.063 177.5);
Tailwind
colors: {
  custom: {
    50: '#577d74',
    500: '#0c4a3f',
    950: '#000000',
  },
}
SCSS
$custom: #0c4a3f;
$custom-light: #577d74;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4a3f",
  "rgb": {
    "r": 12,
    "g": 74,
    "b": 63
  },
  "hsl": {
    "h": 169.355,
    "s": 72.093,
    "l": 16.863
  },
  "oklch": {
    "l": 0.36854,
    "c": 0.06279,
    "h": 177.5
  },
  "luminance": 0.05335
}

Semantic roles & 50–950 ramp

primary
#0C4A3F
secondary
#862C3C
accent
#3959EF
background
#F5F7F7
surface
#E9EEED
border
#C5C9C8
text
#040908
muted
#797B7B

Preview Lab

Preview with #0C4A3F

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

Preview Lab → · Contrast checker → · Palette generator →

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