#0C4B31#0C4B31

#0C4B31 is a dark, moderate teal. Relative luminance 0.053; OKLCH L 36.7% C 0.076 H 160.3°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#0C4B31
RGBrgb(12, 75, 49)
HSLhsl(155, 72%, 17%)
HSVhsv(155, 84%, 29%)
CMYKcmyk(84%, 0%, 34.7%, 70.6%)
CIE-LABlab(27.66, -26.37, 10.12)
CIE-LCHlch(27.66, 28.25, 159.01°)
OKLaboklab(36.73% -0.0717 0.0256)
OKLCHoklch(36.73% 0.076 160.3)
XYZxyz(3.2217, 5.3317, 3.7645)
Luminance0.0533 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4B31 #4B0C26
analogous
#0C4B12 #0C4B31 #0C464B
triadic
#0C4B31 #310C4B #4B310C
tetradic
#0C4B31 #120C4B #4B0C26 #464B0C
square
#0C4B31 #120C4B #4B0C26 #464B0C
split-complementary
#0C4B31 #4B0C46 #4B120C
monochromatic
#041A11 #041A11 #0C4B31 #148053 #1DB576

Accessibility & contrast

On white

10.16
#0C4B31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#0C4B31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4B31
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4B31#FFFFFF#000000##FFFFFF
##0C4B311.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A452F
Deuteranopia (green-blind)
#423F33
Tritanopia (blue-blind)
#004B44
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #0c4b31;
/* rgb */ color: rgb(12, 75, 49);
/* oklch */ color: oklch(36.7% 0.076 160.3);
Tailwind
colors: {
  custom: {
    50: '#577e69',
    500: '#0c4b31',
    950: '#000000',
  },
}
SCSS
$custom: #0c4b31;
$custom-light: #577e69;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4b31",
  "rgb": {
    "r": 12,
    "g": 75,
    "b": 49
  },
  "hsl": {
    "h": 155.238,
    "s": 72.414,
    "l": 17.059
  },
  "oklch": {
    "l": 0.36725,
    "c": 0.07618,
    "h": 160.3
  },
  "luminance": 0.05332
}

Semantic roles & 50–950 ramp

primary
#0C4B31
secondary
#872C51
accent
#3984EF
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#030A06
muted
#787C7A

Preview Lab

Preview with #0C4B31

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

Preview Lab → · Contrast checker → · Palette generator →

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