#0C4835#0C4835

#0C4835 is a dark, moderate teal. Relative luminance 0.050; OKLCH L 35.9% C 0.068 H 166.6°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#0C4835
RGBrgb(12, 72, 53)
HSLhsl(161, 71%, 16%)
HSVhsv(161, 83%, 28%)
CMYKcmyk(83.3%, 0%, 26.4%, 71.8%)
CIE-LABlab(26.65, -23.88, 6.16)
CIE-LCHlch(26.65, 24.66, 165.55°)
OKLaboklab(35.93% -0.066 0.0157)
OKLCHoklch(35.93% 0.068 166.6)
XYZxyz(3.1112, 4.9696, 4.1627)
Luminance0.0497 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4835 #480C1F
analogous
#0C4817 #0C4835 #0C3D48
triadic
#0C4835 #350C48 #48350C
tetradic
#0C4835 #170C48 #480C1F #3D480C
square
#0C4835 #170C48 #480C1F #3D480C
split-complementary
#0C4835 #480C3D #48170C
monochromatic
#041A13 #041A13 #0C4835 #157C5C #1DB182

Accessibility & contrast

On white

10.53
#0C4835 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#0C4835 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4835
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4835#FFFFFF#000000##FFFFFF
##0C48351.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c4835;
/* rgb */ color: rgb(12, 72, 53);
/* oklch */ color: oklch(35.9% 0.068 166.6);
Tailwind
colors: {
  custom: {
    50: '#567b6c',
    500: '#0c4835',
    950: '#000000',
  },
}
SCSS
$custom: #0c4835;
$custom-light: #567b6c;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4835",
  "rgb": {
    "r": 12,
    "g": 72,
    "b": 53
  },
  "hsl": {
    "h": 161,
    "s": 71.429,
    "l": 16.471
  },
  "oklch": {
    "l": 0.35926,
    "c": 0.06783,
    "h": 166.6
  },
  "luminance": 0.0497
}

Semantic roles & 50–950 ramp

primary
#0C4835
secondary
#842C48
accent
#3A73EE
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#030906
muted
#787B7A

Preview Lab

Preview with #0C4835

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

Preview Lab → · Contrast checker → · Palette generator →

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