#0C4A36#0C4A36

#0C4A36 is a dark, moderate teal. Relative luminance 0.052; OKLCH L 36.6% C 0.070 H 166.1°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#0C4A36
RGBrgb(12, 74, 54)
HSLhsl(161, 72%, 17%)
HSVhsv(161, 84%, 29%)
CMYKcmyk(83.8%, 0%, 27%, 71%)
CIE-LABlab(27.41, -24.57, 6.59)
CIE-LCHlch(27.41, 25.44, 164.99°)
OKLaboklab(36.56% -0.0678 0.0168)
OKLCHoklch(36.56% 0.07 166.1)
XYZxyz(3.2659, 5.2417, 4.3289)
Luminance0.0524 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4A36 #4A0C20
analogous
#0C4A17 #0C4A36 #0C3F4A
triadic
#0C4A36 #360C4A #4A360C
tetradic
#0C4A36 #170C4A #4A0C20 #3F4A0C
square
#0C4A36 #170C4A #4A0C20 #3F4A0C
split-complementary
#0C4A36 #4A0C3F #4A170C
monochromatic
#041A13 #041A13 #0C4A36 #157F5C #1DB383

Accessibility & contrast

On white

10.25
#0C4A36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#0C4A36 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4A36
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4A36#FFFFFF#000000##FFFFFF
##0C4A361.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484435
Deuteranopia (green-blind)
#403E37
Tritanopia (blue-blind)
#004A44
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #0c4a36;
/* rgb */ color: rgb(12, 74, 54);
/* oklch */ color: oklch(36.6% 0.070 166.1);
Tailwind
colors: {
  custom: {
    50: '#577d6d',
    500: '#0c4a36',
    950: '#000000',
  },
}
SCSS
$custom: #0c4a36;
$custom-light: #577d6d;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4a36",
  "rgb": {
    "r": 12,
    "g": 74,
    "b": 54
  },
  "hsl": {
    "h": 160.645,
    "s": 72.093,
    "l": 16.863
  },
  "oklch": {
    "l": 0.36562,
    "c": 0.06982,
    "h": 166.1
  },
  "luminance": 0.05242
}

Semantic roles & 50–950 ramp

primary
#0C4A36
secondary
#862C49
accent
#3974EF
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#030907
muted
#787B7A

Preview Lab

Preview with #0C4A36

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

Preview Lab → · Contrast checker → · Palette generator →

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