#0C4D2E#0C4D2E

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

Color values

HEX#0C4D2E
RGBrgb(12, 77, 46)
HSLhsl(151, 73%, 17%)
HSVhsv(151, 84%, 30%)
CMYKcmyk(84.4%, 0%, 40.3%, 69.8%)
CIE-LABlab(28.33, -28.01, 12.92)
CIE-LCHlch(28.33, 30.85, 155.24°)
OKLaboklab(37.26% -0.0757 0.0324)
OKLCHoklch(37.26% 0.082 156.8)
XYZxyz(3.2983, 5.5828, 3.4880)
Luminance0.0558 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4D2E #4D0C2B
analogous
#0C4D0E #0C4D2E #0C4B4D
triadic
#0C4D2E #2E0C4D #4D2E0C
tetradic
#0C4D2E #0E0C4D #4D0C2B #4B4D0C
square
#0C4D2E #0E0C4D #4D0C2B #4B4D0C
split-complementary
#0C4D2E #4D0C4B #4D0E0C
monochromatic
#041A10 #041A10 #0C4D2E #14824E #1DB76D

Accessibility & contrast

On white

9.92
#0C4D2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C4D2E
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4D2E#FFFFFF#000000##FFFFFF
##0C4D2E1.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c4d2e;
/* rgb */ color: rgb(12, 77, 46);
/* oklch */ color: oklch(37.3% 0.082 156.8);
Tailwind
colors: {
  custom: {
    50: '#577f67',
    500: '#0c4d2e',
    950: '#000000',
  },
}
SCSS
$custom: #0c4d2e;
$custom-light: #577f67;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4d2e",
  "rgb": {
    "r": 12,
    "g": 77,
    "b": 46
  },
  "hsl": {
    "h": 151.385,
    "s": 73.034,
    "l": 17.451
  },
  "oklch": {
    "l": 0.37259,
    "c": 0.08234,
    "h": 156.8
  },
  "luminance": 0.05583
}

Semantic roles & 50–950 ramp

primary
#0C4D2E
secondary
#892C58
accent
#3890F0
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040A06
muted
#797C7A

Preview Lab

Preview with #0C4D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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