#0C4F36#0C4F36

#0C4F36 is a dark, moderate teal. Relative luminance 0.059; OKLCH L 38.1% C 0.077 H 162.4°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#0C4F36
RGBrgb(12, 79, 54)
HSLhsl(158, 74%, 18%)
HSVhsv(158, 85%, 31%)
CMYKcmyk(84.8%, 0%, 31.6%, 69%)
CIE-LABlab(29.25, -26.93, 9.15)
CIE-LCHlch(29.25, 28.44, 161.22°)
OKLaboklab(38.07% -0.0735 0.0233)
OKLCHoklch(38.07% 0.077 162.4)
XYZxyz(3.6131, 5.9360, 4.4447)
Luminance0.0594 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4F36 #4F0C25
analogous
#0C4F15 #0C4F36 #0C464F
triadic
#0C4F36 #360C4F #4F360C
tetradic
#0C4F36 #150C4F #4F0C25 #464F0C
square
#0C4F36 #150C4F #4F0C25 #464F0C
split-complementary
#0C4F36 #4F0C46 #4F150C
monochromatic
#041B12 #041B12 #0C4F36 #14845A #1CB97F

Accessibility & contrast

On white

9.60
#0C4F36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#0C4F36 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4F36
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4F36#FFFFFF#000000##FFFFFF
##0C4F361.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4835
Deuteranopia (green-blind)
#454338
Tritanopia (blue-blind)
#004F48
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #0c4f36;
/* rgb */ color: rgb(12, 79, 54);
/* oklch */ color: oklch(38.1% 0.077 162.4);
Tailwind
colors: {
  custom: {
    50: '#58816d',
    500: '#0c4f36',
    950: '#000000',
  },
}
SCSS
$custom: #0c4f36;
$custom-light: #58816d;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4f36",
  "rgb": {
    "r": 12,
    "g": 79,
    "b": 54
  },
  "hsl": {
    "h": 157.612,
    "s": 73.626,
    "l": 17.843
  },
  "oklch": {
    "l": 0.38073,
    "c": 0.07715,
    "h": 162.4
  },
  "luminance": 0.05936
}

Semantic roles & 50–950 ramp

primary
#0C4F36
secondary
#8B2C4F
accent
#387CF0
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040A07
muted
#797C7A

Preview Lab

Preview with #0C4F36

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

Preview Lab → · Contrast checker → · Palette generator →

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