#0C4D2B#0C4D2B

#0C4D2B is a dark, moderate green. Relative luminance 0.056; OKLCH L 37.2% C 0.086 H 154.7°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#0C4D2B
RGBrgb(12, 77, 43)
HSLhsl(149, 73%, 17%)
HSVhsv(149, 84%, 30%)
CMYKcmyk(84.4%, 0%, 44.2%, 69.8%)
CIE-LABlab(28.27, -28.69, 14.70)
CIE-LCHlch(28.27, 32.24, 152.88°)
OKLaboklab(37.19% -0.0773 0.0366)
OKLCHoklch(37.19% 0.086 154.7)
XYZxyz(3.2412, 5.5599, 3.1874)
Luminance0.0556 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4D2B #4D0C2E
analogous
#0E4D0C #0C4D2B #0C4D4B
triadic
#0C4D2B #2B0C4D #4D2B0C
tetradic
#0C4D2B #0C0E4D #4D0C2E #4D4B0C
square
#0C4D2B #0C0E4D #4D0C2E #4D4B0C
split-complementary
#0C4D2B #4B0C4D #4D0C0E
monochromatic
#041A0F #041A0F #0C4D2B #148249 #1DB766

Accessibility & contrast

On white

9.94
#0C4D2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#0C4D2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4D2B
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4D2B#FFFFFF#000000##FFFFFF
##0C4D2B1.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c4d2b;
/* rgb */ color: rgb(12, 77, 43);
/* oklch */ color: oklch(37.2% 0.086 154.7);
Tailwind
colors: {
  custom: {
    50: '#577f64',
    500: '#0c4d2b',
    950: '#000000',
  },
}
SCSS
$custom: #0c4d2b;
$custom-light: #577f64;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4d2b",
  "rgb": {
    "r": 12,
    "g": 77,
    "b": 43
  },
  "hsl": {
    "h": 148.615,
    "s": 73.034,
    "l": 17.451
  },
  "oklch": {
    "l": 0.3719,
    "c": 0.08554,
    "h": 154.7
  },
  "luminance": 0.0556
}

Semantic roles & 50–950 ramp

primary
#0C4D2B
secondary
#892C5D
accent
#3898F0
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040A05
muted
#797C7A

Preview Lab

Preview with #0C4D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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