#0C4D2F#0C4D2F

#0C4D2F is a dark, moderate teal. Relative luminance 0.056; OKLCH L 37.3% C 0.081 H 157.6°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#0C4D2F
RGBrgb(12, 77, 47)
HSLhsl(152, 73%, 17%)
HSVhsv(152, 84%, 30%)
CMYKcmyk(84.4%, 0%, 39%, 69.8%)
CIE-LABlab(28.36, -27.77, 12.33)
CIE-LCHlch(28.36, 30.38, 156.07°)
OKLaboklab(37.28% -0.0751 0.031)
OKLCHoklch(37.28% 0.081 157.6)
XYZxyz(3.3183, 5.5908, 3.5930)
Luminance0.0559 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4D2F #4D0C2A
analogous
#0C4D0F #0C4D2F #0C4A4D
triadic
#0C4D2F #2F0C4D #4D2F0C
tetradic
#0C4D2F #0F0C4D #4D0C2A #4A4D0C
square
#0C4D2F #0F0C4D #4D0C2A #4A4D0C
split-complementary
#0C4D2F #4D0C4A #4D0F0C
monochromatic
#041A10 #041A10 #0C4D2F #14824F #1DB770

Accessibility & contrast

On white

9.91
#0C4D2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#0C4D2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4D2F
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4D2F#FFFFFF#000000##FFFFFF
##0C4D2F1.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C462D
Deuteranopia (green-blind)
#454131
Tritanopia (blue-blind)
#004C45
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #0c4d2f;
/* rgb */ color: rgb(12, 77, 47);
/* oklch */ color: oklch(37.3% 0.081 157.6);
Tailwind
colors: {
  custom: {
    50: '#577f67',
    500: '#0c4d2f',
    950: '#000000',
  },
}
SCSS
$custom: #0c4d2f;
$custom-light: #577f67;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4d2f",
  "rgb": {
    "r": 12,
    "g": 77,
    "b": 47
  },
  "hsl": {
    "h": 152.308,
    "s": 73.034,
    "l": 17.451
  },
  "oklch": {
    "l": 0.37284,
    "c": 0.08128,
    "h": 157.6
  },
  "luminance": 0.05591
}

Semantic roles & 50–950 ramp

primary
#0C4D2F
secondary
#892C57
accent
#388DF0
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040A06
muted
#797C7A

Preview Lab

Preview with #0C4D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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