#0C4935#0C4935

#0C4935 is a dark, moderate teal. Relative luminance 0.051; OKLCH L 36.2% C 0.069 H 165.8°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#0C4935
RGBrgb(12, 73, 53)
HSLhsl(160, 72%, 17%)
HSVhsv(160, 84%, 29%)
CMYKcmyk(83.6%, 0%, 27.4%, 71.4%)
CIE-LABlab(27.02, -24.37, 6.68)
CIE-LCHlch(27.02, 25.27, 164.68°)
OKLaboklab(36.23% -0.0672 0.0171)
OKLCHoklch(36.23% 0.069 165.8)
XYZxyz(3.1764, 5.0999, 4.1844)
Luminance0.0510 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4935 #490C20
analogous
#0C4917 #0C4935 #0C3F49
triadic
#0C4935 #350C49 #49350C
tetradic
#0C4935 #170C49 #490C20 #3F490C
square
#0C4935 #170C49 #490C20 #3F490C
split-complementary
#0C4935 #490C3F #49170C
monochromatic
#041A13 #041A13 #0C4935 #157E5B #1DB281

Accessibility & contrast

On white

10.40
#0C4935 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#0C4935 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4935
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4935#FFFFFF#000000##FFFFFF
##0C49351.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474334
Deuteranopia (green-blind)
#403E36
Tritanopia (blue-blind)
#004943
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #0c4935;
/* rgb */ color: rgb(12, 73, 53);
/* oklch */ color: oklch(36.2% 0.069 165.8);
Tailwind
colors: {
  custom: {
    50: '#567c6c',
    500: '#0c4935',
    950: '#000000',
  },
}
SCSS
$custom: #0c4935;
$custom-light: #567c6c;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4935",
  "rgb": {
    "r": 12,
    "g": 73,
    "b": 53
  },
  "hsl": {
    "h": 160.328,
    "s": 71.765,
    "l": 16.667
  },
  "oklch": {
    "l": 0.36229,
    "c": 0.06929,
    "h": 165.8
  },
  "luminance": 0.051
}

Semantic roles & 50–950 ramp

primary
#0C4935
secondary
#852C49
accent
#3975EE
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#030906
muted
#787B7A

Preview Lab

Preview with #0C4935

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

Preview Lab → · Contrast checker → · Palette generator →

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