#0C462B#0C462B

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

Color values

HEX#0C462B
RGBrgb(12, 70, 43)
HSLhsl(152, 71%, 16%)
HSVhsv(152, 83%, 27%)
CMYKcmyk(82.9%, 0%, 38.6%, 72.5%)
CIE-LABlab(25.66, -25.57, 11.20)
CIE-LCHlch(25.66, 27.91, 156.34°)
OKLaboklab(35.03% -0.0693 0.0282)
OKLCHoklch(35.03% 0.075 157.8)
XYZxyz(2.7775, 4.6326, 3.0328)
Luminance0.0463 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C462B #460C27
analogous
#0C460E #0C462B #0C4446
triadic
#0C462B #2B0C46 #462B0C
tetradic
#0C462B #0E0C46 #460C27 #44460C
square
#0C462B #0E0C46 #460C27 #44460C
split-complementary
#0C462B #460C44 #460E0C
monochromatic
#041A10 #041A10 #0C462B #157A4B #1EAE6B

Accessibility & contrast

On white

10.90
#0C462B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C462B
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C462B#FFFFFF#000000##FFFFFF
##0C462B1.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c462b;
/* rgb */ color: rgb(12, 70, 43);
/* oklch */ color: oklch(35.0% 0.075 157.8);
Tailwind
colors: {
  custom: {
    50: '#557a64',
    500: '#0c462b',
    950: '#000000',
  },
}
SCSS
$custom: #0c462b;
$custom-light: #557a64;
$custom-dark: #000000;
JSON
{
  "hex": "#0c462b",
  "rgb": {
    "r": 12,
    "g": 70,
    "b": 43
  },
  "hsl": {
    "h": 152.069,
    "s": 70.732,
    "l": 16.078
  },
  "oklch": {
    "l": 0.35035,
    "c": 0.0748,
    "h": 157.8
  },
  "luminance": 0.04633
}

Semantic roles & 50–950 ramp

primary
#0C462B
secondary
#822C54
accent
#3A8EED
background
#F5F7F6
surface
#E9EDEB
border
#C5C8C6
text
#030905
muted
#787B7A

Preview Lab

Preview with #0C462B

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

Preview Lab → · Contrast checker → · Palette generator →

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