#0C451D#0C451D

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

Color values

HEX#0C451D
RGBrgb(12, 69, 29)
HSLhsl(138, 70%, 16%)
HSVhsv(138, 83%, 27%)
CMYKcmyk(82.6%, 0%, 58%, 72.9%)
CIE-LABlab(25.02, -28.10, 19.00)
CIE-LCHlch(25.02, 33.92, 145.93°)
OKLaboklab(34.42% -0.0756 0.0459)
OKLCHoklch(34.42% 0.088 148.7)
XYZxyz(2.5013, 4.4228, 1.8840)
Luminance0.0442 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C451D #450C34
analogous
#17450C #0C451D #0C4539
triadic
#0C451D #1D0C45 #451D0C
tetradic
#0C451D #0C1745 #450C34 #45390C
square
#0C451D #0C1745 #450C34 #45390C
split-complementary
#0C451D #390C45 #450C17
monochromatic
#051A0B #051A0B #0C451D #157933 #1EAD49

Accessibility & contrast

On white

11.14
#0C451D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C451D
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C451D#FFFFFF#000000##FFFFFF
##0C451D1.0011.141.8811.14
#FFFFFF11.141.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c451d;
/* rgb */ color: rgb(12, 69, 29);
/* oklch */ color: oklch(34.4% 0.088 148.7);
Tailwind
colors: {
  custom: {
    50: '#55795a',
    500: '#0c451d',
    950: '#000000',
  },
}
SCSS
$custom: #0c451d;
$custom-light: #55795a;
$custom-dark: #000000;
JSON
{
  "hex": "#0c451d",
  "rgb": {
    "r": 12,
    "g": 69,
    "b": 29
  },
  "hsl": {
    "h": 137.895,
    "s": 70.37,
    "l": 15.882
  },
  "oklch": {
    "l": 0.34422,
    "c": 0.08842,
    "h": 148.7
  },
  "luminance": 0.04423
}

Semantic roles & 50–950 ramp

primary
#0C451D
secondary
#812C68
accent
#3BB8ED
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030903
muted
#787B78

Preview Lab

Preview with #0C451D

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

Preview Lab → · Contrast checker → · Palette generator →

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