#0C4936#0C4936

#0C4936 is a dark, moderate teal. Relative luminance 0.051; OKLCH L 36.3% C 0.068 H 166.9°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#0C4936
RGBrgb(12, 73, 54)
HSLhsl(161, 72%, 17%)
HSVhsv(161, 84%, 29%)
CMYKcmyk(83.6%, 0%, 26%, 71.4%)
CIE-LABlab(27.04, -24.09, 6.07)
CIE-LCHlch(27.04, 24.84, 165.86°)
OKLaboklab(36.26% -0.0666 0.0155)
OKLCHoklch(36.26% 0.068 166.9)
XYZxyz(3.1996, 5.1092, 4.3069)
Luminance0.0511 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4936 #490C1F
analogous
#0C4917 #0C4936 #0C3E49
triadic
#0C4936 #360C49 #49360C
tetradic
#0C4936 #170C49 #490C1F #3E490C
square
#0C4936 #170C49 #490C1F #3E490C
split-complementary
#0C4936 #490C3E #49170C
monochromatic
#041A13 #041A13 #0C4936 #157E5D #1DB284

Accessibility & contrast

On white

10.39
#0C4936 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C4936
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4936#FFFFFF#000000##FFFFFF
##0C49361.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474335
Deuteranopia (green-blind)
#3F3E37
Tritanopia (blue-blind)
#004944
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #0c4936;
/* rgb */ color: rgb(12, 73, 54);
/* oklch */ color: oklch(36.3% 0.068 166.9);
Tailwind
colors: {
  custom: {
    50: '#567c6d',
    500: '#0c4936',
    950: '#000000',
  },
}
SCSS
$custom: #0c4936;
$custom-light: #567c6d;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4936",
  "rgb": {
    "r": 12,
    "g": 73,
    "b": 54
  },
  "hsl": {
    "h": 161.311,
    "s": 71.765,
    "l": 16.667
  },
  "oklch": {
    "l": 0.36259,
    "c": 0.06837,
    "h": 166.9
  },
  "luminance": 0.0511
}

Semantic roles & 50–950 ramp

primary
#0C4936
secondary
#852C48
accent
#3972EE
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#030907
muted
#787B7A

Preview Lab

Preview with #0C4936

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

Preview Lab → · Contrast checker → · Palette generator →

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