#0C4A1E#0C4A1E

#0C4A1E is a dark, moderate green. Relative luminance 0.051; OKLCH L 36.0% C 0.095 H 148.3°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#0C4A1E
RGBrgb(12, 74, 30)
HSLhsl(137, 72%, 17%)
HSVhsv(137, 84%, 29%)
CMYKcmyk(83.8%, 0%, 59.5%, 71%)
CIE-LABlab(26.93, -29.99, 20.75)
CIE-LCHlch(26.93, 36.47, 145.32°)
OKLaboklab(36.01% -0.0806 0.0498)
OKLCHoklch(36.01% 0.095 148.3)
XYZxyz(2.8345, 5.0691, 2.0571)
Luminance0.0507 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4A1E #4A0C38
analogous
#194A0C #0C4A1E #0C4A3D
triadic
#0C4A1E #1E0C4A #4A1E0C
tetradic
#0C4A1E #0C194A #4A0C38 #4A3D0C
square
#0C4A1E #0C194A #4A0C38 #4A3D0C
split-complementary
#0C4A1E #3D0C4A #4A0C19
monochromatic
#041A0B #041A0B #0C4A1E #157F33 #1DB349

Accessibility & contrast

On white

10.43
#0C4A1E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#0C4A1E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4A1E
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4A1E#FFFFFF#000000##FFFFFF
##0C4A1E1.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B431A
Deuteranopia (green-blind)
#443E21
Tritanopia (blue-blind)
#004840
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #0c4a1e;
/* rgb */ color: rgb(12, 74, 30);
/* oklch */ color: oklch(36.0% 0.095 148.3);
Tailwind
colors: {
  custom: {
    50: '#577d5b',
    500: '#0c4a1e',
    950: '#000000',
  },
}
SCSS
$custom: #0c4a1e;
$custom-light: #577d5b;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4a1e",
  "rgb": {
    "r": 12,
    "g": 74,
    "b": 30
  },
  "hsl": {
    "h": 137.419,
    "s": 72.093,
    "l": 16.863
  },
  "oklch": {
    "l": 0.36007,
    "c": 0.0948,
    "h": 148.3
  },
  "luminance": 0.05069
}

Semantic roles & 50–950 ramp

primary
#0C4A1E
secondary
#862C6C
accent
#39BAEF
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A04
muted
#797C79

Preview Lab

Preview with #0C4A1E

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

Preview Lab → · Contrast checker → · Palette generator →

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