#0C4A0A#0C4A0A

#0C4A0A is a dark, moderate green. Relative luminance 0.050; OKLCH L 35.8% C 0.111 H 142.5°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#0C4A0A
RGBrgb(12, 74, 10)
HSLhsl(118, 76%, 16%)
HSVhsv(118, 86%, 29%)
CMYKcmyk(83.8%, 0%, 86.5%, 71%)
CIE-LABlab(26.73, -32.46, 30.28)
CIE-LCHlch(26.73, 44.39, 136.99°)
OKLaboklab(35.77% -0.0882 0.0677)
OKLCHoklch(35.77% 0.111 142.5)
XYZxyz(2.6550, 4.9973, 1.1118)
Luminance0.0500 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4A0A #480A4A
analogous
#2C4A0A #0C4A0A #0A4A28
triadic
#0C4A0A #0A0C4A #4A0A0C
tetradic
#0C4A0A #0A2C4A #480A4A #4A280A
square
#0C4A0A #0A2C4A #480A4A #4A280A
split-complementary
#0C4A0A #280A4A #4A0A2C
monochromatic
#041B04 #041B04 #0C4A0A #158011 #1DB619

Accessibility & contrast

On white

10.50
#0C4A0A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#0C4A0A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4A0A
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4A0A#FFFFFF#000000##FFFFFF
##0C4A0A1.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4200
Deuteranopia (green-blind)
#453D12
Tritanopia (blue-blind)
#00473E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #0c4a0a;
/* rgb */ color: rgb(12, 74, 10);
/* oklch */ color: oklch(35.8% 0.111 142.5);
Tailwind
colors: {
  custom: {
    50: '#587d4f',
    500: '#0c4a0a',
    950: '#000000',
  },
}
SCSS
$custom: #0c4a0a;
$custom-light: #587d4f;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4a0a",
  "rgb": {
    "r": 12,
    "g": 74,
    "b": 10
  },
  "hsl": {
    "h": 118.125,
    "s": 76.19,
    "l": 16.471
  },
  "oklch": {
    "l": 0.35772,
    "c": 0.11119,
    "h": 142.5
  },
  "luminance": 0.04998
}

Semantic roles & 50–950 ramp

primary
#0C4A0A
secondary
#842987
accent
#35F3ED
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040A02
muted
#797C78

Preview Lab

Preview with #0C4A0A

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

Preview Lab → · Contrast checker → · Palette generator →

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