#0C4D1A#0C4D1A

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

Color values

HEX#0C4D1A
RGBrgb(12, 77, 26)
HSLhsl(133, 73%, 17%)
HSVhsv(133, 84%, 30%)
CMYKcmyk(84.4%, 0%, 66.2%, 69.8%)
CIE-LABlab(28.01, -31.82, 24.24)
CIE-LCHlch(28.01, 40.00, 142.69°)
OKLaboklab(36.88% -0.0857 0.0571)
OKLCHoklch(36.88% 0.103 146.3)
XYZxyz(2.9917, 5.4601, 1.8733)
Luminance0.0546 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4D1A #4D0C3F
analogous
#1F4D0C #0C4D1A #0C4D3B
triadic
#0C4D1A #1A0C4D #4D1A0C
tetradic
#0C4D1A #0C1F4D #4D0C3F #4D3B0C
square
#0C4D1A #0C1F4D #4D0C3F #4D3B0C
split-complementary
#0C4D1A #3B0C4D #4D0C1F
monochromatic
#041A09 #041A09 #0C4D1A #14822C #1DB73E

Accessibility & contrast

On white

10.04
#0C4D1A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#0C4D1A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4D1A
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4D1A#FFFFFF#000000##FFFFFF
##0C4D1A1.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4515
Deuteranopia (green-blind)
#47401E
Tritanopia (blue-blind)
#004B42
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #0c4d1a;
/* rgb */ color: rgb(12, 77, 26);
/* oklch */ color: oklch(36.9% 0.103 146.3);
Tailwind
colors: {
  custom: {
    50: '#588058',
    500: '#0c4d1a',
    950: '#000000',
  },
}
SCSS
$custom: #0c4d1a;
$custom-light: #588058;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4d1a",
  "rgb": {
    "r": 12,
    "g": 77,
    "b": 26
  },
  "hsl": {
    "h": 132.923,
    "s": 73.034,
    "l": 17.451
  },
  "oklch": {
    "l": 0.36882,
    "c": 0.10298,
    "h": 146.3
  },
  "luminance": 0.0546
}

Semantic roles & 50–950 ramp

primary
#0C4D1A
secondary
#892C75
accent
#38C8F0
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A03
muted
#797C78

Preview Lab

Preview with #0C4D1A

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

Preview Lab → · Contrast checker → · Palette generator →

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