#0C5130#0C5130

#0C5130 is a dark, moderate teal. Relative luminance 0.062; OKLCH L 38.5% C 0.086 H 156.5°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#0C5130
RGBrgb(12, 81, 48)
HSLhsl(151, 74%, 18%)
HSVhsv(151, 85%, 32%)
CMYKcmyk(85.2%, 0%, 40.7%, 68.2%)
CIE-LABlab(29.85, -29.30, 13.72)
CIE-LCHlch(29.85, 32.35, 154.92°)
OKLaboklab(38.53% -0.0791 0.0344)
OKLCHoklch(38.53% 0.086 156.5)
XYZxyz(3.6272, 6.1760, 3.7967)
Luminance0.0618 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C5130 #510C2D
analogous
#0C510D #0C5130 #0C4F51
triadic
#0C5130 #300C51 #51300C
tetradic
#0C5130 #0D0C51 #510C2D #4F510C
square
#0C5130 #0D0C51 #510C2D #4F510C
split-complementary
#0C5130 #510C4F #510D0C
monochromatic
#041B10 #041C10 #0C5130 #148650 #1CBC6F

Accessibility & contrast

On white

9.40
#0C5130 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#0C5130 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C5130
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C5130#FFFFFF#000000##FFFFFF
##0C51301.009.402.249.40
#FFFFFF9.401.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504A2E
Deuteranopia (green-blind)
#484432
Tritanopia (blue-blind)
#005049
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #0c5130;
/* rgb */ color: rgb(12, 81, 48);
/* oklch */ color: oklch(38.5% 0.086 156.5);
Tailwind
colors: {
  custom: {
    50: '#588268',
    500: '#0c5130',
    950: '#000000',
  },
}
SCSS
$custom: #0c5130;
$custom-light: #588268;
$custom-dark: #000000;
JSON
{
  "hex": "#0c5130",
  "rgb": {
    "r": 12,
    "g": 81,
    "b": 48
  },
  "hsl": {
    "h": 151.304,
    "s": 74.194,
    "l": 18.235
  },
  "oklch": {
    "l": 0.38525,
    "c": 0.08625,
    "h": 156.5
  },
  "luminance": 0.06176
}

Semantic roles & 50–950 ramp

primary
#0C5130
secondary
#8C2C5A
accent
#3790F1
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040A06
muted
#797C7A

Preview Lab

Preview with #0C5130

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

Preview Lab → · Contrast checker → · Palette generator →

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