#0C461C#0C461C

#0C461C is a dark, moderate green. Relative luminance 0.045; OKLCH L 34.7% C 0.091 H 148.1°. Best body text is #FFFFFF at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#0C461C
RGBrgb(12, 70, 28)
HSLhsl(137, 71%, 16%)
HSVhsv(137, 83%, 27%)
CMYKcmyk(82.9%, 0%, 60%, 72.5%)
CIE-LABlab(25.39, -28.69, 20.03)
CIE-LCHlch(25.39, 34.99, 145.08°)
OKLaboklab(34.72% -0.0772 0.0481)
OKLCHoklch(34.72% 0.091 148.1)
XYZxyz(2.5512, 4.5420, 1.8406)
Luminance0.0454 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C461C #460C36
analogous
#19460C #0C461C #0C4639
triadic
#0C461C #1C0C46 #461C0C
tetradic
#0C461C #0C1946 #460C36 #46390C
square
#0C461C #0C1946 #460C36 #46390C
split-complementary
#0C461C #390C46 #460C19
monochromatic
#041A0A #041A0A #0C461C #157A31 #1EAE46

Accessibility & contrast

On white

11.00
#0C461C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#0C461C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C461C
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C461C#FFFFFF#000000##FFFFFF
##0C461C1.0011.001.9111.00
#FFFFFF11.001.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473F18
Deuteranopia (green-blind)
#403A1F
Tritanopia (blue-blind)
#00443C
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #0c461c;
/* rgb */ color: rgb(12, 70, 28);
/* oklch */ color: oklch(34.7% 0.091 148.1);
Tailwind
colors: {
  custom: {
    50: '#567a59',
    500: '#0c461c',
    950: '#000000',
  },
}
SCSS
$custom: #0c461c;
$custom-light: #567a59;
$custom-dark: #000000;
JSON
{
  "hex": "#0c461c",
  "rgb": {
    "r": 12,
    "g": 70,
    "b": 28
  },
  "hsl": {
    "h": 136.552,
    "s": 70.732,
    "l": 16.078
  },
  "oklch": {
    "l": 0.3472,
    "c": 0.09095,
    "h": 148.1
  },
  "luminance": 0.04542
}

Semantic roles & 50–950 ramp

primary
#0C461C
secondary
#822C6A
accent
#3ABCED
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030903
muted
#787B78

Preview Lab

Preview with #0C461C

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

Preview Lab → · Contrast checker → · Palette generator →

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