#0C4D1E#0C4D1E

#0C4D1E is a dark, moderate green. Relative luminance 0.055; OKLCH L 36.9% C 0.099 H 147.8°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#0C4D1E
RGBrgb(12, 77, 30)
HSLhsl(137, 73%, 17%)
HSVhsv(137, 84%, 30%)
CMYKcmyk(84.4%, 0%, 61%, 69.8%)
CIE-LABlab(28.06, -31.20, 22.11)
CIE-LCHlch(28.06, 38.24, 144.68°)
OKLaboklab(36.94% -0.0839 0.0528)
OKLCHoklch(36.94% 0.099 147.8)
XYZxyz(3.0396, 5.4793, 2.1255)
Luminance0.0548 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4D1E #4D0C3B
analogous
#1B4D0C #0C4D1E #0C4D3E
triadic
#0C4D1E #1E0C4D #4D1E0C
tetradic
#0C4D1E #0C1B4D #4D0C3B #4D3E0C
square
#0C4D1E #0C1B4D #4D0C3B #4D3E0C
split-complementary
#0C4D1E #3E0C4D #4D0C1B
monochromatic
#041A0A #041A0A #0C4D1E #148233 #1DB747

Accessibility & contrast

On white

10.02
#0C4D1E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#0C4D1E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4D1E
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4D1E#FFFFFF#000000##FFFFFF
##0C4D1E1.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E451A
Deuteranopia (green-blind)
#474022
Tritanopia (blue-blind)
#004B42
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #0c4d1e;
/* rgb */ color: rgb(12, 77, 30);
/* oklch */ color: oklch(36.9% 0.099 147.8);
Tailwind
colors: {
  custom: {
    50: '#587f5b',
    500: '#0c4d1e',
    950: '#000000',
  },
}
SCSS
$custom: #0c4d1e;
$custom-light: #587f5b;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4d1e",
  "rgb": {
    "r": 12,
    "g": 77,
    "b": 30
  },
  "hsl": {
    "h": 136.615,
    "s": 73.034,
    "l": 17.451
  },
  "oklch": {
    "l": 0.36941,
    "c": 0.09915,
    "h": 147.8
  },
  "luminance": 0.0548
}

Semantic roles & 50–950 ramp

primary
#0C4D1E
secondary
#892C6F
accent
#38BDF0
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A04
muted
#797C79

Preview Lab

Preview with #0C4D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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