#0C462A#0C462A

#0C462A is a dark, moderate teal. Relative luminance 0.046; OKLCH L 35.0% C 0.076 H 157.0°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#0C462A
RGBrgb(12, 70, 42)
HSLhsl(151, 71%, 16%)
HSVhsv(151, 83%, 27%)
CMYKcmyk(82.9%, 0%, 40%, 72.5%)
CIE-LABlab(25.64, -25.81, 11.81)
CIE-LCHlch(25.64, 28.38, 155.41°)
OKLaboklab(35.01% -0.0698 0.0297)
OKLCHoklch(35.01% 0.076 157)
XYZxyz(2.7594, 4.6253, 2.9374)
Luminance0.0463 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C462A #460C28
analogous
#0C460D #0C462A #0C4546
triadic
#0C462A #2A0C46 #462A0C
tetradic
#0C462A #0D0C46 #460C28 #45460C
square
#0C462A #0D0C46 #460C28 #45460C
split-complementary
#0C462A #460C45 #460D0C
monochromatic
#041A10 #041A10 #0C462A #157A49 #1EAE69

Accessibility & contrast

On white

10.91
#0C462A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C462A
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C462A#FFFFFF#000000##FFFFFF
##0C462A1.0010.911.9310.91
#FFFFFF10.911.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454028
Deuteranopia (green-blind)
#3E3B2C
Tritanopia (blue-blind)
#00453F
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #0c462a;
/* rgb */ color: rgb(12, 70, 42);
/* oklch */ color: oklch(35.0% 0.076 157.0);
Tailwind
colors: {
  custom: {
    50: '#557a63',
    500: '#0c462a',
    950: '#000000',
  },
}
SCSS
$custom: #0c462a;
$custom-light: #557a63;
$custom-dark: #000000;
JSON
{
  "hex": "#0c462a",
  "rgb": {
    "r": 12,
    "g": 70,
    "b": 42
  },
  "hsl": {
    "h": 151.034,
    "s": 70.732,
    "l": 16.078
  },
  "oklch": {
    "l": 0.3501,
    "c": 0.07586,
    "h": 157
  },
  "luminance": 0.04626
}

Semantic roles & 50–950 ramp

primary
#0C462A
secondary
#822C55
accent
#3A91ED
background
#F5F7F5
surface
#E9EDEA
border
#C5C8C6
text
#030905
muted
#787B79

Preview Lab

Preview with #0C462A

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

Preview Lab → · Contrast checker → · Palette generator →

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