#0C5038#0C5038

#0C5038 is a dark, moderate teal. Relative luminance 0.061; OKLCH L 38.4% C 0.077 H 163.7°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#0C5038
RGBrgb(12, 80, 56)
HSLhsl(159, 74%, 18%)
HSVhsv(159, 85%, 31%)
CMYKcmyk(85%, 0%, 30%, 68.6%)
CIE-LABlab(29.66, -26.86, 8.47)
CIE-LCHlch(29.66, 28.17, 162.50°)
OKLaboklab(38.43% -0.0736 0.0216)
OKLCHoklch(38.43% 0.077 163.7)
XYZxyz(3.7337, 6.1006, 4.7214)
Luminance0.0610 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C5038 #500C24
analogous
#0C5016 #0C5038 #0C4650
triadic
#0C5038 #380C50 #50380C
tetradic
#0C5038 #160C50 #500C24 #46500C
square
#0C5038 #160C50 #500C24 #46500C
split-complementary
#0C5038 #500C46 #50160C
monochromatic
#041B13 #041B13 #0C5038 #14855D #1CBA83

Accessibility & contrast

On white

9.46
#0C5038 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#0C5038 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C5038
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C5038#FFFFFF#000000##FFFFFF
##0C50381.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4937
Deuteranopia (green-blind)
#46433A
Tritanopia (blue-blind)
#005049
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #0c5038;
/* rgb */ color: rgb(12, 80, 56);
/* oklch */ color: oklch(38.4% 0.077 163.7);
Tailwind
colors: {
  custom: {
    50: '#58826e',
    500: '#0c5038',
    950: '#000000',
  },
}
SCSS
$custom: #0c5038;
$custom-light: #58826e;
$custom-dark: #000000;
JSON
{
  "hex": "#0c5038",
  "rgb": {
    "r": 12,
    "g": 80,
    "b": 56
  },
  "hsl": {
    "h": 158.824,
    "s": 73.913,
    "l": 18.039
  },
  "oklch": {
    "l": 0.3843,
    "c": 0.07668,
    "h": 163.7
  },
  "luminance": 0.06101
}

Semantic roles & 50–950 ramp

primary
#0C5038
secondary
#8B2C4E
accent
#3779F1
background
#F5F8F6
surface
#E9EFEC
border
#C5CAC7
text
#040A07
muted
#797C7A

Preview Lab

Preview with #0C5038

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

Preview Lab → · Contrast checker → · Palette generator →

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