#0C5032#0C5032

#0C5032 is a dark, moderate teal. Relative luminance 0.060; OKLCH L 38.3% C 0.083 H 158.5°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#0C5032
RGBrgb(12, 80, 50)
HSLhsl(154, 74%, 18%)
HSVhsv(154, 85%, 31%)
CMYKcmyk(85%, 0%, 37.5%, 68.6%)
CIE-LABlab(29.53, -28.39, 12.04)
CIE-LCHlch(29.53, 30.83, 157.02°)
OKLaboklab(38.27% -0.0769 0.0304)
OKLCHoklch(38.27% 0.083 158.5)
XYZxyz(3.5956, 6.0453, 3.9944)
Luminance0.0605 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C5032 #500C2A
analogous
#0C5010 #0C5032 #0C4C50
triadic
#0C5032 #320C50 #50320C
tetradic
#0C5032 #100C50 #500C2A #4C500C
square
#0C5032 #100C50 #500C2A #4C500C
split-complementary
#0C5032 #500C4C #50100C
monochromatic
#041B11 #041B11 #0C5032 #148553 #1CBA75

Accessibility & contrast

On white

9.51
#0C5032 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C5032
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C5032#FFFFFF#000000##FFFFFF
##0C50321.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4930
Deuteranopia (green-blind)
#474334
Tritanopia (blue-blind)
#004F48
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #0c5032;
/* rgb */ color: rgb(12, 80, 50);
/* oklch */ color: oklch(38.3% 0.083 158.5);
Tailwind
colors: {
  custom: {
    50: '#58826a',
    500: '#0c5032',
    950: '#000000',
  },
}
SCSS
$custom: #0c5032;
$custom-light: #58826a;
$custom-dark: #000000;
JSON
{
  "hex": "#0c5032",
  "rgb": {
    "r": 12,
    "g": 80,
    "b": 50
  },
  "hsl": {
    "h": 153.529,
    "s": 73.913,
    "l": 18.039
  },
  "oklch": {
    "l": 0.3827,
    "c": 0.08267,
    "h": 158.5
  },
  "luminance": 0.06046
}

Semantic roles & 50–950 ramp

primary
#0C5032
secondary
#8B2C56
accent
#3789F1
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040A06
muted
#797C7A

Preview Lab

Preview with #0C5032

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

Preview Lab → · Contrast checker → · Palette generator →

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