#0C451C#0C451C

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

Color values

HEX#0C451C
RGBrgb(12, 69, 28)
HSLhsl(137, 70%, 16%)
HSVhsv(137, 83%, 27%)
CMYKcmyk(82.6%, 0%, 59.4%, 72.9%)
CIE-LABlab(25.01, -28.28, 19.57)
CIE-LCHlch(25.01, 34.39, 145.32°)
OKLaboklab(34.41% -0.0761 0.0471)
OKLCHoklch(34.41% 0.089 148.3)
XYZxyz(2.4891, 4.4180, 1.8200)
Luminance0.0442 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C451C #450C35
analogous
#18450C #0C451C #0C4538
triadic
#0C451C #1C0C45 #451C0C
tetradic
#0C451C #0C1845 #450C35 #45380C
square
#0C451C #0C1845 #450C35 #45380C
split-complementary
#0C451C #380C45 #450C18
monochromatic
#051A0B #051A0B #0C451C #157931 #1EAD46

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0C451C#FFFFFF#000000##FFFFFF
##0C451C1.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)
#463E18
Deuteranopia (green-blind)
#3F391F
Tritanopia (blue-blind)
#00433C
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #0c451c;
/* rgb */ color: rgb(12, 69, 28);
/* oklch */ color: oklch(34.4% 0.089 148.3);
Tailwind
colors: {
  custom: {
    50: '#557959',
    500: '#0c451c',
    950: '#000000',
  },
}
SCSS
$custom: #0c451c;
$custom-light: #557959;
$custom-dark: #000000;
JSON
{
  "hex": "#0c451c",
  "rgb": {
    "r": 12,
    "g": 69,
    "b": 28
  },
  "hsl": {
    "h": 136.842,
    "s": 70.37,
    "l": 15.882
  },
  "oklch": {
    "l": 0.34405,
    "c": 0.08946,
    "h": 148.3
  },
  "luminance": 0.04418
}

Semantic roles & 50–950 ramp

primary
#0C451C
secondary
#812C69
accent
#3BBBED
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030903
muted
#787B78

Preview Lab

Preview with #0C451C

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

Preview Lab → · Contrast checker → · Palette generator →

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