#0C400A#0C400A

#0C400A is a dark, moderate green. Relative luminance 0.038; OKLCH L 32.6% C 0.098 H 142.5°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#0C400A
RGBrgb(12, 64, 10)
HSLhsl(118, 73%, 15%)
HSVhsv(118, 84%, 25%)
CMYKcmyk(81.2%, 0%, 84.4%, 74.9%)
CIE-LABlab(22.88, -28.66, 26.49)
CIE-LCHlch(22.88, 39.02, 137.25°)
OKLaboklab(32.58% -0.0779 0.0598)
OKLCHoklch(32.58% 0.098 142.5)
XYZxyz(2.0397, 3.7666, 0.9066)
Luminance0.0377 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C400A #3E0A40
analogous
#27400A #0C400A #0A4023
triadic
#0C400A #0A0C40 #400A0C
tetradic
#0C400A #0A2740 #3E0A40 #40230A
square
#0C400A #0A2740 #3E0A40 #40230A
split-complementary
#0C400A #230A40 #400A27
monochromatic
#051A04 #051A04 #0C400A #167512 #20AA1B

Accessibility & contrast

On white

11.98
#0C400A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#0C400A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C400A
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C400A#FFFFFF#000000##FFFFFF
##0C400A1.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423902
Deuteranopia (green-blind)
#3C3510
Tritanopia (blue-blind)
#003E36
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #0c400a;
/* rgb */ color: rgb(12, 64, 10);
/* oklch */ color: oklch(32.6% 0.098 142.5);
Tailwind
colors: {
  custom: {
    50: '#55754d',
    500: '#0c400a',
    950: '#000000',
  },
}
SCSS
$custom: #0c400a;
$custom-light: #55754d;
$custom-dark: #000000;
JSON
{
  "hex": "#0c400a",
  "rgb": {
    "r": 12,
    "g": 64,
    "b": 10
  },
  "hsl": {
    "h": 117.778,
    "s": 72.973,
    "l": 14.51
  },
  "oklch": {
    "l": 0.3258,
    "c": 0.09824,
    "h": 142.5
  },
  "luminance": 0.03767
}

Semantic roles & 50–950 ramp

primary
#0C400A
secondary
#7A297D
accent
#38F0E9
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030801
muted
#787B77

Preview Lab

Preview with #0C400A

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

Preview Lab → · Contrast checker → · Palette generator →

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