#0C462E#0C462E

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

Color values

HEX#0C462E
RGBrgb(12, 70, 46)
HSLhsl(155, 71%, 16%)
HSVhsv(155, 83%, 27%)
CMYKcmyk(82.9%, 0%, 34.3%, 72.5%)
CIE-LABlab(25.73, -24.81, 9.38)
CIE-LCHlch(25.73, 26.53, 159.29°)
OKLaboklab(35.11% -0.0676 0.0238)
OKLCHoklch(35.11% 0.072 160.6)
XYZxyz(2.8346, 4.6554, 3.3334)
Luminance0.0466 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C462E #460C24
analogous
#0C4611 #0C462E #0C4146
triadic
#0C462E #2E0C46 #462E0C
tetradic
#0C462E #110C46 #460C24 #41460C
square
#0C462E #110C46 #460C24 #41460C
split-complementary
#0C462E #460C41 #46110C
monochromatic
#041A11 #041A11 #0C462E #157A50 #1EAE73

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0C462E#FFFFFF#000000##FFFFFF
##0C462E1.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)
#45402D
Deuteranopia (green-blind)
#3E3B30
Tritanopia (blue-blind)
#004640
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #0c462e;
/* rgb */ color: rgb(12, 70, 46);
/* oklch */ color: oklch(35.1% 0.072 160.6);
Tailwind
colors: {
  custom: {
    50: '#557a66',
    500: '#0c462e',
    950: '#000000',
  },
}
SCSS
$custom: #0c462e;
$custom-light: #557a66;
$custom-dark: #000000;
JSON
{
  "hex": "#0c462e",
  "rgb": {
    "r": 12,
    "g": 70,
    "b": 46
  },
  "hsl": {
    "h": 155.172,
    "s": 70.732,
    "l": 16.078
  },
  "oklch": {
    "l": 0.35113,
    "c": 0.07165,
    "h": 160.6
  },
  "luminance": 0.04656
}

Semantic roles & 50–950 ramp

primary
#0C462E
secondary
#822C4F
accent
#3A84ED
background
#F5F7F6
surface
#E9EDEB
border
#C5C8C6
text
#030906
muted
#787B7A

Preview Lab

Preview with #0C462E

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

Preview Lab → · Contrast checker → · Palette generator →

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