#0C4933#0C4933

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

Color values

HEX#0C4933
RGBrgb(12, 73, 51)
HSLhsl(158, 72%, 17%)
HSVhsv(158, 84%, 29%)
CMYKcmyk(83.6%, 0%, 30.1%, 71.4%)
CIE-LABlab(26.97, -24.91, 7.89)
CIE-LCHlch(26.97, 26.13, 162.43°)
OKLaboklab(36.17% -0.0683 0.0201)
OKLCHoklch(36.17% 0.071 163.6)
XYZxyz(3.1314, 5.0819, 3.9472)
Luminance0.0508 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4933 #490C22
analogous
#0C4915 #0C4933 #0C4149
triadic
#0C4933 #330C49 #49330C
tetradic
#0C4933 #150C49 #490C22 #41490C
square
#0C4933 #150C49 #490C22 #41490C
split-complementary
#0C4933 #490C41 #49150C
monochromatic
#041A12 #041A12 #0C4933 #157E58 #1DB27C

Accessibility & contrast

On white

10.41
#0C4933 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C4933
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4933#FFFFFF#000000##FFFFFF
##0C49331.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c4933;
/* rgb */ color: rgb(12, 73, 51);
/* oklch */ color: oklch(36.2% 0.071 163.6);
Tailwind
colors: {
  custom: {
    50: '#567c6a',
    500: '#0c4933',
    950: '#000000',
  },
}
SCSS
$custom: #0c4933;
$custom-light: #567c6a;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4933",
  "rgb": {
    "r": 12,
    "g": 73,
    "b": 51
  },
  "hsl": {
    "h": 158.361,
    "s": 71.765,
    "l": 16.667
  },
  "oklch": {
    "l": 0.36171,
    "c": 0.07118,
    "h": 163.6
  },
  "luminance": 0.05082
}

Semantic roles & 50–950 ramp

primary
#0C4933
secondary
#852C4C
accent
#397BEE
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#030906
muted
#787B7A

Preview Lab

Preview with #0C4933

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

Preview Lab → · Contrast checker → · Palette generator →

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