#0C461F#0C461F

#0C461F is a dark, moderate green. Relative luminance 0.046; OKLCH L 34.8% C 0.088 H 149.6°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#0C461F
RGBrgb(12, 70, 31)
HSLhsl(140, 71%, 16%)
HSVhsv(140, 83%, 27%)
CMYKcmyk(82.9%, 0%, 55.7%, 72.5%)
CIE-LABlab(25.43, -28.15, 18.32)
CIE-LCHlch(25.43, 33.59, 146.94°)
OKLaboklab(34.77% -0.0757 0.0445)
OKLCHoklch(34.77% 0.088 149.6)
XYZxyz(2.5889, 4.5571, 2.0392)
Luminance0.0456 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C461F #460C33
analogous
#16460C #0C461F #0C463C
triadic
#0C461F #1F0C46 #461F0C
tetradic
#0C461F #0C1646 #460C33 #463C0C
square
#0C461F #0C1646 #460C33 #463C0C
split-complementary
#0C461F #3C0C46 #460C16
monochromatic
#041A0C #041A0C #0C461F #157A36 #1EAE4D

Accessibility & contrast

On white

10.99
#0C461F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C461F
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C461F#FFFFFF#000000##FFFFFF
##0C461F1.0010.991.9110.99
#FFFFFF10.991.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473F1C
Deuteranopia (green-blind)
#403A22
Tritanopia (blue-blind)
#00453D
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #0c461f;
/* rgb */ color: rgb(12, 70, 31);
/* oklch */ color: oklch(34.8% 0.088 149.6);
Tailwind
colors: {
  custom: {
    50: '#567a5b',
    500: '#0c461f',
    950: '#000000',
  },
}
SCSS
$custom: #0c461f;
$custom-light: #567a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#0c461f",
  "rgb": {
    "r": 12,
    "g": 70,
    "b": 31
  },
  "hsl": {
    "h": 139.655,
    "s": 70.732,
    "l": 16.078
  },
  "oklch": {
    "l": 0.34773,
    "c": 0.08781,
    "h": 149.6
  },
  "luminance": 0.04557
}

Semantic roles & 50–950 ramp

primary
#0C461F
secondary
#822C66
accent
#3AB3ED
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030904
muted
#787B79

Preview Lab

Preview with #0C461F

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

Preview Lab → · Contrast checker → · Palette generator →

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