#0C472E#0C472E

#0C472E is a dark, moderate teal. Relative luminance 0.048; OKLCH L 35.4% C 0.073 H 160.0°. Best body text is #FFFFFF at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#0C472E
RGBrgb(12, 71, 46)
HSLhsl(155, 71%, 16%)
HSVhsv(155, 83%, 28%)
CMYKcmyk(83.1%, 0%, 35.2%, 72.2%)
CIE-LABlab(26.10, -25.28, 9.89)
CIE-LCHlch(26.10, 27.15, 158.63°)
OKLaboklab(35.42% -0.0688 0.0251)
OKLCHoklch(35.42% 0.073 160)
XYZxyz(2.8977, 4.7816, 3.3545)
Luminance0.0478 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C472E #470C25
analogous
#0C4711 #0C472E #0C4347
triadic
#0C472E #2E0C47 #472E0C
tetradic
#0C472E #110C47 #470C25 #43470C
square
#0C472E #110C47 #470C25 #43470C
split-complementary
#0C472E #470C43 #47110C
monochromatic
#041A11 #041A11 #0C472E #157B50 #1EB072

Accessibility & contrast

On white

10.73
#0C472E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#0C472E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C472E
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C472E#FFFFFF#000000##FFFFFF
##0C472E1.0010.731.9610.73
#FFFFFF10.731.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46412C
Deuteranopia (green-blind)
#3F3C30
Tritanopia (blue-blind)
#004740
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #0c472e;
/* rgb */ color: rgb(12, 71, 46);
/* oklch */ color: oklch(35.4% 0.073 160.0);
Tailwind
colors: {
  custom: {
    50: '#567b66',
    500: '#0c472e',
    950: '#000000',
  },
}
SCSS
$custom: #0c472e;
$custom-light: #567b66;
$custom-dark: #000000;
JSON
{
  "hex": "#0c472e",
  "rgb": {
    "r": 12,
    "g": 71,
    "b": 46
  },
  "hsl": {
    "h": 154.576,
    "s": 71.084,
    "l": 16.275
  },
  "oklch": {
    "l": 0.35421,
    "c": 0.07318,
    "h": 160
  },
  "luminance": 0.04782
}

Semantic roles & 50–950 ramp

primary
#0C472E
secondary
#832C51
accent
#3A86EE
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#030906
muted
#787B7A

Preview Lab

Preview with #0C472E

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

Preview Lab → · Contrast checker → · Palette generator →

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