#0C5034#0C5034

#0C5034 is a dark, moderate teal. Relative luminance 0.061; OKLCH L 38.3% C 0.081 H 160.1°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#0C5034
RGBrgb(12, 80, 52)
HSLhsl(155, 74%, 18%)
HSVhsv(155, 85%, 31%)
CMYKcmyk(85%, 0%, 35%, 68.6%)
CIE-LABlab(29.57, -27.90, 10.85)
CIE-LCHlch(29.57, 29.93, 158.74°)
OKLaboklab(38.32% -0.0758 0.0275)
OKLCHoklch(38.32% 0.081 160.1)
XYZxyz(3.6397, 6.0630, 4.2266)
Luminance0.0606 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C5034 #500C28
analogous
#0C5012 #0C5034 #0C4A50
triadic
#0C5034 #340C50 #50340C
tetradic
#0C5034 #120C50 #500C28 #4A500C
square
#0C5034 #120C50 #500C28 #4A500C
split-complementary
#0C5034 #500C4A #50120C
monochromatic
#041B11 #041B11 #0C5034 #148557 #1CBA79

Accessibility & contrast

On white

9.49
#0C5034 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#0C5034 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C5034
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C5034#FFFFFF#000000##FFFFFF
##0C50341.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4932
Deuteranopia (green-blind)
#474336
Tritanopia (blue-blind)
#005049
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #0c5034;
/* rgb */ color: rgb(12, 80, 52);
/* oklch */ color: oklch(38.3% 0.081 160.1);
Tailwind
colors: {
  custom: {
    50: '#58826b',
    500: '#0c5034',
    950: '#000000',
  },
}
SCSS
$custom: #0c5034;
$custom-light: #58826b;
$custom-dark: #000000;
JSON
{
  "hex": "#0c5034",
  "rgb": {
    "r": 12,
    "g": 80,
    "b": 52
  },
  "hsl": {
    "h": 155.294,
    "s": 73.913,
    "l": 18.039
  },
  "oklch": {
    "l": 0.38321,
    "c": 0.08062,
    "h": 160.1
  },
  "luminance": 0.06063
}

Semantic roles & 50–950 ramp

primary
#0C5034
secondary
#8B2C54
accent
#3784F1
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040A06
muted
#797C7A

Preview Lab

Preview with #0C5034

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

Preview Lab → · Contrast checker → · Palette generator →

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