#0C5031#0C5031

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

Color values

HEX#0C5031
RGBrgb(12, 80, 49)
HSLhsl(153, 74%, 18%)
HSVhsv(153, 85%, 31%)
CMYKcmyk(85%, 0%, 38.8%, 68.6%)
CIE-LABlab(29.51, -28.63, 12.63)
CIE-LCHlch(29.51, 31.29, 156.19°)
OKLaboklab(38.25% -0.0774 0.0318)
OKLCHoklch(38.25% 0.084 157.7)
XYZxyz(3.5743, 6.0368, 3.8820)
Luminance0.0604 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C5031 #500C2B
analogous
#0C500F #0C5031 #0C4D50
triadic
#0C5031 #310C50 #50310C
tetradic
#0C5031 #0F0C50 #500C2B #4D500C
square
#0C5031 #0F0C50 #500C2B #4D500C
split-complementary
#0C5031 #500C4D #500F0C
monochromatic
#041B10 #041B10 #0C5031 #148552 #1CBA72

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0C5031#FFFFFF#000000##FFFFFF
##0C50311.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)
#4F492F
Deuteranopia (green-blind)
#474333
Tritanopia (blue-blind)
#004F48
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #0c5031;
/* rgb */ color: rgb(12, 80, 49);
/* oklch */ color: oklch(38.2% 0.084 157.7);
Tailwind
colors: {
  custom: {
    50: '#588269',
    500: '#0c5031',
    950: '#000000',
  },
}
SCSS
$custom: #0c5031;
$custom-light: #588269;
$custom-dark: #000000;
JSON
{
  "hex": "#0c5031",
  "rgb": {
    "r": 12,
    "g": 80,
    "b": 49
  },
  "hsl": {
    "h": 152.647,
    "s": 73.913,
    "l": 18.039
  },
  "oklch": {
    "l": 0.38245,
    "c": 0.08371,
    "h": 157.7
  },
  "luminance": 0.06037
}

Semantic roles & 50–950 ramp

primary
#0C5031
secondary
#8B2C58
accent
#378CF1
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040A06
muted
#797C7A

Preview Lab

Preview with #0C5031

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

Preview Lab → · Contrast checker → · Palette generator →

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