#0C451A#0C451A

#0C451A is a dark, moderate green. Relative luminance 0.044; OKLCH L 34.4% C 0.091 H 147.3°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#0C451A
RGBrgb(12, 69, 26)
HSLhsl(135, 70%, 16%)
HSVhsv(135, 83%, 27%)
CMYKcmyk(82.6%, 0%, 62.3%, 72.9%)
CIE-LABlab(24.98, -28.61, 20.68)
CIE-LCHlch(24.98, 35.31, 144.14°)
OKLaboklab(34.37% -0.077 0.0494)
OKLCHoklch(34.37% 0.092 147.3)
XYZxyz(2.4660, 4.4087, 1.6981)
Luminance0.0441 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C451A #450C37
analogous
#1A450C #0C451A #0C4536
triadic
#0C451A #1A0C45 #451A0C
tetradic
#0C451A #0C1A45 #450C37 #45360C
square
#0C451A #0C1A45 #450C37 #45360C
split-complementary
#0C451A #360C45 #450C1A
monochromatic
#051A0A #051A0A #0C451A #15792E #1EAD41

Accessibility & contrast

On white

11.16
#0C451A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#0C451A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C451A
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C451A#FFFFFF#000000##FFFFFF
##0C451A1.0011.161.8811.16
#FFFFFF11.161.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463E16
Deuteranopia (green-blind)
#3F391D
Tritanopia (blue-blind)
#00433B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #0c451a;
/* rgb */ color: rgb(12, 69, 26);
/* oklch */ color: oklch(34.4% 0.091 147.3);
Tailwind
colors: {
  custom: {
    50: '#557958',
    500: '#0c451a',
    950: '#000000',
  },
}
SCSS
$custom: #0c451a;
$custom-light: #557958;
$custom-dark: #000000;
JSON
{
  "hex": "#0c451a",
  "rgb": {
    "r": 12,
    "g": 69,
    "b": 26
  },
  "hsl": {
    "h": 134.737,
    "s": 70.37,
    "l": 15.882
  },
  "oklch": {
    "l": 0.34372,
    "c": 0.0915,
    "h": 147.3
  },
  "luminance": 0.04409
}

Semantic roles & 50–950 ramp

primary
#0C451A
secondary
#812C6C
accent
#3BC1ED
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030903
muted
#787B78

Preview Lab

Preview with #0C451A

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

Preview Lab → · Contrast checker → · Palette generator →

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