#0C451B#0C451B

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

Color values

HEX#0C451B
RGBrgb(12, 69, 27)
HSLhsl(136, 70%, 16%)
HSVhsv(136, 83%, 27%)
CMYKcmyk(82.6%, 0%, 60.9%, 72.9%)
CIE-LABlab(24.99, -28.45, 20.13)
CIE-LCHlch(24.99, 34.85, 144.72°)
OKLaboklab(34.39% -0.0766 0.0482)
OKLCHoklch(34.39% 0.09 147.8)
XYZxyz(2.4774, 4.4133, 1.7580)
Luminance0.0441 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C451B #450C36
analogous
#19450C #0C451B #0C4537
triadic
#0C451B #1B0C45 #451B0C
tetradic
#0C451B #0C1945 #450C36 #45370C
square
#0C451B #0C1945 #450C36 #45370C
split-complementary
#0C451B #370C45 #450C19
monochromatic
#051A0A #051A0A #0C451B #15792F #1EAD44

Accessibility & contrast

On white

11.15
#0C451B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C451B
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C451B#FFFFFF#000000##FFFFFF
##0C451B1.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463E17
Deuteranopia (green-blind)
#3F391E
Tritanopia (blue-blind)
#00433C
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #0c451b;
/* rgb */ color: rgb(12, 69, 27);
/* oklch */ color: oklch(34.4% 0.090 147.8);
Tailwind
colors: {
  custom: {
    50: '#557958',
    500: '#0c451b',
    950: '#000000',
  },
}
SCSS
$custom: #0c451b;
$custom-light: #557958;
$custom-dark: #000000;
JSON
{
  "hex": "#0c451b",
  "rgb": {
    "r": 12,
    "g": 69,
    "b": 27
  },
  "hsl": {
    "h": 135.789,
    "s": 70.37,
    "l": 15.882
  },
  "oklch": {
    "l": 0.34388,
    "c": 0.09048,
    "h": 147.8
  },
  "luminance": 0.04414
}

Semantic roles & 50–950 ramp

primary
#0C451B
secondary
#812C6B
accent
#3BBEED
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030903
muted
#787B78

Preview Lab

Preview with #0C451B

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

Preview Lab → · Contrast checker → · Palette generator →

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