#0C462F#0C462F

#0C462F is a dark, moderate teal. Relative luminance 0.047; OKLCH L 35.1% C 0.071 H 161.6°. Best body text is #FFFFFF at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#0C462F
RGBrgb(12, 70, 47)
HSLhsl(156, 71%, 16%)
HSVhsv(156, 83%, 27%)
CMYKcmyk(82.9%, 0%, 32.9%, 72.5%)
CIE-LABlab(25.75, -24.55, 8.77)
CIE-LCHlch(25.75, 26.07, 160.34°)
OKLaboklab(35.14% -0.067 0.0223)
OKLCHoklch(35.14% 0.071 161.6)
XYZxyz(2.8546, 4.6634, 3.4385)
Luminance0.0466 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C462F #460C23
analogous
#0C4612 #0C462F #0C4046
triadic
#0C462F #2F0C46 #462F0C
tetradic
#0C462F #120C46 #460C23 #40460C
square
#0C462F #120C46 #460C23 #40460C
split-complementary
#0C462F #460C40 #46120C
monochromatic
#041A12 #041A12 #0C462F #157A52 #1EAE75

Accessibility & contrast

On white

10.87
#0C462F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#0C462F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C462F
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C462F#FFFFFF#000000##FFFFFF
##0C462F1.0010.871.9310.87
#FFFFFF10.871.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45402E
Deuteranopia (green-blind)
#3E3B30
Tritanopia (blue-blind)
#004640
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #0c462f;
/* rgb */ color: rgb(12, 70, 47);
/* oklch */ color: oklch(35.1% 0.071 161.6);
Tailwind
colors: {
  custom: {
    50: '#557a67',
    500: '#0c462f',
    950: '#000000',
  },
}
SCSS
$custom: #0c462f;
$custom-light: #557a67;
$custom-dark: #000000;
JSON
{
  "hex": "#0c462f",
  "rgb": {
    "r": 12,
    "g": 70,
    "b": 47
  },
  "hsl": {
    "h": 156.207,
    "s": 70.732,
    "l": 16.078
  },
  "oklch": {
    "l": 0.35141,
    "c": 0.07062,
    "h": 161.6
  },
  "luminance": 0.04664
}

Semantic roles & 50–950 ramp

primary
#0C462F
secondary
#822C4E
accent
#3A81ED
background
#F5F7F6
surface
#E9EDEB
border
#C5C8C6
text
#030906
muted
#787B7A

Preview Lab

Preview with #0C462F

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

Preview Lab → · Contrast checker → · Palette generator →

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