#0C5035#0C5035

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

Color values

HEX#0C5035
RGBrgb(12, 80, 53)
HSLhsl(156, 74%, 18%)
HSVhsv(156, 85%, 31%)
CMYKcmyk(85%, 0%, 33.7%, 68.6%)
CIE-LABlab(29.59, -27.64, 10.26)
CIE-LCHlch(29.59, 29.48, 159.64°)
OKLaboklab(38.35% -0.0752 0.026)
OKLCHoklch(38.35% 0.08 160.9)
XYZxyz(3.6625, 6.0721, 4.3465)
Luminance0.0607 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C5035 #500C27
analogous
#0C5013 #0C5035 #0C4950
triadic
#0C5035 #350C50 #50350C
tetradic
#0C5035 #130C50 #500C27 #49500C
square
#0C5035 #130C50 #500C27 #49500C
split-complementary
#0C5035 #500C49 #50130C
monochromatic
#041B12 #041B12 #0C5035 #148558 #1CBA7C

Accessibility & contrast

On white

9.48
#0C5035 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C5035
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C5035#FFFFFF#000000##FFFFFF
##0C50351.009.482.219.48
#FFFFFF9.481.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c5035;
/* rgb */ color: rgb(12, 80, 53);
/* oklch */ color: oklch(38.3% 0.080 160.9);
Tailwind
colors: {
  custom: {
    50: '#58826c',
    500: '#0c5035',
    950: '#000000',
  },
}
SCSS
$custom: #0c5035;
$custom-light: #58826c;
$custom-dark: #000000;
JSON
{
  "hex": "#0c5035",
  "rgb": {
    "r": 12,
    "g": 80,
    "b": 53
  },
  "hsl": {
    "h": 156.176,
    "s": 73.913,
    "l": 18.039
  },
  "oklch": {
    "l": 0.38348,
    "c": 0.07961,
    "h": 160.9
  },
  "luminance": 0.06073
}

Semantic roles & 50–950 ramp

primary
#0C5035
secondary
#8B2C52
accent
#3781F1
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040A07
muted
#797C7A

Preview Lab

Preview with #0C5035

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

Preview Lab → · Contrast checker → · Palette generator →

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