#0C450B#0C450B

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

Color values

HEX#0C450B
RGBrgb(12, 69, 11)
HSLhsl(119, 73%, 16%)
HSVhsv(119, 84%, 27%)
CMYKcmyk(82.6%, 0%, 84.1%, 72.9%)
CIE-LABlab(24.82, -30.50, 28.02)
CIE-LCHlch(24.82, 41.42, 137.43°)
OKLaboklab(34.19% -0.0829 0.0632)
OKLCHoklch(34.19% 0.104 142.7)
XYZxyz(2.3400, 4.3583, 1.0345)
Luminance0.0436 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C450B #440B45
analogous
#29450B #0C450B #0B4527
triadic
#0C450B #0B0C45 #450B0C
tetradic
#0C450B #0B2945 #440B45 #45270B
square
#0C450B #0B2945 #440B45 #45270B
split-complementary
#0C450B #270B45 #450B29
monochromatic
#051A04 #051A04 #0C450B #157A13 #1EAF1C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0C450B#FFFFFF#000000##FFFFFF
##0C450B1.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)
#473E02
Deuteranopia (green-blind)
#403911
Tritanopia (blue-blind)
#00433A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #0c450b;
/* rgb */ color: rgb(12, 69, 11);
/* oklch */ color: oklch(34.2% 0.104 142.7);
Tailwind
colors: {
  custom: {
    50: '#56794e',
    500: '#0c450b',
    950: '#000000',
  },
}
SCSS
$custom: #0c450b;
$custom-light: #56794e;
$custom-dark: #000000;
JSON
{
  "hex": "#0c450b",
  "rgb": {
    "r": 12,
    "g": 69,
    "b": 11
  },
  "hsl": {
    "h": 118.966,
    "s": 72.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.34191,
    "c": 0.10418,
    "h": 142.7
  },
  "luminance": 0.04359
}

Semantic roles & 50–950 ramp

primary
#0C450B
secondary
#802A81
accent
#39EFEC
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030902
muted
#787B78

Preview Lab

Preview with #0C450B

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

Preview Lab → · Contrast checker → · Palette generator →

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