#0C4934#0C4934

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

Color values

HEX#0C4934
RGBrgb(12, 73, 52)
HSLhsl(159, 72%, 17%)
HSVhsv(159, 84%, 29%)
CMYKcmyk(83.6%, 0%, 28.8%, 71.4%)
CIE-LABlab(26.99, -24.64, 7.28)
CIE-LCHlch(26.99, 25.70, 163.54°)
OKLaboklab(36.2% -0.0677 0.0186)
OKLCHoklch(36.2% 0.07 164.7)
XYZxyz(3.1536, 5.0908, 4.0646)
Luminance0.0509 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4934 #490C21
analogous
#0C4916 #0C4934 #0C4049
triadic
#0C4934 #340C49 #49340C
tetradic
#0C4934 #160C49 #490C21 #40490C
square
#0C4934 #160C49 #490C21 #40490C
split-complementary
#0C4934 #490C40 #49160C
monochromatic
#041A13 #041A13 #0C4934 #157E59 #1DB27F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0C4934#FFFFFF#000000##FFFFFF
##0C49341.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)
#474333
Deuteranopia (green-blind)
#403E35
Tritanopia (blue-blind)
#004943
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #0c4934;
/* rgb */ color: rgb(12, 73, 52);
/* oklch */ color: oklch(36.2% 0.070 164.7);
Tailwind
colors: {
  custom: {
    50: '#567c6b',
    500: '#0c4934',
    950: '#000000',
  },
}
SCSS
$custom: #0c4934;
$custom-light: #567c6b;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4934",
  "rgb": {
    "r": 12,
    "g": 73,
    "b": 52
  },
  "hsl": {
    "h": 159.344,
    "s": 71.765,
    "l": 16.667
  },
  "oklch": {
    "l": 0.362,
    "c": 0.07022,
    "h": 164.7
  },
  "luminance": 0.05091
}

Semantic roles & 50–950 ramp

primary
#0C4934
secondary
#852C4B
accent
#3978EE
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#030906
muted
#787B7A

Preview Lab

Preview with #0C4934

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

Preview Lab → · Contrast checker → · Palette generator →

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