#0C4837#0C4837

#0C4837 is a dark, moderate teal. Relative luminance 0.050; OKLCH L 36.0% C 0.066 H 169.0°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#0C4837
RGBrgb(12, 72, 55)
HSLhsl(163, 71%, 16%)
HSVhsv(163, 83%, 28%)
CMYKcmyk(83.3%, 0%, 23.6%, 71.8%)
CIE-LABlab(26.70, -23.31, 4.94)
CIE-LCHlch(26.70, 23.83, 168.04°)
OKLaboklab(35.99% -0.0648 0.0126)
OKLCHoklch(35.99% 0.066 169)
XYZxyz(3.1582, 4.9883, 4.4101)
Luminance0.0499 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4837 #480C1D
analogous
#0C4819 #0C4837 #0C3B48
triadic
#0C4837 #370C48 #48370C
tetradic
#0C4837 #190C48 #480C1D #3B480C
square
#0C4837 #190C48 #480C1D #3B480C
split-complementary
#0C4837 #480C3B #48190C
monochromatic
#041A14 #041A14 #0C4837 #157C5F #1DB187

Accessibility & contrast

On white

10.51
#0C4837 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#0C4837 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4837
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4837#FFFFFF#000000##FFFFFF
##0C48371.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464236
Deuteranopia (green-blind)
#3E3D38
Tritanopia (blue-blind)
#004843
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #0c4837;
/* rgb */ color: rgb(12, 72, 55);
/* oklch */ color: oklch(36.0% 0.066 169.0);
Tailwind
colors: {
  custom: {
    50: '#567b6d',
    500: '#0c4837',
    950: '#000000',
  },
}
SCSS
$custom: #0c4837;
$custom-light: #567b6d;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4837",
  "rgb": {
    "r": 12,
    "g": 72,
    "b": 55
  },
  "hsl": {
    "h": 163,
    "s": 71.429,
    "l": 16.471
  },
  "oklch": {
    "l": 0.35987,
    "c": 0.06607,
    "h": 169
  },
  "luminance": 0.04989
}

Semantic roles & 50–950 ramp

primary
#0C4837
secondary
#842C45
accent
#3A6DEE
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#030907
muted
#787B7A

Preview Lab

Preview with #0C4837

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

Preview Lab → · Contrast checker → · Palette generator →

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