#0C462D#0C462D

#0C462D is a dark, moderate teal. Relative luminance 0.046; OKLCH L 35.1% C 0.073 H 159.6°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#0C462D
RGBrgb(12, 70, 45)
HSLhsl(154, 71%, 16%)
HSVhsv(154, 83%, 27%)
CMYKcmyk(82.9%, 0%, 35.7%, 72.5%)
CIE-LABlab(25.71, -25.07, 9.99)
CIE-LCHlch(25.71, 26.99, 158.27°)
OKLaboklab(35.09% -0.0681 0.0253)
OKLCHoklch(35.09% 0.073 159.6)
XYZxyz(2.8151, 4.6476, 3.2308)
Luminance0.0465 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C462D #460C25
analogous
#0C4610 #0C462D #0C4246
triadic
#0C462D #2D0C46 #462D0C
tetradic
#0C462D #100C46 #460C25 #42460C
square
#0C462D #100C46 #460C25 #42460C
split-complementary
#0C462D #460C42 #46100C
monochromatic
#041A11 #041A11 #0C462D #157A4F #1EAE70

Accessibility & contrast

On white

10.88
#0C462D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C462D
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C462D#FFFFFF#000000##FFFFFF
##0C462D1.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45402B
Deuteranopia (green-blind)
#3E3B2F
Tritanopia (blue-blind)
#00463F
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #0c462d;
/* rgb */ color: rgb(12, 70, 45);
/* oklch */ color: oklch(35.1% 0.073 159.6);
Tailwind
colors: {
  custom: {
    50: '#557a66',
    500: '#0c462d',
    950: '#000000',
  },
}
SCSS
$custom: #0c462d;
$custom-light: #557a66;
$custom-dark: #000000;
JSON
{
  "hex": "#0c462d",
  "rgb": {
    "r": 12,
    "g": 70,
    "b": 45
  },
  "hsl": {
    "h": 154.138,
    "s": 70.732,
    "l": 16.078
  },
  "oklch": {
    "l": 0.35087,
    "c": 0.07268,
    "h": 159.6
  },
  "luminance": 0.04648
}

Semantic roles & 50–950 ramp

primary
#0C462D
secondary
#822C51
accent
#3A88ED
background
#F5F7F6
surface
#E9EDEB
border
#C5C8C6
text
#030905
muted
#787B7A

Preview Lab

Preview with #0C462D

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

Preview Lab → · Contrast checker → · Palette generator →

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