#0C4A38#0C4A38

#0C4A38 is a dark, moderate teal. Relative luminance 0.053; OKLCH L 36.6% C 0.068 H 168.3°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#0C4A38
RGBrgb(12, 74, 56)
HSLhsl(163, 72%, 17%)
HSVhsv(163, 84%, 29%)
CMYKcmyk(83.8%, 0%, 24.3%, 71%)
CIE-LABlab(27.47, -24.01, 5.38)
CIE-LCHlch(27.47, 24.60, 167.37°)
OKLaboklab(36.62% -0.0666 0.0137)
OKLCHoklch(36.62% 0.068 168.3)
XYZxyz(3.3138, 5.2608, 4.5814)
Luminance0.0526 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4A38 #4A0C1E
analogous
#0C4A19 #0C4A38 #0C3D4A
triadic
#0C4A38 #380C4A #4A380C
tetradic
#0C4A38 #190C4A #4A0C1E #3D4A0C
square
#0C4A38 #190C4A #4A0C1E #3D4A0C
split-complementary
#0C4A38 #4A0C3D #4A190C
monochromatic
#041A14 #041A14 #0C4A38 #157F60 #1DB388

Accessibility & contrast

On white

10.23
#0C4A38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#0C4A38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4A38
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4A38#FFFFFF#000000##FFFFFF
##0C4A381.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484437
Deuteranopia (green-blind)
#403F39
Tritanopia (blue-blind)
#004A45
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #0c4a38;
/* rgb */ color: rgb(12, 74, 56);
/* oklch */ color: oklch(36.6% 0.068 168.3);
Tailwind
colors: {
  custom: {
    50: '#577d6e',
    500: '#0c4a38',
    950: '#000000',
  },
}
SCSS
$custom: #0c4a38;
$custom-light: #577d6e;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4a38",
  "rgb": {
    "r": 12,
    "g": 74,
    "b": 56
  },
  "hsl": {
    "h": 162.581,
    "s": 72.093,
    "l": 16.863
  },
  "oklch": {
    "l": 0.36623,
    "c": 0.06804,
    "h": 168.3
  },
  "luminance": 0.05261
}

Semantic roles & 50–950 ramp

primary
#0C4A38
secondary
#862C46
accent
#396EEF
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040907
muted
#797B7A

Preview Lab

Preview with #0C4A38

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

Preview Lab → · Contrast checker → · Palette generator →

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