#0C472B#0C472B

#0C472B is a dark, moderate teal. Relative luminance 0.048; OKLCH L 35.3% C 0.076 H 157.3°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#0C472B
RGBrgb(12, 71, 43)
HSLhsl(152, 71%, 16%)
HSVhsv(152, 83%, 28%)
CMYKcmyk(83.1%, 0%, 39.4%, 72.2%)
CIE-LABlab(26.04, -26.02, 11.71)
CIE-LCHlch(26.04, 28.54, 155.77°)
OKLaboklab(35.34% -0.0704 0.0295)
OKLCHoklch(35.34% 0.076 157.3)
XYZxyz(2.8406, 4.7587, 3.0538)
Luminance0.0476 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C472B #470C28
analogous
#0C470E #0C472B #0C4647
triadic
#0C472B #2B0C47 #472B0C
tetradic
#0C472B #0E0C47 #470C28 #46470C
square
#0C472B #0E0C47 #470C28 #46470C
split-complementary
#0C472B #470C46 #470E0C
monochromatic
#041A10 #041A10 #0C472B #157B4B #1EB06A

Accessibility & contrast

On white

10.76
#0C472B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#0C472B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C472B
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C472B#FFFFFF#000000##FFFFFF
##0C472B1.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464129
Deuteranopia (green-blind)
#3F3C2D
Tritanopia (blue-blind)
#004640
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #0c472b;
/* rgb */ color: rgb(12, 71, 43);
/* oklch */ color: oklch(35.3% 0.076 157.3);
Tailwind
colors: {
  custom: {
    50: '#567b64',
    500: '#0c472b',
    950: '#000000',
  },
}
SCSS
$custom: #0c472b;
$custom-light: #567b64;
$custom-dark: #000000;
JSON
{
  "hex": "#0c472b",
  "rgb": {
    "r": 12,
    "g": 71,
    "b": 43
  },
  "hsl": {
    "h": 151.525,
    "s": 71.084,
    "l": 16.275
  },
  "oklch": {
    "l": 0.35344,
    "c": 0.07635,
    "h": 157.3
  },
  "luminance": 0.04759
}

Semantic roles & 50–950 ramp

primary
#0C472B
secondary
#832C55
accent
#3A8FEE
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#030905
muted
#787B7A

Preview Lab

Preview with #0C472B

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

Preview Lab → · Contrast checker → · Palette generator →

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