#0C4634#0C4634

#0C4634 is a dark, moderate teal. Relative luminance 0.047; OKLCH L 35.3% C 0.066 H 167.2°. Best body text is #FFFFFF at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#0C4634
RGBrgb(12, 70, 52)
HSLhsl(161, 71%, 16%)
HSVhsv(161, 83%, 27%)
CMYKcmyk(82.9%, 0%, 25.7%, 72.5%)
CIE-LABlab(25.88, -23.19, 5.72)
CIE-LCHlch(25.88, 23.88, 166.14°)
OKLaboklab(35.29% -0.0642 0.0146)
OKLCHoklch(35.29% 0.066 167.2)
XYZxyz(2.9613, 4.7061, 4.0004)
Luminance0.0471 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4634 #460C1E
analogous
#0C4617 #0C4634 #0C3B46
triadic
#0C4634 #340C46 #46340C
tetradic
#0C4634 #170C46 #460C1E #3B460C
square
#0C4634 #170C46 #460C1E #3B460C
split-complementary
#0C4634 #460C3B #46170C
monochromatic
#041A13 #041A13 #0C4634 #157A5B #1EAE82

Accessibility & contrast

On white

10.82
#0C4634 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#0C4634 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4634
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4634#FFFFFF#000000##FFFFFF
##0C46341.0010.821.9410.82
#FFFFFF10.821.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444033
Deuteranopia (green-blind)
#3D3B35
Tritanopia (blue-blind)
#004641
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #0c4634;
/* rgb */ color: rgb(12, 70, 52);
/* oklch */ color: oklch(35.3% 0.066 167.2);
Tailwind
colors: {
  custom: {
    50: '#567a6b',
    500: '#0c4634',
    950: '#000000',
  },
}
SCSS
$custom: #0c4634;
$custom-light: #567a6b;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4634",
  "rgb": {
    "r": 12,
    "g": 70,
    "b": 52
  },
  "hsl": {
    "h": 161.379,
    "s": 70.732,
    "l": 16.078
  },
  "oklch": {
    "l": 0.35287,
    "c": 0.06582,
    "h": 167.2
  },
  "luminance": 0.04706
}

Semantic roles & 50–950 ramp

primary
#0C4634
secondary
#822C47
accent
#3A72ED
background
#F5F7F6
surface
#E9EDEB
border
#C5C8C6
text
#030906
muted
#787B7A

Preview Lab

Preview with #0C4634

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

Preview Lab → · Contrast checker → · Palette generator →

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