#0C4D2D#0C4D2D

#0C4D2D is a dark, moderate teal. Relative luminance 0.056; OKLCH L 37.2% C 0.083 H 156.1°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#0C4D2D
RGBrgb(12, 77, 45)
HSLhsl(150, 73%, 17%)
HSVhsv(150, 84%, 30%)
CMYKcmyk(84.4%, 0%, 41.6%, 69.8%)
CIE-LABlab(28.31, -28.24, 13.51)
CIE-LCHlch(28.31, 31.31, 154.43°)
OKLaboklab(37.24% -0.0762 0.0338)
OKLCHoklch(37.24% 0.083 156.1)
XYZxyz(3.2788, 5.5750, 3.3854)
Luminance0.0558 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4D2D #4D0C2C
analogous
#0C4D0D #0C4D2D #0C4C4D
triadic
#0C4D2D #2D0C4D #4D2D0C
tetradic
#0C4D2D #0D0C4D #4D0C2C #4C4D0C
square
#0C4D2D #0D0C4D #4D0C2C #4C4D0C
split-complementary
#0C4D2D #4D0C4C #4D0D0C
monochromatic
#041A0F #041A0F #0C4D2D #14824C #1DB76B

Accessibility & contrast

On white

9.93
#0C4D2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C4D2D
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4D2D#FFFFFF#000000##FFFFFF
##0C4D2D1.009.932.129.93
#FFFFFF9.931.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D462B
Deuteranopia (green-blind)
#45412F
Tritanopia (blue-blind)
#004C45
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #0c4d2d;
/* rgb */ color: rgb(12, 77, 45);
/* oklch */ color: oklch(37.2% 0.083 156.1);
Tailwind
colors: {
  custom: {
    50: '#577f66',
    500: '#0c4d2d',
    950: '#000000',
  },
}
SCSS
$custom: #0c4d2d;
$custom-light: #577f66;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4d2d",
  "rgb": {
    "r": 12,
    "g": 77,
    "b": 45
  },
  "hsl": {
    "h": 150.462,
    "s": 73.034,
    "l": 17.451
  },
  "oklch": {
    "l": 0.37235,
    "c": 0.0834,
    "h": 156.1
  },
  "luminance": 0.05575
}

Semantic roles & 50–950 ramp

primary
#0C4D2D
secondary
#892C5A
accent
#3892F0
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040A06
muted
#797C7A

Preview Lab

Preview with #0C4D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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