#0C4A10#0C4A10

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

Color values

HEX#0C4A10
RGBrgb(12, 74, 16)
HSLhsl(124, 72%, 17%)
HSVhsv(124, 84%, 29%)
CMYKcmyk(83.8%, 0%, 78.4%, 71%)
CIE-LABlab(26.77, -31.92, 27.85)
CIE-LCHlch(26.77, 42.36, 138.89°)
OKLaboklab(35.82% -0.0864 0.0636)
OKLCHoklch(35.82% 0.107 143.7)
XYZxyz(2.6937, 5.0128, 1.3157)
Luminance0.0501 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4A10 #4A0C46
analogous
#274A0C #0C4A10 #0C4A2F
triadic
#0C4A10 #100C4A #4A100C
tetradic
#0C4A10 #0C274A #4A0C46 #4A2F0C
square
#0C4A10 #0C274A #4A0C46 #4A2F0C
split-complementary
#0C4A10 #2F0C4A #4A0C27
monochromatic
#041A06 #041A06 #0C4A10 #157F1B #1DB327

Accessibility & contrast

On white

10.49
#0C4A10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C4A10
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4A10#FFFFFF#000000##FFFFFF
##0C4A101.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4207
Deuteranopia (green-blind)
#453D16
Tritanopia (blue-blind)
#00483E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #0c4a10;
/* rgb */ color: rgb(12, 74, 16);
/* oklch */ color: oklch(35.8% 0.107 143.7);
Tailwind
colors: {
  custom: {
    50: '#587d52',
    500: '#0c4a10',
    950: '#000000',
  },
}
SCSS
$custom: #0c4a10;
$custom-light: #587d52;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4a10",
  "rgb": {
    "r": 12,
    "g": 74,
    "b": 16
  },
  "hsl": {
    "h": 123.871,
    "s": 72.093,
    "l": 16.863
  },
  "oklch": {
    "l": 0.35823,
    "c": 0.10727,
    "h": 143.7
  },
  "luminance": 0.05013
}

Semantic roles & 50–950 ramp

primary
#0C4A10
secondary
#862C80
accent
#39E3EF
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040A02
muted
#797C78

Preview Lab

Preview with #0C4A10

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

Preview Lab → · Contrast checker → · Palette generator →

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