#0C450A#0C450A

#0C450A is a dark, moderate green. Relative luminance 0.044; OKLCH L 34.2% C 0.105 H 142.5°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#0C450A
RGBrgb(12, 69, 10)
HSLhsl(118, 75%, 15%)
HSVhsv(118, 86%, 27%)
CMYKcmyk(82.6%, 0%, 85.5%, 72.9%)
CIE-LABlab(24.82, -30.59, 28.42)
CIE-LCHlch(24.82, 41.75, 137.11°)
OKLaboklab(34.18% -0.0831 0.0638)
OKLCHoklch(34.18% 0.105 142.5)
XYZxyz(2.3344, 4.3561, 1.0049)
Luminance0.0436 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C450A #430A45
analogous
#29450A #0C450A #0A4525
triadic
#0C450A #0A0C45 #450A0C
tetradic
#0C450A #0A2945 #430A45 #45250A
square
#0C450A #0A2945 #430A45 #45250A
split-complementary
#0C450A #250A45 #450A29
monochromatic
#051B04 #051B04 #0C450A #157A12 #1FB019

Accessibility & contrast

On white

11.22
#0C450A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#0C450A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C450A
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C450A#FFFFFF#000000##FFFFFF
##0C450A1.0011.221.8711.22
#FFFFFF11.221.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473E01
Deuteranopia (green-blind)
#403911
Tritanopia (blue-blind)
#00433A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #0c450a;
/* rgb */ color: rgb(12, 69, 10);
/* oklch */ color: oklch(34.2% 0.105 142.5);
Tailwind
colors: {
  custom: {
    50: '#56794e',
    500: '#0c450a',
    950: '#000000',
  },
}
SCSS
$custom: #0c450a;
$custom-light: #56794e;
$custom-dark: #000000;
JSON
{
  "hex": "#0c450a",
  "rgb": {
    "r": 12,
    "g": 69,
    "b": 10
  },
  "hsl": {
    "h": 117.966,
    "s": 74.684,
    "l": 15.49
  },
  "oklch": {
    "l": 0.34183,
    "c": 0.10482,
    "h": 142.5
  },
  "luminance": 0.04356
}

Semantic roles & 50–950 ramp

primary
#0C450A
secondary
#7F2982
accent
#36F1EB
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030902
muted
#787B78

Preview Lab

Preview with #0C450A

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

Preview Lab → · Contrast checker → · Palette generator →

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