#0C451F#0C451F

#0C451F is a dark, moderate green. Relative luminance 0.044; OKLCH L 34.5% C 0.086 H 149.8°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#0C451F
RGBrgb(12, 69, 31)
HSLhsl(140, 70%, 16%)
HSVhsv(140, 83%, 27%)
CMYKcmyk(82.6%, 0%, 55.1%, 72.9%)
CIE-LABlab(25.05, -27.73, 17.85)
CIE-LCHlch(25.05, 32.98, 147.23°)
OKLaboklab(34.46% -0.0746 0.0434)
OKLCHoklch(34.46% 0.086 149.8)
XYZxyz(2.5269, 4.4330, 2.0185)
Luminance0.0443 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C451F #450C32
analogous
#15450C #0C451F #0C453B
triadic
#0C451F #1F0C45 #451F0C
tetradic
#0C451F #0C1545 #450C32 #453B0C
square
#0C451F #0C1545 #450C32 #453B0C
split-complementary
#0C451F #3B0C45 #450C15
monochromatic
#051A0C #051A0C #0C451F #157936 #1EAD4E

Accessibility & contrast

On white

11.13
#0C451F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#0C451F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C451F
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C451F#FFFFFF#000000##FFFFFF
##0C451F1.0011.131.8911.13
#FFFFFF11.131.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463E1C
Deuteranopia (green-blind)
#3F3A22
Tritanopia (blue-blind)
#00443C
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #0c451f;
/* rgb */ color: rgb(12, 69, 31);
/* oklch */ color: oklch(34.5% 0.086 149.8);
Tailwind
colors: {
  custom: {
    50: '#55795b',
    500: '#0c451f',
    950: '#000000',
  },
}
SCSS
$custom: #0c451f;
$custom-light: #55795b;
$custom-dark: #000000;
JSON
{
  "hex": "#0c451f",
  "rgb": {
    "r": 12,
    "g": 69,
    "b": 31
  },
  "hsl": {
    "h": 140,
    "s": 70.37,
    "l": 15.882
  },
  "oklch": {
    "l": 0.34459,
    "c": 0.08629,
    "h": 149.8
  },
  "luminance": 0.04433
}

Semantic roles & 50–950 ramp

primary
#0C451F
secondary
#812C65
accent
#3BB2ED
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030904
muted
#787B79

Preview Lab

Preview with #0C451F

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

Preview Lab → · Contrast checker → · Palette generator →

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