#0C4A37#0C4A37

#0C4A37 is a dark, moderate teal. Relative luminance 0.053; OKLCH L 36.6% C 0.069 H 167.2°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#0C4A37
RGBrgb(12, 74, 55)
HSLhsl(162, 72%, 17%)
HSVhsv(162, 84%, 29%)
CMYKcmyk(83.8%, 0%, 25.7%, 71%)
CIE-LABlab(27.44, -24.29, 5.98)
CIE-LCHlch(27.44, 25.02, 166.16°)
OKLaboklab(36.59% -0.0672 0.0153)
OKLCHoklch(36.59% 0.069 167.2)
XYZxyz(3.2896, 5.2512, 4.4539)
Luminance0.0525 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4A37 #4A0C1F
analogous
#0C4A18 #0C4A37 #0C3E4A
triadic
#0C4A37 #370C4A #4A370C
tetradic
#0C4A37 #180C4A #4A0C1F #3E4A0C
square
#0C4A37 #180C4A #4A0C1F #3E4A0C
split-complementary
#0C4A37 #4A0C3E #4A180C
monochromatic
#041A14 #041A14 #0C4A37 #157F5E #1DB385

Accessibility & contrast

On white

10.24
#0C4A37 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C4A37
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4A37#FFFFFF#000000##FFFFFF
##0C4A371.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484436
Deuteranopia (green-blind)
#403E38
Tritanopia (blue-blind)
#004A45
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #0c4a37;
/* rgb */ color: rgb(12, 74, 55);
/* oklch */ color: oklch(36.6% 0.069 167.2);
Tailwind
colors: {
  custom: {
    50: '#577d6d',
    500: '#0c4a37',
    950: '#000000',
  },
}
SCSS
$custom: #0c4a37;
$custom-light: #577d6d;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4a37",
  "rgb": {
    "r": 12,
    "g": 74,
    "b": 55
  },
  "hsl": {
    "h": 161.613,
    "s": 72.093,
    "l": 16.863
  },
  "oklch": {
    "l": 0.36592,
    "c": 0.06892,
    "h": 167.2
  },
  "luminance": 0.05252
}

Semantic roles & 50–950 ramp

primary
#0C4A37
secondary
#862C48
accent
#3971EF
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#030907
muted
#787B7A

Preview Lab

Preview with #0C4A37

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

Preview Lab → · Contrast checker → · Palette generator →

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